Chore/merge recipes into examples - #21
Merged
Merged
Conversation
…, 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.