Repository navigation
det facade: answer a RETURN COMMAREA whose LENGTH differs from the record (Part of #5089) - #5579
Conversation
…cord through the program's codec (Part of #5089) BNK1UAC (LENGTH 99 of a 107-byte record ending in a POINTER), BNK1TFN (LENGTH 29 over 28) and BNK1CCS (LENGTH 248 over 5) leave the java-facade refusal; BNK1UAC and BNK1TFN leave the det sweep baseline. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…p the bytes (Part of #5089) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5579 @ 306f977: 1 failed check(s) == det (failure) -- real |
…rage ledger entries for bnk1ccs/tfn/uac (Part of #5089) Fixes the det check on #5579 ("now proven" ratchet and three missing ledger entries); numbers read off a local Db2 sweep, identical to CI's. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (e301ef9) is not the one a maintainer labelled |
…enerated baseline entries, add uac-generated coverage ledger entry (Part of #5089) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5579 @ 2381e33: 2 failed check(s) == ground-truth (failure) -- real == ground-truth part 3/4 (failure) -- real |
test_the_runtime_is_the_oracle_model_byte_for_byte javac-compiles the MQ runtime and starts one JVM and one C driver per script: 1.7 s locally, 11.4 s recorded, 18.1 s on a loaded CI runner, over the 15 s ratchet. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
CI shepherd: the head of this PR (2af542a) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #5089 (boxes 1 and 3, first slice). CBSA BNK1UAC, BNK1TFN and BNK1CCS now pass the java-facade comparison for a RETURN COMMAREA whose LENGTH differs from the DFHCOMMAREA record. UAC and TFN leave
det_sweep_baseline.json.What changed
det/program.py: a typedhandleTransactionwhose DTO has nofromCommarealayout (a POINTER refuses one; the generator writes layouts only into DTOs a facade converts between) reads the passed bytes through the program's own storage codec (codecAnswer). Bytes past the record are dropped as undefined, a trailing POINTER the LENGTH stops short of reads NULL, and fewer bytes than the non-POINTER properties need still refuse by name. AnObjectanswer keeps the bytes (a DTO cannot hold a space in a numeric field, as COCRDUPC showed).tests/tools/equivalence_cics.py:answered()checks the read by writing the DTO back through the codec over the passed bytes (wideSame) and comparing over the span both sides define. A differing byte inside it still fails.test_commarea_length_differs_5089.py; CCS baseline text narrowed.Plan change
The plan guessed the fix was in
CicsTask.returned/fromCommarea. Neither DTO has a layout, so the fix is in the det storage codecs instead;CicsTask/the forge are untouched.Evidence
Before: UAC (72 scenarios), TFN (45), CCS (83) equal on runTask, java-facade refused every scenario: unproven, baselined. After:
det_port.py runPROVED for all three. UAC and TFN leave the baseline. CCS stays baselined (X18/L4 holes, no create-customer scenario).det_port.py check: 128/131 unchanged, only these three move (re-proved). Oracle is GnuCOBOL plus our stub.Remaining slices
BNK1CCS create-customer scenarios in
case.json(#5064 CEEDAYS merged); CCS needs X18/L4 closed too.Sibling gaps
Same mechanism, not here: a POINTER before another field or under OCCURS (refused, C9). Other baselined programs: ZECS003/ZECS000 need dynamic ZC##FILE (#4771); RUN-child counters; V-KSDS record lengths; cbsa-delcus rollback.
Gates
pr_gates --fast 6/6, --ratchets 8/8, audit_check clear, related facade tests pass.
Lessons for agents
det_port.py checkmarks every Object-facade carddemo port changed by any facade-helper edit; emit helpers only where used.🤖 Generated with Claude Code