Repository navigation
carddemo-intcalc-generated proves: generated indexed inputs load in IBM's key order (Fixes #4876) - #4878
Conversation
…BM's key order (Fixes #4876) GnuCOBOL's BDB keeps an alternate key's duplicates in load order and orders the primary key by bytes whatever the collating sequence; VSAM returns them in prime-key (EBCDIC) order, as the det runtime does. The harness now writes a generated indexed input in cp037 order of its primary key, so both sides pick IBM's first duplicate. Re-proved the five @generate cases; drops the baseline entry; D1 documents it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
|
No description provided. |
|
PR #4878 @ 9ed50ed: 1 failed check(s) == full-suite part 3/3 (failure) -- real |
…dler (#3813 gate) (Part of #4876) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX
|
CI shepherd: the head of this PR (7cf9290) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Fixes #4876.
carddemo-intcalc-generated differed on 11 of 37 TRANSACT records (TRAN-CARD-NUM): XREFFILE's alternate key (account) has duplicates, CBACT04C takes the first, and the oracle returns duplicates in load order (ASCII-sorted input: digits first) while the det runtime orders the primary key as VSAM does (cp037: letters first). IBM is the reference, so both sides now give IBM's pick:
equivalence_inputs.generate_datasetwrites an indexed input in cp037 order of its primary key (cobc 3.1.2 has no way to sort a BDB key in EBCDIC: measured, no flag or PROGRAM COLLATING SEQUENCE changes it).det_port.py runandproof_sweep.py --det-only --casesover all five@generatecases: 5/5 proven (intcalc-generated TRANSACT 37/37, ACCTFILE 30/30, SYSOUT 58/58). Baseline entry removed; coverage ledger refreshed (3 entries' harness fingerprint; intcalc/posttran have no scenario coverage line, as before).🤖 Generated with Claude Code
https://claude.ai/code/session_01AUWeQX7v4QBdErFbghEEEX