Repository navigation
trial: a withdrawn trial reports "not measured", never a 0% first-try rate (Part of #8073) - #8318
Merged
Merged
Conversation
… rate (Part of #8073) Blind 1 was closed at its registered L2 endpoint (owner, 2026-11-11). Its proof phase never ran: trial-001 held all 28 eligible programs at `attempts: [], final: "open"` with no porting loop attempt on any of them. `close` had no way to say that. It forced every open program to `not-proven(<cause>)` from model|ticket|generator|engine|harness -- all of which assert we tried and failed -- and `_counted()` ("or its trial is closed") pulled all 28 into the denominator. Closing trial-001 as it stood would have published a 0/28 first-try proof rate for engine v2.12.0 against an engine that was never asked to try. - `close --withdrawn REASON`: an eligible program with no attempt becomes `withdrawn`. A program that does carry attempts still declares its cause, because its attempts are real measurements. - `_counted()` leaves a withdrawn program out of the denominator, and `headline()` reads "not measured (proof phase withdrawn)" rather than formatting a rate over zero. - The trial table and the per-estate page get a `withdrawn` column instead of filing those programs under `open`. - Validation: `withdrawn` needs a withdrawn, closed trial and a program with no attempt. trial-001 is closed as withdrawn, with the reason recorded in the ledger. The published page goes from "0/0 (-)" to "not measured (proof phase withdrawn)". Co-Authored-By: Claude Opus 5 <[email protected]>
1 of 12 tasks
squid-protocol
marked this pull request as draft
November 11, 2026 18:32
Owner
Author
|
Hold — do not merge as it stands. The Re-checked after opening this: the proof phase on this estate is obtainable, not lost.
So the registered headline (first-try proof rate) can still be measured here by running the porting loop at the frozen commits. Withdrawing would discard a measurement we can still take. Proposed change to this PR: keep the |
…rt of #8073) Reverts the trial-001 closure from the previous commit; keeps the `withdrawn` state itself. The proof phase on this estate is obtainable, not lost: all 28 eligible programs have an equivalence case (tests/equivalence/health-*), and the frozen system still resolves (engine 5e4575d, harness c58cb3a). Withdrawing would have discarded a measurement we can still take, so trial-001 stays open and the owner has asked for the proof phase to run. The `withdrawn` state stays, because the instrument genuinely could not express an unrun trial and that gap is worth closing regardless. It is now unused by the committed ledger. Side effect worth having: an OPEN trial with no attempts also stops publishing "0/0 (-)" and reads "not measured" instead, since a rate over a zero denominator is not a rate. Co-Authored-By: Claude Opus 5 <[email protected]>
squid-protocol
marked this pull request as ready for review
November 11, 2026 18:38
2 of 6 tasks
Contributor
|
No description provided. |
2 of 3 tasks
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.
Blind estate trial 1 was closed at its registered L2 endpoint by the owner on 2026-11-11. Its proof phase never ran:
trial-001held all 28 eligible programs at"attempts": [], "final": "open", with no porting-loop attempt on any of them, andclosed: null.The hazard
trial.py closehad no way to express "never attempted":close()forced every open program tonot-proven(<cause>), withcausedrawn frommodel|ticket|generator|engine|harness— all of which assert we tried and failed._counted()reads "a program counts toward the rate once its first attempt has a verdict, or its trial is closed", so closing pulled all 28 into the denominator.Closing
trial-001as it stood would have published a 0/28 first-try proof rate for engine v2.12.0 intofresh_estate_trials.mdand the SVG — a fabricated negative against an engine that was never asked to try. The instrument could not represent an unrun trial.The change
close --withdrawn REASON— an eligible program with no attempt becomeswithdrawn. A program that does carry attempts still declares its cause, because its attempts are real measurements._counted()leaves a withdrawn program out of the denominator entirely.headline()readsnot measured (proof phase withdrawn)instead of formatting a rate over a zero denominator (it previously printed0/0 (-)).withdrawncolumn, instead of filing those programs underopen.withdrawnrequires a withdrawn, closed trial and a program with no attempt; the trial-level reason must be a non-empty one-liner.trial-001is closed as withdrawn with its reason recorded in the ledger. The published headline goes from0/0 (-)tonot measured (proof phase withdrawn), and the trial row fromopen 28towithdrawn 28 | open 0.Checks
tests/cobol_mainframe/test_trials.py: 48 passed, 1 skipped, including three new regression tests covering the 0%-rate hazard, the attempted-program carve-out, and the validation rules.python tests/tools/trial.py check→trial ledger: valid, report up to date.ruff format --checkclean ontrial.py(it was clean before and stays clean); no newruff checkfindings beyondS101in the added test asserts, matching the 151 already in that file.Note
This does not rule out running the proof phase later. Case-writing was a designed prerequisite for it (inputs only, oracle-derived, nothing hand-tuned), so a proof measurement on this estate would still be legitimate. The withdrawal records that it has not happened, rather than asserting a result.
🤖 Generated with Claude Code