Repository navigation
Layout mode defaults to engine in dry_run and det_survey (Part of #5649) - #7731
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
This was referenced Nov 4, 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 #5649. Slice A of retiring the translator's own layout check mode (v2.12.0, which contains #5656, is tagged).
dry_runanddet_surveynow take the engine's record layouts in "engine" mode by default instead of "check" (engine layouts plus the translator's own computation compared beside them). Check mode itself stays for now; slice B deletes it.Class / Sibling gaps
Class: callers that default to the translator's "check" layout mode, which keeps the translator's own layout computation running beside the engine's. Handled here:
dryrun.dry_run(default and fallback),det_survey.survey_programand its--layoutsflag (defaultengine,checkstill accepted). Sibling gaps, all slice B because they sit onEngineLayouts' own default, whichdet_port,equivalence_java,cics_case_ports,cics_crucible_detandport_runneruse:engine_layout.py(MODES,differences, themode="check"defaults),tests/tools/equivalence_common.engine_layoutsdefault. None needs a burned-estate program beyond what is already proven.Facts checked
det/layout.pycannot be deleted: it is the record parser andItemmodel imported by about 15 modules, andlayout()is still the fallback for translator-defined records (BMS maps, GG-* registers, EIB/DIB;fact_ownership.md:82, decision). Only check mode is deletable.det_survey --corpus cics-genapp --no-compile:survey.jsonwith--layouts checkand--layouts engineare byte-identical.test_det_survey,test_assess_translate,test_det_engine_layout,test_det_system_member_layout: 58 passed.audit_check.py: all clear.ruff format --checkflags two pre-existing spots indet_survey.py/test_det_survey.py(same on origin/main); not touched.Remaining slices
B (5 files):
det/engine_layout.py(delete check mode,differences, makeenginethe default),tests/tools/equivalence_common.pydefault,test_det_engine_layout.pyandtest_det_system_member_layout.py(drop check-mode tests),docs/language_status/fact_ownership.mdline 82.det/program.pydocstring (lines 439-440) is a sixth file: fold into B if a file is freed, else a doc-only tail.Checklist: partial -- check mode still exists in engine_layout.py
🤖 Generated with Claude Code