You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add feature to the training_use enum in schemas/pr_trajectory.schema.json.
Why
Schema v0 has no feature value, so feature PRs are labeled other — flagged in
STATUS.md ("Remaining gaps") since the myelin extract. Six committed records carry training_use: "other" with a feature card bucket today:
schemas/pr_trajectory.schema.json — add feature to the enum (backward-compatible;
existing other records still validate)
scripts/lib/normalize.py — FEATURE_BUCKET_TO_TRAINING["feature"] maps to feature;
drop the now-redundant corinth TRAINING_USE_OVERRIDE entries that forced other
tests/ — flip test_feature_bucket_maps_to_other_training_use to assert the new mapping
Regenerate all 4 JSONL + manifests. This also absorbs the pre-existing drift found
during refactor: make the repo parallel-safe for concurrent data extracts #37: corinth-canal-v0 and limen-axon-encoder-v0 no longer reproduce from their
raw records (normalizer improved after their last regeneration). Drift absorption and
the schema flip land as separate commits for reviewability.
Add scripts/build_manifest.py so manifests are generated, not hand-authored —
needed here to regenerate them verifiably, and by every v0.6 extract after.
Update the schema note in docs/source-repos/_index.md and the card notes strings
that mention the feature→other mapping; refresh the STATUS.md generated block.
Acceptance criteria
The only JSONL changes are (a) the documented drift absorption in corinth/limen and
(b) the six other → feature flips.
build_manifest.py reproduces every manifest's structure; sha256/bytes match the
regenerated JSONL.
All tests green; validate_jsonl.py --strict-policy and build_status.py --check clean.
Blocks the v0.6 extract fan-out (#24/#25/#26/#27) — labeling must be consistent before
parallel extracts start.
Goal
Add
featureto thetraining_useenum inschemas/pr_trajectory.schema.json.Why
Schema v0 has no
featurevalue, so feature PRs are labeledother— flagged inSTATUS.md ("Remaining gaps") since the myelin extract. Six committed records carry
training_use: "other"with afeaturecard bucket today:Scope
schemas/pr_trajectory.schema.json— addfeatureto the enum (backward-compatible;existing
otherrecords still validate)scripts/lib/normalize.py—FEATURE_BUCKET_TO_TRAINING["feature"]maps tofeature;drop the now-redundant corinth
TRAINING_USE_OVERRIDEentries that forcedothertests/— fliptest_feature_bucket_maps_to_other_training_useto assert the new mappingduring refactor: make the repo parallel-safe for concurrent data extracts #37: corinth-canal-v0 and limen-axon-encoder-v0 no longer reproduce from their
raw records (normalizer improved after their last regeneration). Drift absorption and
the schema flip land as separate commits for reviewability.
scripts/build_manifest.pyso manifests are generated, not hand-authored —needed here to regenerate them verifiably, and by every v0.6 extract after.
docs/source-repos/_index.mdand the cardnotesstringsthat mention the feature→other mapping; refresh the STATUS.md generated block.
Acceptance criteria
(b) the six
other→featureflips.build_manifest.pyreproduces every manifest's structure; sha256/bytes match theregenerated JSONL.
validate_jsonl.py --strict-policyandbuild_status.py --checkclean.Blocks the v0.6 extract fan-out (#24/#25/#26/#27) — labeling must be consistent before
parallel extracts start.