Repository navigation
Description
What. A second correction loop: mutation survivors -> new test inputs, beside the existing port loop (proof failure -> feedback -> new port).
Why it is safe to automate: the model proposes only inputs -- a record, a CICS scenario, a CALL's arguments, a fault plan. The expected result always comes from running the COBOL (the oracle), so the model cannot write a wrong expectation. A useless proposal costs time; a proposal that cannot reach the path is itself information (unreachable, or dead code).
Loop:
- mutation.py lists survivors with their line, and the COBOL paragraph/branch they correspond to (via CICS crucible: COBOL paragraph/branch coverage per program, so a proven port says how much it proves #4023 coverage);
- the model gets the survivor, the COBOL around the uncovered branch, and the case's current inputs; it proposes new inputs;
- the COBOL runs them; if they reach the branch, the case grows; the mutants are re-judged;
- stop at a target mutation score or when proposals stop killing survivors.
First targets: CSUTLDTC (4/10 branches; the CEEDAYS error paths -- only where the LE model documents the behaviour), COMEN01C (options and user types no scenario picks).
Guard: new inputs must stay inside what the oracle models (the CEEDAYS model refuses undocumented pictures and months: exit 98), and every added input carries its why.
Part of epic #4055 (the product is the proof).
🤖 Generated with Claude Code
Remaining slices (as of 2026-10-18)
Done so far: 7 merged PRs (#4071, #4076, #4077, #4079, #4289, #5322, #5387).
- Re-judge the menu-family survivors after equivalence: menu-family survivor scenarios (Part of #4049) #5387 (adminmenu, useradd, userdel, tranview). Check: score before -> after,
evidence.py mutation, mutation table regenerated. (1 PR) (mutation: carddemo-tranview-generated gets the survivor scenarios, 9 case gaps judged, 8 killed (Part of #4049) #5660) - Signon (COSGN00C) survivor scenarios: EIBCALEN 0 COMMAREA, SYSIDI sent, credentials containing 'z' (needs an EIBCALEN scenario key in
equivalence_cics.py). Check: case re-proves, plus atest_strengthen_loop.pypin. (1 PR) (equivalence: signon z / Z credentials scenarios (Part of #4049) #6025) - Userlist (COUSR00C) scenarios: short last page, PF7 at top, selection flag with blank id, ITEMERR (resp 27), ENDBR abend. (1 PR) (userlist: failed-XCTL scenarios at all three COUSR00C XCTL sites (Part of #4049) #6165)
- CBSA updacc: triage and strengthen the 38 untriaged case-gap survivors. (1 PR) (UPDACC: single-NULL seed rows kill the -305 test's case-gap survivors (Part of #4049) #6217)
- CSUTLDTC re-judge (named first target; only the CEEDAYS paths the LE model documents). Check:
mutation.pyscore before -> after, undocumented pictures refused (exit 98). (1 PR) - GenApp survivors (LGAPVS01 51, LGICDB01 81, LGUPDB01 62): one PR per program, checked by a re-judged score. (3+ PRs)
- TRNRPT batch survivors (from equivalence: case-gap scenarios for COMEN01C and COACTVWC (Part of #4049) #5322's sibling list). (1 PR)
- (verify) A stop rule ("target score, or proposals stop killing survivors") recorded in
docs/language_status/mutation_testing.md. (fold into a slice above) (mutation: COUSR00C survivor triage (0 case gaps), 8 scenarios, 2 port defects fixed (Part of #4049) #6075)
Done when: for CSUTLDTC, COMEN01C and the burned-estate ports with case-gap survivors, the loop ran to a target score or until proposals stopped killing survivors, each stop recorded with its reason.
Owner decision needed: (a) COMEN01C non-digit option text (1!/!1, IBM-undefined): refuse by name or follow cobc? (raised in equivalence: case-gap scenarios for COMEN01C and COACTVWC (Part of #4049) #5322); (b) a target mutation score per port, and what number?
Out of scope here: COACTVWC blank-SSN port fix; Crucible ports: close the 34 mutation case gaps and mutate the 4 PC* ports (after #4439) #4443 crucible case gaps.
Drafted 2026-10-18 by a Sonnet triage pass from this issue, its comments and the bodies of its "Part of" PRs; (verify) items were not checked against main. Tick boxes as slices merge; edit freely.
Activity
The test-strengthening loop (#4049): uncovered branches and mutation …
CEEDAYS model: refuse a date with trailing blanks -- IBM does not set…
Test-strengthening loop: batch cases -- new records built from an exi…
Strengthened CardDemo cases: POSTTRAN and INTCALC take the #4049 loop…
mutation: 20 ports scored and every survivor triaged (#4047, #4024)
Mutation scores for the proven ports: CardDemo + CICS crucible, every…
test(cics-crucible): expect the derived COMMAREA in its layout's fiel…
Strengthen the case-gap mutation survivors: survivor-driven loop, CIC…
Tests: the CardDemo INTCALC / POSTTRAN end-to-end pins follow the cases
WIP: Generator: no entry points or handlers with no COBOL behaviour b…
det ports: re-prove carddemo-menu + 3 mortgage ports; det sweep in CI (…
59 remaining items
test_proof_reach: CORPT00C / COTRN02C survivors skipped until re-run,…
CSUTLDTC Julian YYYYDDD: DDD token in the port, 18 calls, mutation re…
squid-protocol commentedon Oct 23, 2026
#6243 merged: a partial slice of [c:610b125c] "CSUTLDTC re-judge (named first target; only the CEEDAYS paths the LE model documents). Check:
mutation.pyscore before -> after, undocumented pictures refused (exit 98). (1 PR)"; left: JulianDDDcovered; the other documented CEEDAYS paths are in #6232 (open); re-judge after both merge. (promoter-bot)Fix #6232 reds: dateutil picture test follows the documented CEEDAYS …
det mutation: carddemo-tranadd ledger re-run; 42 stated-equivalent/un…
Merge origin/main: take main's CSUTLDTC re-judge (#6243) over this br…
det mutation: carddemo-tranadd ledger re-run, 42 wrong survivor claim…
squid-protocol commentedon Oct 23, 2026
#6232 merged: a partial slice of [c:610b125c] "CSUTLDTC re-judge (named first target; only the CEEDAYS paths the LE model documents). Check:
mutation.pyscore before -> after, undocumented pictures refused (exit 98). (1 PR)"; left: the CSUTLDTC re-judge itself landed on main as #6243 (YYYYDDD, 18 calls, 197/260); this PR no longer carries a competing one. What is left: nothing from this PR. (promoter-bot)squid-protocol commentedon Oct 23, 2026
#6232 merged: a partial slice of [c:e49b2791] "GenApp survivors (LGAPVS01 51, LGICDB01 81, LGUPDB01 62): one PR per program, checked by a re-judged score. (3+ PRs)"; left: not worked here. (promoter-bot)
squid-protocol commentedon Oct 23, 2026
#6232 merged: a partial slice of [c:51b9ee23] "TRNRPT batch survivors (from #5322's sibling list). (1 PR)"; left: not worked here. (promoter-bot)
squid-protocol commentedon Oct 23, 2026
Owner decision 2026-10-23: L5 mutation work is sunset -- the existing det_mutation ledgers (28 cases, 9,416 judged mutants; 17 programs at L4 with every survivor accounted for) stand as the proof of principle. Effort moves to the L1->L4 ladder (#6072). Hosts: please drop claims and don't pick this up. The one remaining L5 item is #5862 (ledger freshness tied to the program's own port bytes, so the existing results show as L5); open L5 PRs that already passed review may still merge.
mutation: re-record CORPT00C + COTRN02C against the new dateutil port…
test_porting_loop_tooling: accept carddemo-dateutil's recorded #4049 …
CI: classifier-gated EQUIVALENCE_E2E shards over tests/cobol_mainfram…