Skip to content

mutation: score carddemo-billpay-generated; state the TRAN-ID keys, balances and fault run its survivors need (Part of #4506) - #5884

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4506-20261021T1538Z
Oct 21, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4506-20261021T1538Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Scores carddemo-billpay-generated (COBIL00C, burned CardDemo) for #4506 and states the inputs its survivors needed.

What changed

  • 150 of 530 mutants sampled (seed 0, fast mode): 98 killed on the random draw (72%), 104 after the stated scenarios (104/136 raw, 104/104 adjusted). 32 survivors triaged: 17 equivalent, 15 unreachable, 0 case_gap, 0 harness_gap, 0 untriaged. 5 survivors were judged again with mutation.py run --only after the first 8 scenarios, 1 more after the ninth.
  • case.json: nine stated scenarios (pay-lowercase-y, zero-balance-confirm, pay-large-balance, pay-near-maximum-balance, account-id-one-digit-padded, account-id-embedded-blank, account-id-with-letter, endbr-invalid-request fault run, pf3-blank-from-program), and the generated TRAN-ID values. Proven on 59 scenarios, 44/48 branches (was 50 scenarios, 41/48).
  • Regenerated: evidence.json (new record), det coverage ledger entry, mutation_scores.json, mutation_testing.md.
  • test_mutation_scores.py: the billpay test (scores triaged, stated scenarios named, TRAN-ID numeric).

Class table (survivor shapes)

Shape Verdict Count
Facade helpers (handleLink, lastLinkBytes, browse*Transact) unreachable 4
Protected output fields copied by received() unreachable 7
Screen / commarea default widths, scale-3 stores, fit padding, rounding mode, error-colour reset equivalent 17
Guards the reachable inputs never trip (first-entry stopped, store of a negative, found-after-READPREV, ENDBR NOTFND) unreachable 4

Deviations from the plan

  • The report-generated fold-in was not done (needs subprograms).
  • TRAN-ID must be all numeric: the oracle sorts ASCII, the port cp037, so a mixed key gave 11 differing scenarios.
  • The ENDBR fault is INVREQ, not IOERR: the port maps every non-13 error to INVREQ (AEIP) while the oracle abends IOERR with ????.

Sibling gaps

  • ENDBR with IOERR: port and oracle disagree on the abend code (harness/port difference, not proven here).
  • The other *-generated cases without a score (tranview-generated, report-generated and the rest).
  • Per-scenario datasets are not possible for generated data, so a balance edge needs its own account id in the generated list.

Gates

pr_gates --fast 7/7, --ratchets 8/8, audit_check clear, test_mutation_scores, test_evidence, test_proof_reach, test_equivalence_inputs, test_equivalence_bms_inputs_4506, test_det_coverage_ledger pass.

Cross-repo

None.

Lessons for agents

  • mutation.py run --record and mutation_scores.py retriage rewrite carddemo-tranlist/evidence.json: git checkout it before staging.
  • A generated dataset cannot be overridden per scenario; edge values go in the values list, which cycles by record index.
  • Adding scenarios makes the det coverage ledger stale: proof_sweep.py --det-only --cases X --no-ratchet then det_coverage_ledger.py update.

Checklist: partial [c:868a42e0] -- billpay-generated scored; tranview-generated and the remaining generated cases still unscored

🤖 Generated with Claude Code

…alances and fault run its survivors need (Part of #4506)

150 of 530 mutants sampled: 98 killed on the random draw, 104 after nine stated scenarios
(lowercase y, zero / large / near-maximum balance, a short, an embedded-blank and a lettered
account id, an ENDBR fault run, PF3 with a blank from-program). The 32 survivors are triaged
(17 equivalent, 15 unreachable). TRAN-ID values are all numeric: the oracle sorts ASCII and the
port cp037, so a mixed key orders differently.

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 21, 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 21, 2026 16:14
@squid-protocol
squid-protocol enabled auto-merge (squash) October 21, 2026 16:18
@squid-protocol
squid-protocol merged commit 471f140 into main Oct 21, 2026
53 checks passed
@squid-protocol
squid-protocol deleted the churn/4506-20261021T1538Z branch October 21, 2026 16:47
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant