Skip to content

equivalence: generate RECEIVE MAP input from BMS map definitions (Part of #4506) - #5306

Merged
squid-protocol merged 3 commits into
mainfrom
churn/4506-20261017T0442Z
Oct 17, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/4506-20261017T0442Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4506 (sibling #5116).

What changed

Class

BMS map input generation. Covered: field lengths, attributes (protected/ASKIP, numeric), PICIN width, error-message fields via the existing screen compare.

Sibling gaps

  • OCCURS input: refused by name (Unsupported("BMS OCCURS input")).
  • PICIN/PICOUT as run-time checks: out of scope (X54), no run-time conversion exists.
  • MDT bit and the null/X'00' erase-input convention: not modelled.
  • GRPNAME inheriting the first field's ATTRB: not modelled.

Evidence

  • equivalence.py run carddemo-acctview-generated: 24 scenarios, 3/3 events equal on both sides; COBOL coverage 30/32 paragraphs, 42/69 branches.
  • Mutation sample (40 of 418, seed 0, fast): 17/35 caught, 18 survived, 5 stillborn. This is a sample and the committed mutation_scores.json was not touched.
  • pr_gates --fast 6/6, --ratchets 8/8. New tests: 45 passed, 3 skipped.

Cross-repo: none.

🤖 Generated with Claude Code

…(Part of #4506)

scenario_generate.receive accepts "@bms": every typable DFHMDF field (named,
not ASKIP/PROT, not OCCURS) gets full, short and random-width values, digits
for NUM/all-9s PICIN fields, with bad and empty shares. Explicit per-field
rules override. carddemo-acctview-generated uses it; X54 documents it.

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 17, 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 17, 2026 05:08
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 05:09
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5306 @ fed2dd6: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39005176532/job/117319880923
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases cbsa-bnk1ccs,cbsa-bnk1tfn,cbsa-bnk1uac,cbsa-crecust,cbsa-delcus,mortgage-cmort,mortgage-csmrt,mortgage-mpmt,zecs-zecs003 --work /tmp/gitgalaxy-scratch/ci-digest/sweep
det cases not proven: cbsa-bnk1ccs,cbsa-bnk1tfn,cbsa-bnk1uac,cbsa-crecust,cbsa-delcus,mortgage-cmort,mortgage-csmrt,mortgage-mpmt,zecs-zecs003
errors:
det mortgage-csmrt NOT PROVEN proven on 5 scenarios, covering 1/1 paragraphs and 1/2 branches
det mortgage-mpmt NOT PROVEN
det zecs-zecs003 NOT PROVEN
det cbsa-bnk1ccs NOT PROVEN proven on 83 scenarios, covering 33/33 paragraphs and 109/143 branches
det cbsa-bnk1tfn NOT PROVEN proven on 45 scenarios, covering 28/28 paragraphs and 53/72 branches
det cbsa-bnk1uac NOT PROVEN proven on 72 scenarios, covering 31/31 paragraphs and 75/88 branches
det cbsa-crecust NOT PROVEN
det cbsa-delcus NOT PROVEN not proven; 16 scenarios cover 22/22 paragraphs and 13/16 branches
det mortgage-cmort NOT PROVEN proven on 16 scenarios, covering 6/6 paragraphs and 18/21 branches
##[error]Process completed with exit code 1.
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
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 109 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-ledger.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 85902
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 2d94d78094d983cf923ec6f898cdc2f15a0528c86086cee782d0249f6a85dc9c
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12091520765
Artifact det-sweep-ledger has been successfully uploaded! Final size is 85902 bytes. Artifact ID is 12091520765
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39005176532/artifacts/12091520765
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/c15319d7-0200-431d-a39e-e7a8b820d246' 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 17, 2026
squid-protocol and others added 2 commits October 17, 2026 02:04
…case.json change (Part of #4506)

The case fingerprint moved with the RECEIVE MAP input change, so the det sweep's
ledger check failed on a stale case entry. Re-measured with proof_sweep.py
--det-only (24 scenarios, 30/32 paragraphs, 42/69 branches, same as CI's sweep).

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

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (0011bd9) 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 shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit cc1e1e6 into main Oct 17, 2026
42 checks passed
@squid-protocol
squid-protocol deleted the churn/4506-20261017T0442Z branch October 17, 2026 06:45
@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