Repository navigation
fix(contracts): accept recovery-lineage fields on corpora specs - #410
Merged
Merged
Conversation
khm-latn.yaml (run-081 recovery record, 2026-10-29) records sources[].provenance, raw file sha256s and recovery_run — provenance the ledger must keep. The strict schema forbade the extra keys, so contract validation has been red on main since the record landed. Add the three fields as optional, typed; extra=forbid stays for everything else.
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.
khm-latn.yaml (run-081 recovery record, 2026-10-29) records sources[].provenance, raw file sha256s and recovery_run — provenance the ledger must keep. The strict schema forbade the extra keys, so test_shipped_contracts_validate (contracts + pytest 3.10/3.11/3.12) has been red on main since the record landed. Adds the three fields as optional typed fields; extra=forbid stays for everything else. Local: test_pipeline_contracts.py 12/12 green; full suite green except two local-env collection errors (huggingface-hub 2.3.0 vs transformers <1.0 pin, unrelated).