Skip to content

mutation: COBIL00C to 0 open, COADM01C 13 -> 7 (Part of #4628) - #5787

Merged
squid-protocol merged 3 commits into
mainfrom
churn/4628-20261020T1950Z
Oct 20, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/4628-20261020T1950Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4628 (Evidence L5: mutation testing on det ports), slice 3.

Checklist: partial [c:ef3eb3c4] -- COTRN02C (35 open survivors) still to do

Four new scenarios in the two burned CardDemo cases kill four det-port mutants, and every other unaccounted survivor of COBIL00C is stated with a per-mutant reason. Same seed (0, 150 mutants), ledger re-run on the det port.

Program Open before Open now Raw score
COBIL00C (carddemo-billpay) 11 0 63% -> 65%
COADM01C (carddemo-adminmenu) 13 7 53% -> 54%
Class Count Programs
killed by a new scenario 4 adminmenu pf4-other-key, invalid-key-unread-option-field; billpay decline-lowercase-n, full-commarea-carried
equivalent (dead store, unobserved argument, bounded reference) 10 billpay 7, adminmenu 3
unreachable 3 billpay 2, adminmenu 1
still open 7 adminmenu: 6 short-COMMAREA conversion (case-gap), 1 RETURN COMMAREA length (harness-gap)

The 6 short-COMMAREA survivors need a commarea_length scenario that cuts a field COADM01C reads. I wrote three (146, 153, 159) and removed them: the committed model port reads a DTO holding the whole record and cannot see the cut tail (register X23), so they fail evidence.py prove. They need a det-port-only scenario flag or a model-port fix; I did not loosen any proof.

Gates: pr_gates --fast 6/6, --ratchets 8/8, evidence.py prove both cases proven (32 scenarios each), det_mutation.py check, test_det_mutation.py, test_evidence.py, the EIBCALEN guard, det_coverage_ledger.py update/check. audit_check.py could not run (no local mypy); pr_gates --fast ran the audits. No engine change, no golden bless.

Lessons for agents

  • det_mutation.py run writes its ledger only at the end; any case.json edit makes the ledger stale.
  • det_mutation.py state leaves killed rows in the survivors list; drop them by hand or check warns.
  • A scenario that exposes a cut COMMAREA tail passes the det port and fails the model port (X23); prove before running the mutation re-run.
  • case.json is json.dumps(d, indent=1, ensure_ascii=False); receive field names carry the I suffix (OPTION is invalid, OPTIONI is right).

🤖 Generated with Claude Code

squid-protocol and others added 3 commits October 20, 2026 17:51
…rvivors triaged (Part of #4628)

New scenarios kill four det-port mutants (pf4-other-key, invalid-key-unread-option-field, decline-lowercase-n, full-commarea-carried). COBIL00C's nine remaining survivors are stated equivalent (7) or unreachable (2); COADM01C's four stated, seven stay open (six short-COMMAREA case-gaps the model port cannot take, X23; one harness-gap).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 20, 2026 22:12
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 22:17
@squid-protocol squid-protocol added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 20, 2026
@squid-protocol
squid-protocol merged commit 3d7f37e into main Oct 20, 2026
58 of 59 checks passed
@squid-protocol
squid-protocol deleted the churn/4628-20261020T1950Z branch October 20, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant