Repository navigation
cases: EIBCALEN scenarios for userupd, report, tranlist (Part of #5401) - #5536
Conversation
Add commarea_length scenarios (userupd 185/186, report 146/153, tranlist enter-short-commarea at 160). Lengths that cut or blank a numeric field are not used: a blank PIC 9 is IBM-undefined and the oracle and port read it differently. Evidence re-recorded; pin test and mutation_testing.md note added. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5536 @ 9265663: 1 failed check(s) == det (failure) -- real |
…t of #5401) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (4af50d7) is not the one a maintainer labelled |
|
No description provided. |
Part of #5401.
Adds
commarea_length(EIBCALEN, register X23) scenarios to three CardDemo CICS cases, all proven GnuCOBOL against the Java port with evidence re-recorded:short-commarea-185,-186short-commarea-146,-153enter-short-commarea(160 of 218 bytes)Also pins them in
test_strengthen_loop.pyand notes the slice inmutation_testing.md. The mutation score is not re-run, so the kill count is unmeasured.What changed from the plan
The plan had many more lengths (userupd 160-187, report 4-130, tranlist pf7/pf8). Those failed the proof: a short COMMAREA leaves numeric fields blank, which is non-digit data in a PIC 9. IBM leaves that undefined, and the oracle (
<invalid ...>) and port (0/null) read it differently. Partial-field cuts (userupd 161/169/177/187, report 147/152) differ too. I removed them rather than loosen the comparator, and kept only lengths on field boundaries where no blank numeric is read.Sibling gaps
Gates:
pr_gates --fastand--ratchetspass; tree-wide guard tests plus test_evidence and test_strengthen_loop pass (269); ruff audit and format OK; time_ratchet check 0 over limit.audit_check.pycould not run its mypy leg (mypy not installed here); only a test and JSON changed.Lessons for agents
Short-COMMAREA scenarios expose blank PIC 9 fields and partial-field copies, which the oracle and port treat differently. Choose lengths on field boundaries at or past the last numeric field.
Checklist: partial [c:0614d1ee] -- billpay, tranadd, cardview, cardlist, COUSR02C line 168 and the survivors needing IBM-undefined non-digit data are not covered
🤖 Generated with Claude Code