Skip to content

census: wide-literal gap rows are a named source defect (Part of #7526, #7709) - #7766

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7526-20261105T0738Z
Nov 5, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7526-20261105T0738Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

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 existing scrub_key mapping 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_WHY holes already cover MOVE/STRING/UNSTRING/INSPECT (tests: STRING / UNSTRING / INSPECT wide literal is a hole by name (Part of #7709) #7738 tests); status_of counts a "source defect" owner as named.
  • gap_prevalence.py --write re-rendered census_summary.json and gap_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.py all clear.
  • No golden master touched (no engine file changed), so no crucible bless.

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

@squid-protocol
squid-protocol marked this pull request as ready for review November 5, 2026 22:21
@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.

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