Skip to content

equivalence: BNK1DAC on generated Db2 rows (Part of #4507) - #5558

Merged
squid-protocol merged 2 commits into
mainfrom
churn/4507-20261019T0211Z
Oct 19, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/4507-20261019T0211Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4507.

Checklist: partial [c:a7f4b905] -- left: bnk1uac, bnk1cac, bnk1cca, bnk1ccs generated siblings; bnk1tfn blocked (RETURN LENGTH(29) vs its 28-byte DTO)

What

cbsa-bnk1dac-generated: CBSA's display / delete screen (BNK1DAC, LINKing INQACC and DELACC) on 30 generated ACCOUNT rows, 40 generated scenarios (ENTER inquiries and PF5 deletes whose account numbers are drawn from the rows), compare_sql on, ACCOUNT and PROCTRAN compared. Same shape as #5555.

Evidence (ladder)

  • Translated: 719/719, whole.
  • Executed-equivalent: proved on 52 scenarios; SQL statements equal on all 40 generated ones (32 issued statements, DELETE reached); table state alike.
  • Coverage: 31/31 paragraphs, 41/60 branches. Oracle is GnuCOBOL plus our stub, not z/OS.
  • Docker-gated test test_the_bnk1dac_screen_holds_on_generated_db2_rows passes locally; pr_gates --fast and audit_check clean.

Cross-repo

None.

Sibling gaps

  • Harness / runtime defect: a letters-for-digits value in BNK1DAC's ACCNO2 makes the Java Funcs.numval throw NumberFormatException where GnuCOBOL's NUMVAL reads 0. The generated case therefore sets miss: 0 on ACCNO2I. Cause on the input side: equivalence_inputs._typed treats a Db2 CHAR-of-digits pool as text, so a miss is alphanumeric (a harness change means a full det sweep, so left out of this slice). Needed by: BNK1DAC/BNK1UAC deletes and updates of not-found accounts (burned CBSA).
  • Remaining burned-CBSA siblings: BNK1UAC (core), BNK1CAC, BNK1CCA, BNK1CCS (core), BNK1TFN (blocked, frontier). BNK1DCS has no Db2 section: nothing to prove.

Lessons for agents

  • det_port.py run <case> plus proof_sweep.py --det-only --cases X --work D, then det_coverage_ledger.py update D, writes the coverage ledger entry; bare python is not on PATH under heavy-run.sh, pass the venv python.

🤖 Generated with Claude Code

cbsa-bnk1dac-generated: 30 generated ACCOUNT rows, 40 generated screen scenarios (ENTER inquiries, PF5 deletes
drawn from the rows), compare_sql on. Proved on 52 scenarios, 31/31 paragraphs, 41/60 branches.

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5558 @ 7066e86: 1 failed check(s)

== full-suite part 2/3 (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39189982828/job/117861111714
repro: python -m pytest -q tests
errors:
fail-on-cache-miss: false
FAIL tests/tools/test_combined_alternation_parity.py::test_registry_rules_have_no_missed_candidates_on_keyword_samples: 16.8s is over 15s and has no @pytest.mark.slow(reason=...) and no entry in tests/test_time_baseline.json
##[error]Process completed with exit code 1.
log tail:
env:
PYTHONUTF8: 1
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
OMP_NUM_THREADS: 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
PYTEST_ADDOPTS: --ignore=tests/cobol_mainframe
##[endgroup]
With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: test-times-part-2.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 179088
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 329a034600b4c57958fb64ed217cfe2691142df1de8659bf27af37ede1727f5b
Finalizing artifact upload
Artifact test-times-part-2 successfully finalized. Artifact ID 12159497406
Artifact test-times-part-2 has been successfully uploaded! Final size is 179088 bytes. Artifact ID is 12159497406
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39189982828/artifacts/12159497406
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/50994c39-cf1a-494e-b24f-20d9e9615fd4' 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-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 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 19, 2026
@squid-protocol
squid-protocol merged commit 2f69412 into main Oct 19, 2026
28 checks passed
@squid-protocol
squid-protocol deleted the churn/4507-20261019T0211Z branch October 19, 2026 03: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

Development

Successfully merging this pull request may close these issues.

1 participant