Repository navigation
cics-crucible: 17 equivalence cases for the evidence ladder (Part of #6072) - #7311
Conversation
Adds one equivalence case per crucible case the det port proves (17 of 42 authored), data only. LICENSE and NOTICE copied from the crucible. Unmatched-mode scenarios added where a fall-through EVALUATE arm was the only gap. Coverage ledger entries written by det_coverage_ledger.py update. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…in (Part of #6072) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #7311 @ 640ec22: 5 failed check(s) == det (failure) -- real == full-suite part 1/2 (failure) -- main == full-suite part 2/2 (failure) -- main == ground-truth (failure) -- real == ground-truth part 1/2 (failure) -- main |
…t short of measurements (Part of #6072) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (ceeb69b) is not the one a maintainer labelled |
|
No description provided. |
|
PR #7311 @ ceeb69b: 14 failed check(s) == db2 ${{ matrix.shard }} (cancelled) -- infra == det (failure) -- real == equivalence-e2e (failure) -- real == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (failure) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish-history (cancelled) -- infra == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
PR #7311 @ ceeb69b: 14 failed check(s) == db2 ${{ matrix.shard }} (cancelled) -- infra == det (failure) -- real == equivalence-e2e (failure) -- real == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == ground-truth (failure) -- infra == ground-truth part ${{ matrix.shard }} (cancelled) -- infra == ground-truth-warm (cancelled) -- infra == plan the suite parts (cancelled) -- infra == publish-history (cancelled) -- infra == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
No description provided. |
|
PR #7311 @ 02d2e6b: 3 failed check(s) == db2 ${{ matrix.shard }} (cancelled) -- infra == det (failure) -- real == shard ${{ matrix.shard }} (cancelled) -- infra |
|
No description provided. |
…re-measured (Part of #6072) CI had no cics-crucible checkout, so every cruc case died with "no checkout". A bare fetch now takes the crucible and clones it at the pin when it is absent; an existing checkout stays sync-pins.sh's. Every workflow that reads a case already calls bare fetch. test_gap1_option_audit gets the new estate's ABSENT_OK row (the corpus has no EXEC SQL). The 17 cruc ledgers are re-measured after the merge of main moved their fingerprints. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
CI shepherd: the head of this PR (4b4afee) is not the one a maintainer labelled |
|
No description provided. |
|
PR #7311 @ 4b4afee: 8 failed check(s) == db2 ${{ matrix.shard }} (cancelled) -- infra == det (failure) -- real == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == plan the suite parts (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
Waiting on an owner decision (asked privately, 2026-10-31). Nothing is needed from contributors; work resumes once it is answered. |
|
No description provided. |
1 similar comment
|
No description provided. |
Part of #6072 (cics-crucible estate).
What changed
The issue's 65 programs sat at L1 because no equivalence case existed for any of them. This PR authors cases:
tests/equivalence/cruc-<id>/{case.json,LICENSE,NOTICE}for the crucible cases the det port proves, plus theirdet_sweep_coverage/ledger entries.ladder_gaps.pyneeded no change (#7301 covered the corpus resolution). Scenarios restate the crucible's terminal steps; the oracle is GnuCOBOL plus the stub, not the crucible's hand-written logs. Added an unmatched-mode scenario (andCfor GTTERM) where a fall-through EVALUATE arm was the only gap.Rescue fixes (the code in this PR)
Two failures that a box run could not show, because the box has the sibling checkout and earlier rounds stopped before these lines:
ceeb69b7died withcics-crucible: no checkout at ....mainframe_corpus.py fetchnow clones an absent crucible at the pin, and a barefetchtakes it. All ten workflows that read cases already call barefetch, so no workflow changes.select([])stays the manifest alone. A checkout that already exists is left tosync-pins.sh. Cost per fetch: 0.55 s, 3.9 MB, measured.test_gap1_option_audit.pyhad no entry for the new estate.cics-crucibleis now inABSENT_OK. The two Db2 keys are absent because the corpus has no EXEC SQL (grep: 0 files)."No code in a ladder PR" is broken on purpose here: these cases cannot go green without the fetch, and this rescue may not open a second PR.
CI cost:
mainframe_corpus.pyis a det-sweep input outside any case, so this push plans one full sweep rather than the narrow 17. After merge, cruc case edits plan narrow as usual.Before / after (det-only sweep, all fault runs; before = L1, no case)
Evidence levels, not "proven": 17 cases run and the det port is equal (L2); 9 reach every live paragraph (L3 candidates); 7 also take every net branch outcome (L4 candidates, none relies on an infeasible outcome). 42 cases were authored, 17 prove; 25 are not committed (a failing det-sweep case with no baseline would fail CI).
File-cap exception: the files are generated case data (one case.json per case) and verbatim copies of the crucible's LICENSE and NOTICE, none hand-written logic; a case without its licence files would not be shippable.
Also added
tests/equivalence/estate_options/cics-crucible.json(copy of the async estate's file: IBM-default options, every valueassumed, none read from the corpus, which ships no build JCL) andcics-crucibleto the burned set intest_estate_options.py:test_every_case_corpus_has_an_options_filefails without it.det_sweep_durations.jsongets the 17 cases' seconds so the shard plan is not short of measurements.Remaining slices
transid; a second transid needs its map/screen declared) or reviewed infeasible outcomes; not attempted here.Sibling gaps (for #6271; harness/translator, not code here)
Gates
At this head:
pr_gates --fast9/9, time ratchet pass. All 154 test files that read cases, ledgers, estate options or corpora, with the crucible hidden (CICS_CRUCIBLE_PATH=/nonexistent): 5581 passed, 0 failed (slow-marked tests deselected). One case (cruc-hc-readq-td) proved on a checkout made only byfetch, against the real pin. All 17 ledgers re-measured after merging main.Targeted tests (ladder_gaps, ladder_refresh, det_coverage_ledger, equivalence case tests): pass. Det sweep over the 17 committed cases: 17/17. No engine change, so no golden bless.
Facts checked
Re-measured at origin/main: no cruc case existed, all 65 at L1. Corpus resolution by #7301 confirmed working.
Lessons for agents
CICS_CRUCIBLE_PATH=/nonexistent, or a pathfetchcreates) before calling it done.git rev-parse HEADin an unborn repo printsHEADand exits non-zero, so acheck=Falsecaller sees a truthy string. Use--verify --quiet.tests/equivalence/estate_options/also needs a row inABSENT_OKintest_gap1_option_audit.py.🤖 Generated with Claude Code