Skip to content

CBSA ladder: scenarios and reviewed infeasible outcomes (Part of #6072) - #6646

Merged
squid-shepherd[bot] merged 8 commits into
mainfrom
churn/6072-cbsa-ladder-20261025
Oct 25, 2026
Merged

squid-shepherd[bot] merged 8 commits into
mainfrom
churn/6072-cbsa-ladder-20261025

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Part of #6072. Data-only: case scenarios and reviewed infeasible outcomes for the CBSA programs below L4. No code, no test edits.

Before / after (origin/main vs this branch; det_sweep_coverage)

program scenarios net branches covered infeasible stated (before -> after) branches still uncovered (before stated)
BNK1CAC 30 -> 39 56 -> 64 /97 0 -> 16 33
BNK1CCA 20 -> 24 29 -> 33 /41 0 -> 7 8
BNK1CCS 86 -> 94 113 -> 122 /143 0 -> 17 21
BNK1DAC 22 -> 28 44 -> 49 /60 0 -> 11 11
BNK1TFN 45 -> 51 53 -> 58 /72 0 -> 11 14
BNK1CRA 31 57/67 7 -> 7 10
BNK1UAC 78 80/88 7 -> 7 8
CREACC 26 26/38 0 12
BNK1DCS 22 62/102 0 45
BNKMENU 31 47/62 15 -> 15 16
DBCRFUN 32 33/35 0 3
INQACC 17 15/25 0 -> 2 13
INQACCCU 23 31/33 0 -> 2 3
INQCUST 29 42/46 0 -> 3 5
XFRFUN 48 78/81 2 -> 4 4

Paragraphs: all L3 programs were already 100% live-paragraph covered; BNK1DCS (46/51), BNKMENU, DBCRFUN, INQACC (22/25), INQACCCU, INQCUST, XFRFUN keep their unreached paragraphs (abend-handler paragraphs; stated where infeasible). All 15 cases det proven in the final ladder_refresh.py run (pin tests included).

Evidence level

Translated and executed-equivalent on GnuCOBOL plus our stub (not z/OS). No program reaches L4 in this PR; the "uncovered" column counts branches with neither a scenario nor a reviewed infeasible entry.

Remaining slices

  • BNK1DCS: 45 left; needs DELCUS/INQACCCU/DELACC linked, a db2 block, seed.sql and a generated twin (DELCUS has 4 holes).
  • CREACC: 12 left; ENQ fail codes '3'/'5' not reachable (no NOSUSPEND, DEQ not faultable).
  • BNK1CAC (33), BNK1CCS (21), BNKMENU (16), BNK1TFN (14; lines 1026/1142/1171 open), INQACC (13), BNK1CCA (8; l.534 true not provably infeasible), BNK1DAC (11), BNK1CRA (10), BNK1UAC (8), INQCUST/XFRFUN/INQACCCU/DBCRFUN (3-5 each, mostly MY-ABEND-CODE none arms).
  • DBCRFUN: two reviewed entries (AH999 entered, l.833 false) are drafted but dropped, because test_cbsa_l3_6072.py::test_bnkmenu_states_its_unreachable_arms pins infeasible_outcomes/cbsa-dbcrfun.json as absent. Re-add with that pin updated.

Plan changes

Scenarios dropped because the oracle/port refused or diverged: no-digit DEEDIT (X26), zero-length ref-mod (X8), Java NUMVAL on garbage, CAC "0.125" rate (Java COMPUTE rounds), six CAC 8-char successful-create types (facade divergence), CREACC enq-busy (no NOSUSPEND), six INQACC line-keyed cursor SQL faults (det proof passed, but evidence.py prove returned not-proven: 14/20 java-facade, files differ). INQACC therefore ends unchanged on scenarios (17) with 2 reviewed entries.

Sibling gaps (for #6271; burned program that needs each)

  • DEQ fault; ENQ-without-NOSUSPEND fault: CREACC ('3'/'5'), CAC WHEN '3'/'5'.
  • SET/INQUIRE TERMINAL RESP and UCTRAN: CCS 404/415/1134, DCS.
  • DEEDIT no-digit refusal: CAC 437/717. Zero-length ref-mod X8: CAC overdraft-missing.
  • Java NUMVAL garbage (CAC 575); COMPUTE rounding vs truncation (CAC 611/637).
  • Facade divergence on successful-create 8-char types: CAC WHEN@475-511.
  • Abend codes beyond AFCR/AFCS/AFCT/AD2Z for the MY-ABEND-CODE none arms: DBCRFUN 716, INQACC 646, INQACCCU 703, INQCUST 456.
  • Evidence environment diverges on line-keyed cursor SQL faults: INQACC (l.270, 350, 843).

Facts checked

  • Final ladder_refresh.py over the 15 cases, rebased on origin/main 69fe9f9: 15/15 proven; pin tests 2210 passed, 1 failed (the DBCRFUN pin above), fixed by dropping that file; test_cbsa_l3_6072.py re-run: 3 passed.
  • Not run: infeasible_outcomes.py check (needs sweep dirs; entries were validated by ladder_refresh), crucible/golden (no engine change).
  • Branch is churn/6072-cbsa-ladder-20261025: the WIP branch was already pushed pre-rebase and I did not force-push.

Lessons for agents

  • evidence.py prove can fail where the det proof passes: run it for any case whose case.json gained fault scenarios before committing, and never commit a not-proven evidence.json.
  • ladder_refresh.py restamps evidence.json input hashes; discard that churn unless the case is meant to change.
  • test_cbsa_l3_6072.py pins cbsa-dbcrfun.json absent: update it in the same PR as any DBCRFUN infeasible entry.
  • A branch already pushed as WIP cannot be rebased without a force-push; push to a fresh branch name instead.

Checklist: partial [c:db77a1b6] -- CBSA programs not lifted by this PR remain (see the PR's per-program ladder table)
Checklist: partial [c:3c7856f6] -- BNK1CAC/CCA/CCS/DAC/TFN batches landed here; the rest of the line is left

🤖 Generated with Claude Code

squid-protocol and others added 6 commits October 25, 2026 10:35
…omes for 5 programs (Part of #6072)

INQACC gains 6 scenarios (abend handler + SQL arms): net branches 15/25 -> 23/25.
DBCRFUN, INQACC, INQACCCU, INQCUST, XFRFUN gain reviewed infeasible outcomes
(AH010 false arm, AH999) with reasons.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…CA/CCS/DAC/TFN (Part of #6072)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ent diverges on; G entries for CAC/CCS/DAC/TFN (Part of #6072)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 25, 2026 14:48
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 25, 2026 14:48
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6646 @ a39f41a: 2 failed check(s)

== ground-truth part 2/4 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40203962119/job/121201345900
repro: python -m pytest -q tests/cobol_mainframe/test_evidence.py::test_every_committed_record_is_current
failing tests: tests/cobol_mainframe/test_evidence.py::test_every_committed_record_is_current
errors:
fail-on-cache-miss: false
E AssertionError: re-prove these in this PR (python tests/tools/evidence.py prove KEY):
tests/cobol_mainframe/test_evidence.py:59: AssertionError
FAILED tests/cobol_mainframe/test_evidence.py::test_every_committed_record_is_current - AssertionError: re-prove these in this PR (python tests/tools/evidence.py prove KEY):
##[error]Process completed with exit code 1.
log tail:
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
MAINFRAME_ENGINE_KEY: b335b78ee28e40ca544a1b9919295d0801fd0b334d0d8939dd3ea0d19dabed2b
PYTHONUTF8: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-ground-truth-part-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 69615
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 3d63b8ae159f06ce7c5e12e2b148be7aa3eaea1122af4b54cc4f40300912e256
Finalizing artifact upload
Artifact test-times-ground-truth-part-2 successfully finalized. Artifact ID 12603585652
Artifact test-times-ground-truth-part-2 has been successfully uploaded! Final size is 69615 bytes. Artifact ID is 12603585652
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40203962119/artifacts/12603585652
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/ac6704d7-f8c6-43d4-9dfb-f1f484979c26' 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/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

== ground-truth part 4/4 (failure) -- flake
https://github.com/squid-protocol/gitgalaxy/actions/runs/40203962119/job/121201345964
repro: python -m pytest -q tests/cobol_mainframe/test_evidence.py::test_every_failing_facade_scenario_is_ledgered_with_its_issue
failing tests: tests/cobol_mainframe/test_evidence.py::test_every_failing_facade_scenario_is_ledgered_with_its_issue
errors:
fail-on-cache-miss: false
"""#4449: a CICS port whose java-facade side fails keeps its record honest (not proven) and its failing scenarios
E AssertionError: assert {'cbsa-inqacc...m-drain-923']} == {}
tests/cobol_mainframe/test_evidence.py:344: AssertionError
FAILED tests/cobol_mainframe/test_evidence.py::test_every_failing_facade_scenario_is_ledgered_with_its_issue - AssertionError: assert {'cbsa-inqacc...m-drain-923']} == {}
##[error]Process completed with exit code 1.
log tail:
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
GITGALAXY_MAINFRAME_CORPORA: /home/runner/work/gitgalaxy/gitgalaxy/.mainframe_corpora
MAINFRAME_ENGINE_KEY: b335b78ee28e40ca544a1b9919295d0801fd0b334d0d8939dd3ea0d19dabed2b
PYTHONUTF8: 1
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-ground-truth-part-4.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 69695
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 30f5a269cf64b5157d4dca9f3c5c96ac9b6122983b15fb749f9986f393846ed0
Finalizing artifact upload
Artifact test-times-ground-truth-part-4 successfully finalized. Artifact ID 12602872538
Artifact test-times-ground-truth-part-4 has been successfully uploaded! Final size is 69695 bytes. Artifact ID is 12602872538
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40203962119/artifacts/12602872538
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/61e94d07-9ff4-45ef-b057-e473c9581ee4' 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/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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md and removed shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md labels Oct 25, 2026
squid-protocol and others added 2 commits October 25, 2026 11:29
…o main's content; the intermediate proof's cursor-fault failures no longer apply) (Part of #6072)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@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 Oct 25, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 8370cf8 into main Oct 25, 2026
43 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6072-cbsa-ladder-20261025 branch October 25, 2026 16:18
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

Development

Successfully merging this pull request may close these issues.

1 participant