Skip to content

Evidence L5: mutation testing on det ports, survivors accounted for (#4601) #4628

Closed as not planned

Description

@squid-protocol

Why. Owner decision on #4601 (2026-10-07): the evidence ladder's L5 is "L4 + every surviving mutant accounted for". Branch coverage says every path ran; mutation says whether the scenarios would catch a wrong translation. Existing #4047 scores (model / hand ports) range 43-91%; COMEN01C, now at the strict branch bar, scores 63%.

What.

  1. Run tests/tools/mutation.py on det ports (today it mutates the committed model / hand ports): the det port of an equivalence case, fast mode, sampled, same harness and operators. Record per det port in docs/language_status/mutation_scores.json (or a sibling ledger keyed like det_sweep_coverage.json: fingerprints of port, case, corpus, harness, oracle; stale -> unknown).
  2. A reviewed survivor list (the proof_blockers: the strict branch bar counts statically dead outcomes -- 13 CardDemo programs cannot reach it (#4270) #4602 pattern): each surviving mutant is either killed by a strengthened scenario or stated equivalent / unreachable with a reason; a run that kills a stated-equivalent mutant fails (the claim was wrong). Entries are proposals for the owner to review in the PR.
  3. Start with the 13 programs at the strict bar (CardDemo: COADM01C COBIL00C COCRDSLC COTRN00C COTRN01C COTRN02C COUSR00C COUSR01C COUSR02C COUSR03C, + COSGN00C; CBSA ABNDPROC, UPDCUST).
  4. Expose a function the evidence report (tests/tools/evidence_report.py, tooling: purchaser-facing evidence report (#4601) #4603) calls for L5; oracle backing becomes a column there.

Done when. Det-port mutation runs for the 13; per-program score and survivor status are committed; the evidence report shows L5 and the raw score; numbers before -> after in the PR.

Part of #4270. Related: #4047, #4601, #4602, #4603.

Remaining slices (as of 2026-10-18)

Done so far: 0 merged; #5146 (slice 1 of 6: tooling and the L5 hook) is open with full-suite / full-suite part 3/3 red.

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
    on Oct 7, 2026
  2. 122 remaining items

  3. squid-protocol commented on Nov 5, 2026

    @squid-protocol
    OwnerAuthor

    Handoff from #7636 (closed, partly done, 2026-11-05):

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

    enhancementneeds:corpusneeds:dockerscope:coretesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions