Skip to content

register: C2 and C11 quote IBM's text instead of assuming it (Part of #4702) - #5384

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4702-20261017T2225Z
Oct 17, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4702-20261017T2225Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4702 (Part 1: C2 and C11; C13/C14/C4 landed in #5308).

What changed

  • C2: IBM's Appendix A quoted from the 6.4 Programming Guide (SC27-8714-03, p. 795-797): the place table for + - * /, the 30/31-digit cap with its carry table, and "Truncated intermediate results". The 30-digit truncation the oracle does not apply is now a declared oracle-vs-IBM difference; chosen behaviour stated.
  • C11: ZONEDATA text quoted (p. 428): PFD default, MIG, NOPFD, deprecated for INVDATA. States that the resolver honours PFD only, so each shape is the oracle's rule or refused by name.
  • cobolrt_rules.json: ibm set on RT-CBL-RECEIVER-NONDIGIT-REFUSED and RT-CBL-COUNTER-NONDIGIT-REFUSED.

Class: register entries that chose "match GnuCOBOL" without a cited IBM reference. Docs only; no behaviour, golden or port moves.

Gates

cobolrt_rules.py --check, register.py --check, test_cobolrt_rules.py + test_generated_docs.py + tree-wide guards, pr_gates --fast 6/6, --ratchets 8/8 (none skipped).

Sibling gaps

  • ZWB option not modelled (C13).
  • Packed/binary vs nonnumeric comparison refusal.
  • A 31+ digit intermediate on cobc was not probed (needs the Docker cobc).
  • D2 not audited; Language Reference (UNSTRING numeric INTO claim) not fetched.
  • Part 2 (z/OS calibration) blocked on access/legal.

🤖 Generated with Claude Code

…4702)

C2: Appendix A's place table, the 30/31-digit cap and the "Truncated
intermediate results" rule quoted from the 6.4 Programming Guide; the missing
30-digit truncation is a declared oracle-vs-IBM difference. C11: ZONEDATA text
(PFD/MIG/NOPFD, deprecated for INVDATA) quoted, resolver honours PFD only.
cobolrt_rules.json ibm sections set on the two ZONEDATA refusals.

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 22:38
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 22:43
@squid-protocol
squid-protocol merged commit 9629971 into main Oct 17, 2026
43 checks passed
@squid-protocol
squid-protocol deleted the churn/4702-20261017T2225Z branch October 17, 2026 23:08
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