You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Answer key: MOVE-truncation reader does not apply COPY ... REPLACING (misses SAM1/SAM2 truncations) #4470
bugUnintended behavior or logic failure in the enginedata-integrityIssues relating to RAM state or SQLite database fidelitypriority: lowUI tweaks, documentation, and minor optimizationsscope:infraCI, tooling, churn/factory, docs infrastructuretestingUnit, integration, and E2E pipeline verification
The answer key's MOVE-truncation reader (tests/tools/cobol_answer_key.py::data_move_truncations, _mv_entries) expands a COPY without applying its REPLACING, so it cannot size a record that exists only under its replaced name (COPY CUSTCOPY REPLACING ==:TAG:== BY ==CUST==).
Evidence
After #4457 the engine lays those records out (WS-CUST-REC 387 bytes, WS-CUST-CONTACT-REC 69). zopeneditor-sample SAM1.cbl:444 MOVE WS-CUST-REC TO WS-CUST-CONTACT-REC (387 -> 69 bytes) and SAM2.cbl:116 MOVE TRAN-UPDATE-DATA TO CUST-NAME are real truncations the engine now reports and the key does not (5 fp entries over SAM1, SAM1LIB, SAM2 and multiroot copies in the ground-truth ledger).
Acceptance
The key's truncation reader applies a COPY's REPLACING (word, ==pseudo-text==, LEADING/TRAILING) before sizing; the 5 ledger entries then agree and are dropped.
bugUnintended behavior or logic failure in the enginedata-integrityIssues relating to RAM state or SQLite database fidelitypriority: lowUI tweaks, documentation, and minor optimizationsscope:infraCI, tooling, churn/factory, docs infrastructuretestingUnit, integration, and E2E pipeline verification
Activity
fix: train -- #4457, #4458 (#4471)
[experiment A] fix(crosscheck): read replaced records of section COPY…