Skip to content

PL/I: widen the DSF answer key to 150 files; blind-review it and three COBOL corpora - #9216

Merged
squid-shepherd[bot] merged 5 commits into
mainfrom
dsf-pli-key-widen
Nov 24, 2026
Merged

squid-shepherd[bot] merged 5 commits into
mainfrom
dsf-pli-key-widen

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

What

  1. Wider PL/I key. The DSF key covered data moves for 25 of 1,473 files and procedure extents for 33. It now covers 150 and 157, drafted with the key tool's own commands. The first 25 reviewed files are kept; a second seeded draw adds 125. Sources whose blocks do not balance (8 of 1,473: a cut-down file and %INCLUDE fragments) are never sampled.
  2. Blind review. 26 batches read by independent Claude Sonnet reviewers that never see the key: a second PL/I move round on the 125 new files (33 windows), and the first sampled review of COBOL data moves and record fields for dbb-mortgage-application, example-health-apis and the cics-async example.
  3. Fixes found on the way. A . glued to a sequence number split a qualified name (PL/I data moves: a qualified name split at a trailing . glued to the sequence number reads as two sources #9214, engine); the key reader did not read USAGE NATIONAL (key fix, redrafted); the census listed generated .expanded/ copies as sources (the first example-health-apis move round was redone on real files). PL/I data moves: the ! (OR) operator ends the source list, so moves after it are missed #9213 (! as OR) landed on main meanwhile (PL/I data moves: the ! (OR) and !! operators no longer end the source list (#9213) #9221); this PR keeps its tests.

Result

Checks

ground_truth_ledger.py check clean; tests/cobol_mainframe 11,295 passed; new tests for the sample scope, unbalanced sources, the plan extension and the dot-directory skip; ruff audit no new findings.

Closes #9214. Closes #9215.

🤖 Generated with Claude Code

https://claude.ai/code/session_018srRvhLsKhsTZmCyX36Qem

squid-protocol and others added 2 commits November 24, 2026 11:06
The key read PL/I data moves for 25 of DSF's 1,473 files and procedure extents
for 33. The moves sample is now the original 25 (seed 3491, kept so reviewed
files are never replaced) plus a second seeded draw (seed 3492) up to 150; the
units follow (157 files). Drafted with the tool's own add-pli-moves /
add-extents; every new file is a draft, no key line was edited by hand.

Widening surfaced three ledgered defects: the `!` OR operator ends the engine's
source list (#9213), a `.` glued to a sequence number splits a qualified name
(#9214), and one key-reader extent mis-ended at a mislabelled END (#9215).
The other 17 new extent entries join the existing #4300 cause.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018srRvhLsKhsTZmCyX36Qem
… of a name

#9213: `!` / `!!` (alternate `|` / `||`) were unread, so `ENDRET ! (...)` looked
like a subscripted name and every later operand was dropped (31 DSF moves).
#9214: a `.` after a name letter, glued to a columns 73-80 sequence number, is
now blanked like the other glued fields, so `A.` + `B` on the next line is one
qualified name (3 DSF moves); a `.` after a digit stays a decimal literal.

Ledger re-measured: those 34 entries are gone. #9215 (damaged DSF source, no
balanced extent) is re-described and stays open; no key line was changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018srRvhLsKhsTZmCyX36Qem
@squid-protocol squid-protocol changed the title test: widen the DSF PL/I answer key to 150 files of moves and extents PL/I: widen the DSF answer key to 150 files and fix the two engine bugs it found Nov 24, 2026
@squid-protocol
squid-protocol marked this pull request as ready for review November 24, 2026 16:49
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 24, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 24, 2026 16:54
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

A source whose blocks do not balance (an END closing nothing, blocks open at
the end of the file, a WHEN outside any SELECT) has no balanced procedure
extent: DSF R001O301 has lines cut out, and %INCLUDE fragments close a procedure
opened elsewhere. pli_block_damage finds them (8 of DSF's 1,473 files); the
second seeded draw never picks one and replaces each it would have picked with a
further seeded draw, so the other drawn files stay put. The one affected file
(R001O301) is swapped for R00104E3; the scope records the excluded files.
Closes the key-scope question in #9215 and removes its ledger cause.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018srRvhLsKhsTZmCyX36Qem
@squid-protocol

Copy link
Copy Markdown
Owner Author

Owner ruling: drop unbalanced sources from the sampled key. Done in the last commit: pli_block_damage flags sources whose blocks do not balance (8 of DSF's 1,473 files: the cut-down R001O301 and %INCLUDE fragments). They are never drawn and the one affected sample file is swapped for another seeded draw (R001O301 -> R00104E3); the other 149 stay as they were. The 8 are listed in pli_moves_scope.excluded_unbalanced. #9215's ledger cause is gone, so this PR now closes it.

Ledger clean, tests/cobol_mainframe 11,284 passed.

🤖 Generated with Claude Code

https://claude.ai/code/session_018srRvhLsKhsTZmCyX36Qem

@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 24, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (6867c93) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 24, 2026 17:13
auto-merge was automatically disabled November 24, 2026 17:13

Pull request was converted to draft

@squid-shepherd squid-shepherd Bot added the shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md label Nov 24, 2026
squid-protocol and others added 2 commits November 24, 2026 13:29
PL/I: a second window round over the 125 files the first round never looked
at (33 windows, 123 key facts; plan extension in cross_verify_sections).
COBOL: the first sampled review of data moves and record fields for
dbb-mortgage-application, example-health-apis and the cics-async example
(25 reviewer batches, Claude Sonnet blind readers).

Result: 0 key errors in PL/I moves and COBOL data moves; one key error in
record fields (USAGE NATIONAL was not read; reader and record fixed). 16 PL/I
and 8 COBOL disagreements, each ruled from the source: reviewer misses, a
commented-out region, and 11 of one open convention question (#user-function
call, filed). The first example-health-apis move round used windows in
generated .expanded copies; corpus_files now skips dot-directories and the
round was redone on real sources.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018srRvhLsKhsTZmCyX36Qem
@squid-protocol squid-protocol changed the title PL/I: widen the DSF answer key to 150 files and fix the two engine bugs it found PL/I: widen the DSF answer key to 150 files; blind-review it and three COBOL corpora Nov 24, 2026
@squid-protocol
squid-protocol marked this pull request as ready for review November 24, 2026 18:39
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Nov 24, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 24, 2026 18:39
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 24, 2026 18:57
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #9216 @ fb13ff1: 1 failed check(s)

== shard 2/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/45461859483/job/138686595577
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
failing tests: tests/cobol_mainframe/test_porting_loop_tooling.py::test_the_loops_committed_ports_are_proven[cbsa-updacc]
errors:
fail-on-cache-miss: false
E AssertionError: +] Generated CICS API: BnkmenuController.java
tests/cobol_mainframe/test_porting_loop_tooling.py:241: AssertionError
FAILED tests/cobol_mainframe/test_porting_loop_tooling.py::test_the_loops_committed_ports_are_proven[cbsa-updacc] - AssertionError: +] Generated CICS API: BnkmenuController.java
##[error]Process completed with exit code 1.
log tail:
pythonLocation: /opt/hostedtoolcache/Python/3.12.16/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.21-9/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.21-9/x64
MAVEN_ARGS: -ntp
GITGALAXY_ORACLE_PREBUILT: 1
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-equivalence-e2e-shard-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 68697
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 9d88e365584d20d54d3a9fa04de260d65aafa1ce200add3ec27cecd9a2c077e1
Finalizing artifact upload
Artifact test-times-equivalence-e2e-shard-2 successfully finalized. Artifact ID 14954542957
Artifact test-times-equivalence-e2e-shard-2 has been successfully uploaded! Final size is 68697 bytes. Artifact ID is 14954542957
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/45461859483/artifacts/14954542957
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/aa77df3a-2cce-4263-8796-5c49988e5477' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 24, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 24, 2026 19:06
@squid-shepherd squid-shepherd Bot removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 24, 2026
@squid-shepherd
squid-shepherd Bot merged commit a7180b4 into main Nov 24, 2026
128 of 130 checks passed
@squid-shepherd
squid-shepherd Bot deleted the dsf-pli-key-widen branch November 24, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

1 participant