Skip to content

equivalence: field rule empty share leaves a BMS field unmodified; BNK1DAC ACCNO tested empty (Part of #4506) - #5773

Merged
squid-protocol merged 3 commits into
mainfrom
churn/4506-20261020T1940Z
Oct 20, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/4506-20261020T1940Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4506

Checklist: partial [c:f781005a] -- ERASE EOF (X'80' flag) is not modelled; no burned program reads DFHBMEOF

What

The MDT bit was already modelled (#5614: an FSET field left alone is sent with length 0; COTRN01C TRNIDINI = SPACES OR LOW-VALUES is covered by carddemo-tranview-generated). The unmodified, non-FSET side had no generated case: a field rule beside @bms could not say "sometimes left alone".

  • equivalence_inputs._left_alone: a field rule's empty share (on both the @bms and plain rule paths). FSET -> sent ""; otherwise omitted (X'00', length 0, flag X'00'). The random draw is made only when the rule has empty, so other cases' generated input is unchanged.
  • cbsa-bnk1dac-generated: empty: 0.2 on ACCNOI; BNK1DAC.cbl:503 tests ACCNOI = LOW-VALUES OR ACCNOL = 0 and ACCNO has no FSET.
  • X54 register text states the MDT / unmodified convention and where it is reached.

Class table

member status
FSET field left alone (COTRN01C TRNIDIN) done #5614, tranview-generated
non-FSET field left alone, field rule (BNK1DAC ACCNOI) this PR
empty share on @bms already, now also per field rule
ERASE EOF (flag X'80') not modelled; no burned program reads DFHBMEOF

Evidence

  • test_equivalence_bms_inputs_4506.py 40 passed (new: per-rule empty for FSET / non-FSET, no extra draw without empty, the generated bnk1dac case has scenarios with ACCNOI absent and none with it sent empty).
  • det_port.py run cbsa-bnk1dac-generated: 719/719 translated, PROVED. equivalence.py run has no committed port dir, so its java-facade columns are empty; COBOL side ran 47 scenarios, 31/31 paragraphs, 41/60 branches.
  • pr_gates --fast 6/6; tree-wide guards and test_evidence.py pass. --ratchets not run (no engine / golden change).

Sibling gaps

Non-FSET typable fields with no generated empty rule: BNK1ACC CUSTNOI (cbsa-bnk1cca), BNK1UAM ACCNOI (bnk1uac), BNK1B2M FACCNOI/AMTI/TACCNOI (bnk1tfn), EPSMLIS EPRATE/EPLOAN/EPYEARS (mortgage-mlist); one-line case changes each.

Lessons for agents

equivalence.py run on a port_from case with no committed port prints 0/N java-facade events: use det_port.py run --work DIR CASE for the proof.

🤖 Generated with Claude Code

…BNK1DAC ACCNO tested empty (Part of #4506)

FSET fields are sent with length 0, any other is omitted (X'00', length 0, flag X'00').
cbsa-bnk1dac-generated gets empty 0.2 on ACCNOI (BNK1DAC tests ACCNOI = LOW-VALUES).

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 20, 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 20, 2026 19:49
@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 19:58
@squid-protocol squid-protocol added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5773 @ b9e471b: 3 failed check(s)

== db2 1/4 (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/39486709248/job/118849526619
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --db2-only --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
fail-on-cache-miss: false
2026-10-20 19:57:34,854 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 19:58:15,292 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 19:58:57,472 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
log tail:
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 49 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-db2-logs-0.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 313315
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 1bde8a59a0e33f78ab8edd2333c66ec19264c6e4861a6123101edaf8a0eb3c0b
Finalizing artifact upload
Artifact det-sweep-db2-logs-0 successfully finalized. Artifact ID 12294608495
Artifact det-sweep-db2-logs-0 has been successfully uploaded! Final size is 313315 bytes. Artifact ID is 12294608495
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39486709248/artifacts/12294608495
Post job cleanup.
Cache hit occurred on the primary key det-sweep-m2-98c5fefef17d639238c66504eaf6e1573c412ffe1305a581287dfe28da0ef132, not saving cache.
Post job cleanup.
Post job cleanup.
Cache hit occurred on the primary key db2-odbc-cli-fdd263b6f039b9f6c0fe5acbb183eb938fb25b8e7fa8698b490d9f3ca8faff27, not saving cache.
Post job cleanup.
Cache hit occurred on the primary key gnucobol-image-11d4222492f2f912cf43943323c7d31986bb225570f062dd8f45923a338a34f0, not saving cache.
Post job cleanup.
Cache hit occurred on the primary key setup-python-Linux-x64-24.04-Ubuntu-python-3.12.15-pip-449c706c24b99ae0e511f7140fe3403790964bf18049d3d8f3bc6315d035e16c, not saving cache.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/c98a2b02-71fa-49cc-8f6a-779ede6af74f' 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

== db2 2/4 (cancelled) -- infra
https://github.com/squid-protocol/gitgalaxy/actions/runs/39486709248/job/118849526598
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --db2-only --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
fail-on-cache-miss: false
2026-10-20 20:00:39,223 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 20:01:08,968 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
2026-10-20 20:01:42,487 [WARNING] [GalaxyScope] ┃ (--fail-on-malware cannot fire). Rule-based threats still run. ┃
log tail:
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
GITGALAXY_ORACLE_PREBUILT: 1
DB2_JOBS: 4
GITGALAXY_DB2_POOL: 4
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/17.0.20-1/x64
MAVEN_ARGS: -ntp
##[endgroup]
Multiple search paths detected. Calculating the least common ancestor of all paths
The least common ancestor is /home/runner/work/_temp. This will be the root directory of the artifact
With the provided path, there will be 49 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-db2-logs-1.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 339059
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 28c34e9541e14e25f3e6e40b94cd48027c007aadce169003daaae503a6cef432
Finalizing artifact upload
Artifact det-sweep-db2-logs-1 successfully finalized. Artifact ID 12295785339
Artifact det-sweep-db2-logs-1 has been successfully uploaded! Final size is 339059 bytes. Artifact ID is 12295785339
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39486709248/artifacts/12295785339
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/55a49160-2e4d-477f-98e5-86fe23130b37' 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

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39486709248/job/118860416644
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases cbsa-crecust,mortgage-cmort,mortgage-csmrt,mortgage-mpmt,zecs-zecs003 --work /tmp/gitgalaxy-scratch/ci-digest/sweep
det cases not proven: cbsa-crecust,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-crecust NOT PROVEN
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 141 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 113918
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 1d1378f59493186ddcbbfc08beda1aebc63b5ec321663ec17b241aad786a0bf0
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12295366105
Artifact det-sweep-ledger has been successfully uploaded! Final size is 113918 bytes. Artifact ID is 12295366105
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39486709248/artifacts/12295366105
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/cf58ef56-9e41-436b-ba4f-e5d51da9e999' 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 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: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 labels Oct 20, 2026
@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 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol removed 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 labels Oct 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Oct 20, 2026
@squid-protocol
squid-protocol merged commit 40fdd56 into main Oct 20, 2026
42 of 43 checks passed
@squid-protocol
squid-protocol deleted the churn/4506-20261020T1940Z branch October 20, 2026 22:25
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 shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant