Repository navigation
Record oracle compile status per attempt in port_runner and trial.py (Closes #8325) - #8326
Merged
Merged
Conversation
…loses #8325) port_runner prove logs oracle = compiled | compile-failed | unknown on each proof event; trial.py carries it onto the attempt, validates it, shows an oracle column, and never books a compile-failed attempt as a model failure (Amendment 4 precondition). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
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.
Closes #8325
What
Amendment 4 of the estate4 pre-registration (#8322) needs a per-program record of whether the oracle (
cobc) compiled the reference, so an oracle failure is never booked as a port failure.port_runner provelogsoracleon eachproven/proof-failedevent:compile-failed(report hascobol_compile_failed),compiled(report without it),unknown(no report).trial.pycarriesoracleonto the attempt (key only when the event has it, so recorded attempts never change), validates it, adds anoraclecolumn to the trial page and the programs table, and a compile-failed attempt gets nomodelcause (final readsproven@N(oracle), status "couldn't run").dead_key_auditallowlist entry: the key is written bytests/tools/equivalence.py, outsidegitgalaxy/.trial.py report --write.Class
Every per-program attempt record in both runs (port_runner events, trial ledger attempts) and the page/report that show them. Sibling gaps: see report.
File-cap exception: 5 hand-written files plus the two generated trial pages (
trial.py report --write) that test_trials requires current.Tests / gates
test_port_runner.pyandtest_trials.pypass;audit_check.pyclean;ruff format --checkclean. No parsing logic touched, no golden bless.Lessons for agents
port_runner prove --commandis.format()ted: a JSON literal with braces raises KeyError, so have the prover script write it.🤖 Generated with Claude Code