Repository navigation
Census: copybook layouts, CICS RIDFLD and refmod spans verified by blind reviewers (#3649 / #3602) - #3695
Merged
Conversation
…ind reviewers (#3649 / #3602) A new `layouts` suite in cross_verify_sections.py asks the three answer-key fields the Java forges read. Each section of each corpus is censused in FULL while small (<= 600 units), else over a seeded, stratified SAMPLE of files with unkeyed recall candidates, signed sample_verified. The refmod brief shares the data-move pairing contract (MOVE_PAIRS, extracted from the lineage brief byte-identically). 20 batches, 1,907 key facts, 20 fresh blind reviewers. 1,885 facts compared (key or reviewer side): 1,819 agreed; 66 disagreements, each ruled against the source. Two key errors, both shared by the engine: - SIGN ... SEPARATE takes its own byte: CBSA ABNDINFO, 3 items, 8 -> 9. Key reader fixed; engine filed as #3694 (record_data keeps no SIGN clause), carried in the ledger as a known defect (D024). - A reference modification of a FUNCTION result (`FUNCTION CURRENT-DATE(1:4)`) was read as an argument list and dropped: CardDemo CBIMPORT, 6 moves. Key reader and engine both fixed (a top-level colon only: `NUMVAL(WS-X(1:3))` is no refmod), with tests (D023). One brief gap: pseudo-text awaiting COPY REPLACING is no data name (B004); the brief now says so. Tiers: - copybook layouts, CICS RIDFLD and refmod spans are cross_verified on every keyed corpus; - CardDemo layouts and DSF RIDFLDs are sample_verified. The ledger is clean. The engine change moves 0 of 48 IR joins on any corpus. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g
Contributor
squid-protocol
added a commit
that referenced
this pull request
Sep 26, 2026
…3700) * Engine: SIGN ... SEPARATE DISPLAY items take their sign byte (#3694) The census (#3695) found the engine sizing `PIC S9(8) DISPLAY SIGN LEADING SEPARATE` as 8 bytes, not 9: record_data kept no SIGN clause. Now: - the COBOL record extractor records `sign_separate` (presence-keyed, like copy_members); - record_data carries it as a column, healed into old tables; - the rehydrator restores it; - GalaxyIR.record_layout adds the byte. A DB written before the column existed still loads and sizes every sign as embedded. Blast radius: only CBSA codes SEPARATE signs. ABNDPROC's COMMAREA contracts grow 678 -> 681 bytes, with data-flow spans and one VSAM store following. Elsewhere, only the programs join's data-item shape gains `sign_separate: false`. The ledger's 6 #3694 entries clear and the engine now matches the key. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g * field testing: D024 fixed by #3700 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Verifies the three answer-key fields added for the Java conversion: copybook layouts (#3602), CICS RIDFLD and refmod spans (#3649). Part of #3625.
Result
Twenty fresh blind reviewers each got only a brief (no key) and read 20 batches, covering 1,907 key facts across 6 corpora.
Every disagreement is ruled against the source, with a written reason in the key's
section_census.Two key errors, and the engine shares both:
SIGN … SEPARATEtakes its own byte. In CBSAABNDINFO.cpy,PIC S9(8) DISPLAY SIGN LEADING SEPARATEis 9 bytes; the key said 8. The key reader is fixed, with a test.record_dataschema change, so it's filed as Engine: SIGN ... SEPARATE DISPLAY items are sized one byte short (record layouts) #3694.engine_sign_separate_bytes, field_testing D024).CBIMPORT,MOVE FUNCTION CURRENT-DATE(1:4) TO …had its(1:4)read as an argument list, which lost 6 refmods.core/data_moves.py), with tests (D023).FUNCTION NUMVAL(WS-X(1:3))is still not a refmod.Ruled key_correct (the reviewer erred):
CUSTCOPY.cpyis made of COPY REPLACING pseudo-text (:TAG:-REC), which is not a data name. The brief hadn't said so (B004); it does now.The
layoutssuitesample_census.layouts.MOVE_PAIRSconstant, extracted from the lineage brief. The lineage brief renders byte-identically (checked).brief.mdand a staged copy of the sources, never the truth file.Checks
--javais all PASS.ground_truth_ledger.pyis clean. The diff contains only tier flips, CBSAcopybook layoutstp 389 → 386, and the 6 Engine: SIGN ... SEPARATE DISPLAY items are sized one byte short (record layouts) #3694 entries.ir_join_diff --rescan).field_testing.json: D023, D024 and B004 logged, and the report andfact_channel_confidence.jsonregenerated. The three fields go fromuntestedtoopen(5 public estates).🤖 Generated with Claude Code
https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g