Repository navigation
equivalence: map attribute/colour/highlight/data bytes tell X'00' from X'40'; HX ledgers re-run (Part of #7955) - #8827
Conversation
…m X'40' (Part of #7955) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…claimed (Part of #7955) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…mpare; 7 wrong equivalent claims removed, 9 harness-gap entries retired (Part of #7955) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…one (Part of #7955) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #8827 @ c9a58d3: 1 failed check(s) == detmut (failure) -- real |
…eded note (Part of #7955) (#8831) * X2: HXATTR/HXEXT write tracking is not needed once #8827 lands; reword the superseded note (Part of #7955) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * X2: do not cite a test this PR does not carry (Part of #7955) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…a lanes keep the loose compare (Part of #7955) Generated and model-written ports record only what they set, so the strict compare broke the carddemo cases. with_exact_bytes marks a case whose project carries DetCics. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
…r follow the byte compare (Part of #7955) The det lane now records X'00' and X'40' as values, so the cobolrt catalogue lists subfieldByte, the crucible's java_send_map drops only X'00', and HXATTR / HXEXT are re-run in full (--sample 0). 31 stated `equivalent` claims the run killed are removed; the three left open are attacked and stated equivalent with their attempts on record. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (b061d81) is not the one a maintainer labelled |
|
PR #8827 @ d7eeee0: 9 failed check(s) == db2 ${{ matrix.shard }} (cancelled) -- infra == equivalence-e2e (cancelled) -- infra == full-suite (failure) -- real == full-suite part ${{ matrix.group }}/${{ needs.shard-plan.outputs.splits }} (cancelled) -- infra == full-suite part 2/5 (failure) -- main == shard ${{ matrix.group }}/${{ needs.plan.outputs.splits }} (cancelled) -- infra == shard ${{ matrix.shard }} (cancelled) -- infra == store the suite's durations (cancelled) -- infra == suite time budget (#5166) (cancelled) -- infra |
|
CI shepherd: the head of this PR (3826f35) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
No description provided. |
|
No description provided. |
… of #7955) (#8877) Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Part of #7955. Checklist: partial [c:67abe7c7]
What changed
A SEND MAP's attribute, colour, highlight and data bytes were compared as "set or not": X'00' (LOW-VALUES) and X'40' (the EBCDIC space, DFHBMUNP) both read as "not set" in three places, so a mutant that turned a NUL into a space was invisible to the oracle compare. Both bytes are now values on both sides.
DetCics.subfields(runtime) records the attribute, colour and highlight byte whenever the field exists, space as X'40'. It no longer drops 0 or space.equivalence_cics.pymap_subfields/java_subfields: the GnuCOBOL side and the Java side keep X'00' and X'40' as values. SEND-MAP data decodes exactly.equivalence_cics_compare.py: SEND-MAP compares with the commarea rule (trailing spaces only), not therstrip(" \x00")one; MAPONLY sends no symbolic map, so the port's subfields are not claimed for it.cics_crucible.pyjava_send_map: keeps the crucible's own not-set filter to the two bytes it always meant.test_equivalence_cics_mapset.py: attr / colour / hilight / data x {X'00', X'40', other}, both sides, plus the MAPONLY case.equivalence_common.py: the NUL-aware compare exposed 6 ERRMSG diffs in CarDemo COTRTUPC. A STRING literal before an empty SQLERRM was being read as the SQLERRML halfword. The swap now applies only when the n message bytes after the halfword hold no NUL. The regression test is intest_equivalence_declared_differences.py, and COTRTUPC proves locally (54 scenarios, 63/63 paragraphs).Evidence
det_mutation.py run --sample 0, seed 0): HXATTR 675 mutants, 333/663 killed; HXEXT 549 mutants, 252/538 killed. Both L5 with 0 unaccounted.equivalentclaims were wrong and are removed (the run killed them): 7 found by the first 150-sample run (HXATTR27d9c57ae1,5b760e0076; HXEXT2d68f6c698,2def5febb4,5af3fd2106,eed786b475,fbcf71a72b) and 21 (HXATTR) + 10 (HXEXT) more by the full run.harness-gapentries are retired: their gap is closed.survivor_attack.py trykills HXATTR3e8875cfd8,722da01d4eand HXEXT2f61febdd4,0fd741c580,8f9f19913b,b0482afde7,ec1c582775; the run itself killedf2ec0dbb50,d1599893c2,d9c0f89e64.equivalentwith the reason: HXATTR8a3bd784be(HXM1I initial image: every path writes HXM1I/HXM1O before reading), HXEXTeb2d001f62(EIBCALEN is only tested against 0) and8ec71a9459(the fill repeats theMOVE LOW-VALUES TO HXM2Ibefore it).ca-bytes-entry-clearstill proves. That contradicts the "Tried, not landed" note indocs/language_status/register/X2.md(L5 hex-attributes: tightening the BMS attribute compare is refuted by the uncleared-map baseline (Part of #7955) #8826), which I did not edit (file limit).Lane scope
Only the det port records every map byte. Generated (forge) and model-written ports record only what they set, so the strict compare is scoped to the det lane (
with_exact_bytes:DetCics.javaunder the project); other lanes keep the loose compare (_same_loose,_set_only).mutation.pypasses the same flag.Gates
pr_gates --fast: 9/9 after merging origin/main (7954 #8822 etc.); the CI reds (crucible, det, detmut, equivalence-e2e, ground-truth, measure, shards) were this PR's own, not main's: strict byte compare broke the non-det lanes (carddemo), the cobolrt catalogue lackedsubfieldByte, the crucible filter dropped X'40', and the HX ledgers were sampled runs. Full cics-crucible run: no NEW FAIL against the ratchet; e2ecarddemo_account_viewandtest_porting_loop_toolingcommitted ports (22) pass. Earlier: 9/9 after the pins moved (was 8/9, the failingaffectedgate named 4 tests pinning the old rule (test_equivalence_sysout_attrs,test_output_map_compare,test_equivalence_cics,test_call_compare_4778); updated here (beyond the 5-file budget, see File count)). 22 test files that mention subfields or the compare: 646 passed.audit_check.pyall clear;ruff format --checkon the four Python files;test_equivalence_cics_mapset.py+test_survivor_attack.pypass;det_mutation.py checkok.File count
12 hand-written files by the gate's count (adds
mutation.py,cics_crucible.py, and the SQLERRM fix inequivalence_common.py+ its test;cobolrt_rules.jsonis data), over the 5-file rule, and the change cannot be cut: the runtime rule (DetCics.subfields) and the two compare views move together, and four tests intests/cobol_mainframe/pin the old "X'00' and X'40' are unset" rule, so a slice without them is red. NoFile-cap exceptionwas granted; the orchestrator can requeue withchurn queue add --file-cap-exception.Lessons for agents
cobolrt_rules.jsonrule, and the crucible ratchet follows a compare change.ruff formaton the wholetests/toolstree reformats ~50 unrelated files: format only your files.det_mutation_survivors/*.jsonis indent 1; re-dumping with indent 2 rewrites every line.Sibling gaps / Remaining slices
proof_sweep.py --det-only --skip-db2 --cases ...over 8 cases (asynccc-crdtchk, carddemo-billpay/cardview-generated, cbsa-crdtagy5, cruc-ca-xctl-versions, cruc-hc-dcounters, cruc-hx-attr/extended-linked): 8/8 proven. The nightly sweep will show any newly exposed NUL/space diff.Cross-repo: none.
🤖 Generated with Claude Code