Repository navigation
det: group MOVE over COMP-1/COMP-2/COMP-5 laid out alike is translated (Part of #7646) - #7763
Merged
Merged
Conversation
…ranslated; other byte views stay refused (Part of #7646) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
Contributor
This was referenced Nov 5, 2026
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #7646 (part of #5865). Slice after #7756. Draft; the
translate()default (slice 5) is untouched.What changed
det/gen.py: a group MOVE between two groups that lay their COMP-1 / COMP-2 / COMP-5 items alike (same size, same offsets, sizes and usages, no OCCURS) is now translated as a byte copy. A copy keeps each number's bytes where they were, so HFP versus IEEE and big- versus little-endian do not matter, and the oracle can compare it.tests/cobol_mainframe/test_det_number_group_copy_7646.py(new): two synthetic programs (COMP-2/COMP-1/COMP-5 beside X(2) with a REDEFINES group copied back and forth; S9(4)/S9(9)/9(18) COMP-5). The port prints cobc's lines (pinned, and re-checked against GnuCOBOL underEQUIVALENCE_E2E=1). Nine refused shapes, each underzos_comp5False and True, assert one named hole citing C6.register/C6.md: states what is now translated and what stays refused.Evidence
FLOAT_BYTES).det_port.py checkover every case: 269/269 ports unchanged, so no burned program depended on this.pr_gates --fast9/9,--ratchets9/9.Class / Sibling gaps
Class: byte uses of a COMP-1/COMP-2/COMP-5 item through an overlapping item (REDEFINES, group MOVE, reference modification, record bytes).
zos_comp5=True(slice 2).Remaining slices: the refused shapes above, if a program needs one; slice 5 (default flip).
Facts checked:
det_port.py check269/269 unchanged on this head. Not checked: whether any non-burned estate program uses these shapes (out of scope by policy).Lessons for agents
det_port.py checktakes over 10 min: run it in the background with a long timeout, nottimeout 590(it was killed at 590 s once).pr_gateswarns the shared venv's ruff is not the CI pin but uses a cached 0.17.2 anyway; a ruff picked by hand from~/.cache/gitgalaxy/may be the wrong version.🤖 Generated with Claude Code