Repository navigation
equivalence: generated-input cases for the CBACT02C / CBACT03C / CBCUS01C readers (Part of #3806) - #5658
Conversation
…, and the inline-FD layouts pinned (Part of #3806) The three readers declare their record inline (a key and a blob), so each case lays the input out from the copybook it reads INTO. Card numbers are digits so the key order matches across COBOL (ASCII) and Java. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #5658 @ 41b1533: 1 failed check(s) == det (failure) -- real |
|
No description provided. |
|
No description provided. |
|
PR #5658 @ 8d3a42c: 1 failed check(s) == det (failure) -- real |
…ses (Part of #3806) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (1b0b0b3) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
…h stales (#6731) (#6734) tests/tools/derived_check.py applies CI's BLOCKING rules with fingerprints only (~5 s, no sweep): evidence records whose port / case / corpus / differences / options changed (test_every_committed_record_is_current), non-Db2 det-sweep ledger entries whose case / corpus changed, and non-Db2 cases with no entry that det_sweep_baseline.json does not list (a new case), each with its refresh command. The gate also runs change_classifier.py --check (docs_read_by_tests.txt). In --fast, so churn's precheck catches these before review. 28% of churn fix runs 2026-10-18..26 were derived records like these; replayed on #5658 (3 new cases) and #5836 (genapp-lgdpvs01) it fails on the pre-fix heads and passes after. Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Part of #3806. Checklist: partial [c:42765682] -- CBACT01C (no port exists), CBIMPORT (500-byte blob input), CBTRN01C / CBTRN03C generated variants (multi-file joins)
What
#5551 made an inline FD record a layout for trial eligibility (CardDemo preview eligible 3 -> 12). This PR checks the harness side of that item: can the inputs of those programs actually be generated and proven?
layout_fieldsreads every inline FD record from the program source andgenerate_datasetfills it at its width. Pinned bytest_an_inline_fd_record_lays_out_and_generates_at_its_width.KEY PIC 9(n). DATA PIC X(m): generated bytes land in a text blob. The meaningful layout is the copybook the record is read INTO, ascarddemo-posttran-generateddoes. New casescarddemo-{readcard,readxref,readcust}-generated(CBACT02C, CBACT03C, CBCUS01C) do that,port_fromthe shipped cases."digits": true), as in real data.Evidence
equivalence.py runon each new case: CBACT02C SYSOUT 32/32 equal, CBACT03C 62/62, CBCUS01C 62/62, RETURN-CODE 0/0, proven. ViaEQUIVALENCE_E2E=1 pytest -k hand_written3 passed. Coverage per run: 3/5 paragraphs, 13/22 branches (the end-of-file / error paragraphs; generated data has no I/O fault, the shipped cases carry the faults).Class
-generatedcasescarddemo-readaccthas none): a generated case would prove nothingX(500)blob; its real layouts are in the COPY'd output records / export copybookGates:
pr_gates --fast6/6,--ratchets8/8, test_equivalence_inputs + test_trials + test_source_reads pass. No engine change, no golden bless.Lessons for agents
"digits": trueunless the point is collation.Cross-repo: none.
🤖 Generated with Claude Code