Repository navigation
det: INITIALIZE REPLACING of a table checks occurrences at run time (C17; Part of #5278) - #5823
Conversation
…me instead of refusing (C17; Part of #5278) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #5823 @ 2b12410: 1 failed check(s) == ground-truth part 2/2 (failure) -- real |
…LACING-TABLE, carrying register C17 (Part of #5278) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (6138338) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
PR #5823 @ 6138338: 3 failed check(s) == db2 2/4 (cancelled) -- infra == db2 3/4 (cancelled) -- infra == det (failure) -- real |
|
No description provided. |
|
No description provided. |
|
PR #5823 @ ca6b0a6: 5 failed check(s) == db2 1/4 (cancelled) -- infra == db2 2/4 (cancelled) -- infra == db2 3/4 (cancelled) -- infra == db2 4/4 (cancelled) -- infra == det (failure) -- real |
Part of #5278.
Checklist: partial [c:595f3352] -- the 3x
READ KEYLENGTH(LENGTH OF ...)holes were not reproduced once the files are mapped (see below); confirm in the next generateddet_surveyrun, and fix_keylengthonly if one survives.What
INITIALIZE ... REPLACINGof a table holding items of a category REPLACING does not name (COPAUA0C 8400-UPDATE-SUMMARY:PA-ACCOUNT-STATUS X(02) OCCURS 5,REPLACING NUMERIC) was a named hole (register C17: IBM leaves those items alone, GnuCOBOL copies the first occurrence over the rest). Now the port follows IBM and, per unnamed item, emitsCobol.sameBytes(first, occurrence k)and throwsHoleby name if an occurrence differs. Where they agree IBM and the oracle give the same bytes, so no proof rests on the oracle's copy. A table nested in a table with such items stays a named hole.Class table
Evidence
test_det_mqmarker stub) it still shows the 3 KEYLENGTH holes:_keylengthfinds no mapped file, an artifact of the stub, not of the construct.test_det_programs.pyINITRTB and INITREPL against GnuCOBOL (bytes / typed / groups): 6 passed.pr_gates --fast7/7,--ratchets8/8, tree-wide guards,test_evidence.py+ det tests 647 passed.det_port.py check: all 151 ports CHANGED, only by the 6-lineCobol.sameBytesin the shared runtime; none re-proved here (nothing in a port's logic changed).Lessons for agents
python -IignoresPYTHONPATH: a scratch script run with-Iimports the editable install of another checkout, so it showed the old refusal after the fix.W6.mdstill says COPAUA0C is held by C17 (not edited: 5-file limit); update it with the next slice.Cross-repo: none.
🤖 Generated with Claude Code