Skip to content

golden_export check: declared differences (C10 sign, SYSOUT by lines) so readacct is judged (Part of #4052) - #7824

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4052-20261105T1800Z
Nov 5, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4052-20261105T1800Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4052 (slice 13: field-level comparison with declared differences in golden_export.py check).

What

check (Python) and the generated GoldenCheck.java were byte-exact, so a correct port of a case with a declared difference failed. They now apply exactly the harness's own declared differences, and nothing else:

  • a dataset in the case's zoned_sign_equivalent (register C10) is written to golden.json and a digit vs the same digit with the positive overpunch is equal (same length only); accepted byte counts are printed;
  • SYSOUT (ASCII-compatible data encoding only) is compared by lines as compare_sysout does: golden-side libcob runtime lines, trailing blanks and trailing empty lines are not text; a golden log holding GGDISPLAY-NOT-MODELLED stays byte-exact; every other dataset stays byte-exact.
    Nothing is loosened beyond what the proof already accepts; the two languages agree (JDK tests compare their messages).

Evidence

carddemo-readacct: port translated 190/190 PROVED. prove-mutant --faults all --one-jvm --mutant-timeout 180, 4 of 107 killed ids: unmutated 0 problems (was 2: ARRYFILE = C10, SYSOUT = libcob implicit CLOSE warnings), all 4 mutants fail. docs/language_status/golden_verify_sweep.md updated. tests/tools/test_golden_export.py 28 pass (JDK present, none skipped); pr_gates --fast 9/9 (ruff 0.17.2 pinned binary; local ruff 0.16 warning). --ratchets not run: no engine, golden or ledger file touched.

Class / Sibling gaps

Class: differences the equivalence harness accepts that a byte-exact golden check reports as failures. Members: C10 zoned sign (handled), libcob SYSOUT lines (handled, ASCII encodings), V-record / COMP-5 byte order (comp5_byte_order declared difference): not handled, no burned batch case compared on it in this sweep, needs a field-layout decode (different mechanism). Sibling gaps: SYSOUT line compare for non-ASCII code pages (cp037; needs Java charset mapping); table-level compare for Db2 and CICS cases (refused kinds, not exported yet); the 19 CardDemo batch cases not yet swept.

Remaining slices

Sweep the remaining CardDemo batch cases through prove-mutant; export for call and cics kinds.

🤖 Generated with Claude Code

… as the harness applies them, so readacct is judged (Part of #4052)

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 Nov 5, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 5, 2026 18:27
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 5, 2026 18:27
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 5, 2026
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 5, 2026
@squid-protocol
squid-protocol merged commit 95c49b6 into main Nov 5, 2026
61 checks passed
@squid-protocol
squid-protocol deleted the churn/4052-20261105T1800Z branch November 5, 2026 20:58
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

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