Skip to content

Ground truth: blind census of CALL USING and DL/I key sections (#3454, #3450) - #3481

Merged
squid-protocol merged 1 commit into
mainfrom
feat/census-calls-sections
Sep 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
feat/census-calls-sections

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #3445. Completes the acceptance for #3450; it also covers #3454, which auto-closed on merge before its census.

Tool

cross_verify_sections.py --suite calls. Every COBOL source is asked for:

  • its CALL USING lists and its PROCEDURE DIVISION / ENTRY USING parameters;
  • its DL/I calls as written;
  • the IMS segment access those calls resolve to: function codes and SSAs through copybook VALUEs, with path calls reading their parents.

Round-trip check first: before any reviewer ran, the key's own rows were graded as if they were a reviewer's. All 7 batches came out with 0 disagreements.

Census result

  • 7 batches, one fresh-context reviewer each: 187 COBOL files, 153 facts, 100% coverage.
  • The only differences were two reviewer spellings of the same fact. Both are now grader normalisations, following the CICS name-padding precedent:
    • INTO(X) / FROM(X) written for the I/O operand X;
    • a DL/I function code (GN, ISRT, DLET) written for the access the brief maps it to (read, insert, delete).
  • After those: 0 disagreements. The reviewers independently reproduced the copybook-resolved function codes, the SSA segment decoding, and the path-call parent reads.
  • No key or engine change.

Ledger

Now cross_verified:

field zopeneditor CBSA CardDemo
CALL USING 5/5 22/22 71/71
DL/I calls — — 35/35
IMS segment access — — 20/20

Checks: 494 mainframe and tool tests pass. Ruff and mypy show no new findings. The skill doc now lists the calls suite and every grader normalisation so far.

🤖 Generated with Claude Code

https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g

…#3450)

The CALL USING, DL/I calls and IMS segment access key sections matched the
engine exactly but were drafts. They have now been read a second time, blind.

cross_verify_sections.py gains `--suite calls`: every COBOL source is asked
for its CALL USING lists / PROCEDURE DIVISION and ENTRY USING parameters, its
DL/I calls as written, and the IMS segment access they resolve to (function
codes and SSAs through copybook VALUEs, path calls reading their parents).
Round trip (the key as reviewer) graded 0 disagreements on all 7 batches
before any reviewer ran.

Census: 7 batches, one fresh-context reviewer each, 187 COBOL files, 100%
coverage, 153 facts. The only differences were two reviewer spellings of the
same facts, now grader normalisations (the precedent of CICS name padding):
`INTO(X)` / `FROM(X)` for the I/O operand X, and a DL/I function code (GN,
ISRT, DLET) for the access the brief maps it to (read, insert, delete). After
them: 0 disagreements. No key or engine change.

Ledger: CALL USING (CardDemo 71/71, CBSA 22/22, zopeneditor 5/5), DL/I calls
(35/35) and IMS segment access (20/20) are now cross_verified.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ZsVaAkb86P5r5JXDC2Y9g
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit f51403c into main Sep 24, 2026
30 checks passed
@squid-protocol
squid-protocol deleted the feat/census-calls-sections branch September 24, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant