Repository navigation
mutation: score carddemo-acctview-generated; state the xref card numbers (Part of #4506) - #5852
Conversation
…ers (Part of #4506) The generated xref card number was random text, so alnumToUnsigned always returned 0 and its mutants were invisible. A stated list (digits, letters, blanks, signs, comma, trailing letter) plus seven card-number view scenarios make the parser observable. 74 survivors of the 150 sample: 46 killed after the case change; the 28 left are triaged (1 case_gap, 16 equivalent, 11 unreachable). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #5852 @ 67ff05c: 1 failed check(s) == det (failure) -- real |
…scenarios, 31/32 paragraphs, 58/69 branches) (Part of #4506) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (444b615) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #5852 @ 444b615: 1 failed check(s) == ground-truth part 4/4 (failure) -- real |
…ection (Part of #4506) test_proof_reach reads the evidence record of every port in mutation_scores.json; the newly scored acctview-generated case had none (tranview-generated got its record in #5394). Written by `evidence.py prove` then `evidence.py mutation`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No description provided. |
2 similar comments
|
No description provided. |
|
No description provided. |
What
carddemo-acctview-generated(COACTVWC, the@bms-generated screen case) had no committed mutation score. The tranview slice of this checklist item was already scored, so this PR does acctview.alnumToUnsigned(MOVE X(16) TO 9(16), libcob semantics, COACTVWC port: Long.parseLong on a text field COBOL MOVEs into a numeric one throws on non-digit data #4491) always returned 0 and its mutants could not be seen.XREF-CARD-NUMis now a stated list of 30 distinct 16-char values: clean digits, letters, blanks, leading and trailing signs, a comma, and a trailing letter. Sevencard-number-*scenarios view an account that carries each shape. Theirwhystarts "Equivalence harness: BMS maps support #4506".CDEMO-PGM-CONTEXT), 16 equivalent (width constants,inputErrorset after its only read, etc.), 11 unreachable (facade LINK helper, abend path, the over-16-digit skip loop and.branch of an X(16) field).Class
Class:
@bms-generated screen cases (*-generated) with no committed mutation score inmutation_scores.json.Only the acctview row shares this PR's mechanism (a stated input list plus a re-judge); the others each need their own run, so they are not folded in.
Det coverage ledger
tests/equivalence/det_sweep_coverage/carddemo-acctview-generated.jsonis regenerated (det_coverage_ledger.py updateon a det-only sweep of the case): 63 scenarios, 31/32 paragraphs, 58/69 branches. The newcard-number-*scenarios had made the committed ledger (24/30/42) stale, which failed the det job.Files
Hand-written:
tests/equivalence/carddemo-acctview-generated/case.json,tests/cobol_mainframe/test_mutation_scores.py(one test). Regenerated: the det coverage ledger above, the new evidence recordtests/equivalence/carddemo-acctview-generated/evidence.json(evidence.py prove+evidence.py mutation;test_proof_reachreads the record of every mutation-scored port),docs/language_status/mutation_scores.json, the table indocs/language_status/mutation_testing.md(one row plus totals).Gates
pr_gates.py --fast: 7/7 pass.test_mutation_scores.py,test_equivalence_bms_inputs_4506.py,test_equivalence_inputs.py: pass.audit_check.pystandalone could not run (nomypyon PATH); the audits gate insidepr_gatespassed. No engine or parsing change, so no golden bless.Lessons for agents
Generated xref rows that share an account collide in the AIX: it returns the first row in key order, so a special card number can be shadowed by another row on the same account. Check the generated file's account for each special row.
mutation_scores.py buildalso refreshedtests/equivalence/carddemo-tranlist/evidence.jsonwith unrelated numbers; I reverted that file.A newly mutation-scored case needs a committed
evidence.json(evidence.py prove <case>, thenevidence.py mutation), ortest_proof_reachfails with FileNotFoundError on ground-truth part 4.evidence.py mutationalso rewritescarddemo-tranlist/evidence.json; revert it.Sibling gaps
Cross-repo
None.
Checklist: partial [c:868a42e0] -- the mortgage-mlist, signon, billpay and report
*-generatedcases are still unscored; the SEND MAP cursor compare gap (#5387) is untouched.🤖 Generated with Claude Code