Skip to content

The test-strengthening loop: mutation survivors -> model-proposed inputs, the COBOL as oracle #4049

Closed as not planned

Description

@squid-protocol

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:

  1. 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);
  2. the model gets the survivor, the COBOL around the uncovered branch, and the case's current inputs; it proposes new inputs;
  3. the COBOL runs them; if they reach the branch, the case grows; the mutants are re-judged;
  4. 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).

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

  1. added
    enhancement
    testing
    legacy-modernization
    on Sep 30, 2026
  2. 59 remaining items

  3. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    #6243 merged: a partial slice of [c:610b125c] "CSUTLDTC re-judge (named first target; only the CEEDAYS paths the LE model documents). Check: mutation.py score before -> after, undocumented pictures refused (exit 98). (1 PR)"; left: Julian DDD covered; the other documented CEEDAYS paths are in #6232 (open); re-judge after both merge. (promoter-bot)

  4. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    #6232 merged: a partial slice of [c:610b125c] "CSUTLDTC re-judge (named first target; only the CEEDAYS paths the LE model documents). Check: mutation.py score 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)

  5. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    #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)

  6. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    #6232 merged: a partial slice of [c:51b9ee23] "TRNRPT batch survivors (from #5322's sibling list). (1 PR)"; left: not worked here. (promoter-bot)

  7. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claim:melekenhancementlegacy-modernizationneeds:crucibleneeds:dockerscope:coretesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions