Skip to content

trial: an inline FD record is a layout for input generation (Part of #3806) - #5551

Merged
squid-protocol merged 1 commit into
mainfrom
churn/3806-20261018T2356Z
Oct 19, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/3806-20261018T2356Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3806. Checklist: done [c:42765682]

What

trial._input_without_layout called an input "layout-less" unless its FD held a COPY. CardDemo's batch programs declare the record inline in the FD (FD X. 01 REC. 05 F PIC ...), and equivalence_common.layout_fields already 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 inline 01 record holding PICTURE items now counts as a layout.

Out of scope still: an FD with no 01 or no PICTURE, a commented-out FD, a SELECT with no FD (the next FD's record is not this FD's).

Evidence

trial.py preview on 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.) is harness_report's per-program blocker list, not decided here.

Class

member status
FD with COPY already eligible
inline FD, sequential / indexed / I-O fixed here, tested
FD no 01 / no PIC / commented / SELECT without FD stay out of scope, tested

Gates: pr_gates --fast 6/6, --ratchets 8/8, test_trials.py + tree-wide guards pass. No engine change, no golden bless.

🤖 Generated with Claude Code

…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]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 19, 2026 00:07
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant