Repository navigation
trial: an inline FD record is a layout for input generation (Part of #3806) - #5551
Merged
Merged
Conversation
…3806) CardDemo batch programs declare records inline in the FD; layout_fields reads them from the program source, so the preview no longer rules them out. Preview eligible 3 -> 12. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 19, 2026 00:07
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 19, 2026 00:08
This was referenced Oct 19, 2026
This was referenced Nov 16, 2026
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 #3806. Checklist: done [c:42765682]
What
trial._input_without_layoutcalled an input "layout-less" unless its FD held aCOPY. CardDemo's batch programs declare the record inline in the FD (FD X. 01 REC. 05 F PIC ...), andequivalence_common.layout_fieldsalready reads such a layout from the program source, so the generator can build their inputs. The declaration rule was the gap. An FD with an inline01record holding PICTURE items now counts as a layout.Out of scope still: an FD with no
01or no PICTURE, a commented-out FD, a SELECT with no FD (the next FD's record is not this FD's).Evidence
trial.py previewon CardDemo (burned): eligible 3 -> 12 of 44 (the issue said 5; 9 programs unlock): CBACT01C, CBACT02C, CBACT03C, CBACT04C, CBCUS01C, CBIMPORT, CBTRN01C, CBTRN02C, CBTRN03C. The layout reason drops out of the out-of-scope list (x9 before). Whether each program's inputs then generate cleanly (REDEFINES etc.) isharness_report's per-program blocker list, not decided here.Class
Gates:
pr_gates --fast6/6,--ratchets8/8,test_trials.py+ tree-wide guards pass. No engine change, no golden bless.🤖 Generated with Claude Code