Skip to content

gap_prevalence: key the census numeric STRING sender row as a source defect (Part of #7523) - #7746

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7523-20261103T1811Z
Nov 5, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7523-20261103T1811Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #7523 (narrowed scope: STRING with a numeric sender that has a P or a decimal place; the code-page literal part is #7526).

What this does

The det translator already refuses this sender by name (Gen.string_sender, register C11): Enterprise COBOL 6.4 Language Reference, STRING, requires a numeric sender to be "an integer without the symbol 'P'", so a P or decimal-place numeric sender is a compile error on z/OS. The census still listed the row as not modelled / unowned, so a program refused only for it never counted as accounted. This slice keys the row as a named source defect owned by #7523 in gap_prevalence.OWNERS (same shape as #7661 for undeclared items), and regenerates the census summary and page. No engine behaviour changes, no proof loosened; modelling it would mean accepting a program IBM rejects.

Class / Sibling gaps

Class: STRING / UNSTRING / MOVE operands that IBM rejects at compile time but GnuCOBOL accepts (register C11), which the det port refuses by name instead of modelling cobc. Handled and covered: numeric sender or DELIMITED BY with a P or decimal place (test_det_nondigit_zoned.py, probed here for 9V99, 99PP, 9V99 COMP-3, 99V9 OCCURS); numeric literal sender (#7735), whose row is keyed by the same owner entry and test; UNSTRING numeric operands (unstring_operands). Sibling gaps: the STRING literal beyond the single-byte code page (register D4) is #7526, which no burned program needs (0 burned programs use it). Unverified, not changed here: whether a COMP / COMP-3 integer STRING sender (probe: translates, no hole) is also a compile error in IBM's USAGE DISPLAY rule; I did not have the Language Reference text to confirm, so it stays as is. No burned program needs any of these (burned programs affected: 0).

Facts checked: string_sender raises for PIC 9V99, 99PP, 9V99 COMP-3, 99V9 OCCURS 2 and S(1); integer COMP, COMP-3, COMP-5, signed and numeric-edited senders translate. gap_prevalence.py --write changes only the owner cell of that row (census_summary.json one line, the page two rows). tests/tools/test_gap_prevalence.py: 114 passed.

Remaining slices

None for this issue's narrowed scope. Whether the census trial accounts a source-defect owner as translated-or-defect is #7709's measurement.

Hand-written files: tests/tools/gap_prevalence.py, tests/tools/test_gap_prevalence.py. Regenerated: docs/language_status/gap_prevalence.md, tests/fixtures/gap_prevalence/census_summary.json.

🤖 Generated with Claude Code

@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 03:24
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 5, 2026 03:25
@squid-shepherd
squid-shepherd Bot merged commit 05aead5 into main Nov 5, 2026
62 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/7523-20261103T1811Z branch November 5, 2026 04: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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant