Repository navigation
census: wide-literal gap rows are a named source defect (Part of #7526, #7709) - #7766
Merged
Merged
Conversation
…(Part of #7526, #7709) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-protocol
marked this pull request as ready for review
November 5, 2026 22:21
Contributor
|
No description provided. |
This was referenced Nov 6, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #7526, #7709.
What
The census ranking now reads a literal beyond the single-byte code page as a named source defect (owner
#7526) for MOVE, STRING, UNSTRING and INSPECT, so a census program whose only gaps are these counts as accounted in the #7709 trial. The translator is unchanged: the statement stays a hole by name (gen.WIDE_WHY, register D4). No bytes are chosen and no proof is claimed.Why a defect, not a translation: no single-byte EBCDIC page (037, 1140, 280/1144) holds the character, so the source as stored is no input an IBM compiler reads; its bytes depend on a transfer the repository does not record (SUB, three binary bytes, or UTF-8 as in GnuCOBOL). IBM leaves the transfer open, so guessing one would agree with one toolchain only. D4 gains a "Census accounting" paragraph saying so.
Class / Sibling gaps
Class: an alphanumeric literal holding a character beyond the single-byte code page, in a PROCEDURE DIVISION statement. Members: MOVE (2 census programs), STRING (1), UNSTRING and INSPECT (hole by name since #7738): all four are handled by this change, each pinned by
test_wide_literal_rows_are_source_defects_owned_by_7526(owner and status) and the existingscrub_keymapping row. Sibling gaps: a wide character in a VALUE, a national/DBCS literal (N'', G'', NX'', U'') or a name stays refused whole (source.unmodelled, register D4); no burned program needs any of them (0 burned programs use the family). Translating the literal needs an estate-declared transfer code page (D4 "To settle"); not guessed here.Facts checked
gen.WIDE_WHYholes already cover MOVE/STRING/UNSTRING/INSPECT (tests: STRING / UNSTRING / INSPECT wide literal is a hole by name (Part of #7709) #7738 tests);status_ofcounts a "source defect" owner as named.gap_prevalence.py --writere-renderedcensus_summary.jsonandgap_prevalence.md(MOVE 2 and STRING 1 programs move from "not modelled / unowned" to "named source defect");tests/tools/test_gap_prevalence.py, census baseline, change-classifier and source-reads guards pass (164);audit_check.pyall clear.Remaining slices
The committed summary re-render moves census accounted 21 to 22 of 40. Re-run the #7709 census re-survey to refresh the accounted count (needs
CICS_CENSUS_CORPORA, not run here). A real translation of wide literals waits on an estate's stated transfer page.Hand-written files: 3 (
tests/tools/gap_prevalence.py,tests/tools/test_gap_prevalence.py,docs/language_status/register/D4.md); regenerated:gap_prevalence.md,census_summary.json.🤖 Generated with Claude Code