Repository navigation
Phase G G3 — calibration pipeline consistency audit - #767
Merged
Merged
Conversation
CLI (openamp-foundry calibration-audit) that checks consistency across calibration pipeline artifacts — intake report, gate verdict, engine proposal, and recalibration report. Runs 12 consistency checks with machine-readable JSON and human-readable Markdown output. - schemas/calibration_audit.schema.json - src/openamp_foundry/calibration/audit.py - CLI registration and dispatch in main.py and reports.py - make calibration-audit and make calibration-audit-example targets - 18 pytest tests - Docs: METRICS_CURRENT.md, ROADMAP.md, test baseline
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.
Change
Adds
openamp-foundry calibration-auditCLI that checks consistency across all calibration pipeline artifacts (intake report, gate verdict, engine proposal, recalibration report).Why
Phase G G3:
make calibration-audit— checks intake/gate/engine/report consistency. A human reviewer inspecting the calibration pipeline output needs to verify that all stages agree on candidate counts, gate verdicts, weight proposals, and timestamps. Previously there was no automated way to do this.What
schemas/calibration_audit.schema.json— Draft 2020-12 JSON Schema for audit report outputsrc/openamp_foundry/calibration/audit.py—run_calibration_audit()with 12 consistency checks across the 4 artifactsopenamp-foundry calibration-auditwith--intake-report,--gate-verdict,--engine-proposal,--recalibration-report,--out-json,--out-mdmake calibration-audit-example(synthetic example) andmake calibration-audit(variable-based)Evidence
Safety impact
None. This is a read-only consistency check that does not modify any pipeline state, scoring weights, or candidate selection.
Proof level
Level 0 (computational infrastructure). No biological claims.
Limitations
Human review needed
No.