Skip to content

Chore/merge recipes into examples - #21

Merged
CanGeng merged 2 commits into
masterfrom
chore/merge-recipes-into-examples
Jun 27, 2026
Merged

Chore/merge recipes into examples#21
CanGeng merged 2 commits into
masterfrom
chore/merge-recipes-into-examples

Conversation

@CanGeng

@CanGeng CanGeng commented Jun 27, 2026

Copy link
Copy Markdown
Owner

No description provided.

CanGeng added 2 commits June 27, 2026 09:38
…, behavior-preserving)

Unify the two split entry-point trees (root recipes/*.yaml + examples/*.py)
under examples/references/: YAML recipes → examples/references/recipes/,
programmatic API scripts → examples/references/. Keeps the "recipe" concept
word (CLI/registry/test-group names unchanged); only file paths move.

- git mv: 29 recipes + 23 example scripts + README (history preserved).
- Path refs updated: recipes/ → examples/references/recipes/ across scripts,
  docs (concepts/extending/operations), production docstrings + CLI --help
  epilogs, scripts/rt.sh, tests (string + Path-segment forms); shared modules
  examples/{lab_components,vision_components,online_distill} → references/...
  in user_modules: and the one dotted test import.
- Untouched: docs/changelog/** (point-in-time history), the OOM-report test's
  arbitrary fake config path.

Shared lab_components.py (used by 5 recipes) sits flat in references/ — why a
per-example subdir layout was rejected (it can't live in 5 subdirs).

Verified: pytest 4491 passed/0 failed, ruff clean, mypy 575 files 0 errors,
CLI print-config on the new canonical path, zero residual recipes/ refs.

CanGeng
…p version

PR1 of 2. Pure relocation, no runtime behavior change. nanoGPT/MiniMind
localized ports land at examples/ top level in PR2.

CanGeng
@CanGeng
CanGeng merged commit 064644d into master Jun 27, 2026
3 checks passed
@CanGeng
CanGeng deleted the chore/merge-recipes-into-examples branch June 27, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant