You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PL/I .inc include is detected as C (seed) and assembly (Nordic / German variants): two gauntlet cells ledgered #3867
Found while merging the Tours-the-Globe PRs (milestone "GitGalaxy Tours the Globe").
What
In the Unicode Gauntlet's mainframe seed, mainframe/pli/INCA.inc is a PL/I include. The engine detects it as:
c on the ASCII seed, which is already wrong;
assembly on two variants with national letters in the name and body: INCAÄÖÜ.inc (mainframe|german|utf-16) and INCAÆØÅ.inc (mainframe|nordic|utf-8-sig).
Process note:--update-baseline after a merge can hide a regression. When refreshing a baseline after merging main, compare it with the baseline main itself carries: tests/tools/pr_gates.py without --lower-baseline reports new cells rather than recording them.
Update 2026-09-27 (from the #3810 work): on current main both ledgered cells pass again, but not because the include is now detected as PL/I. INCA.inc (one line, DCL CODEA CHAR(2);) is now excluded in both the seed and the variants (excluded_artifacts: "Unresolved Ambiguity (No Retainable Structure)"), so the metamorphic comparison matches trivially. The #3810 PR removes the two stale baseline lines; the root cause (step 2 here: a .inc%INCLUDEd by a PL/I program, beside PL/I siblings, should resolve to pli) is still open.
Correction to my comment above: the two cells still FAIL in the real CI run. My check used --only mainframe, where the seed is scanned alone and INCA.inc is excluded as unresolved on both sides. In the full gauntlet, the mainframe seed shares one estate with every rosetta language, and there the include is still detected as c (seed) and assembly (national variants), i.e. the sibling/content vote leans on the estate's other languages. The baseline lines stay; the root cause (resolve a .inc%INCLUDEd by a PL/I program to pli) is unchanged. Also worth noting for the fix: --only mainframe does not reproduce it.
Another symptom, found while adding the raw-EBCDIC gauntlet cells (#3816 part 2). The include's fate depends on what else is in the estate, not only on its own text:
Alongside every rosetta language (the gauntlet's seed / twin__* estates): mainframe/pli/INCA.inc is detected as c.
The mainframe seed alone, same bytes, UTF-8: it's excluded as Unresolved Ambiguity (No Retainable Structure), with no file_data row at all.
Decoding isn't involved. A UTF-8 mainframe-only copy reproduces it, and padding the line to 80 columns changes nothing. The gauntlet side is handled in #3816 part 2: EBCDIC estates now carry their reference estate's other languages, so they compare like for like. The engine behaviour is this issue's: a one-line PL/I DCL include has no stable identity of its own, so its language comes from its neighbours.
Activity
squid-protocol commentedon Sep 27, 2026
Update 2026-09-27 (from the #3810 work): on current main both ledgered cells pass again, but not because the include is now detected as PL/I.
INCA.inc(one line,DCL CODEA CHAR(2);) is now excluded in both the seed and the variants (excluded_artifacts: "Unresolved Ambiguity (No Retainable Structure)"), so the metamorphic comparison matches trivially. The #3810 PR removes the two stale baseline lines; the root cause (step 2 here: a.inc%INCLUDEd by a PL/I program, beside PL/I siblings, should resolve topli) is still open.squid-protocol commentedon Sep 27, 2026
Correction to my comment above: the two cells still FAIL in the real CI run. My check used
--only mainframe, where the seed is scanned alone andINCA.incis excluded as unresolved on both sides. In the full gauntlet, the mainframe seed shares one estate with every rosetta language, and there the include is still detected asc(seed) andassembly(national variants), i.e. the sibling/content vote leans on the estate's other languages. The baseline lines stay; the root cause (resolve a.inc%INCLUDEd by a PL/I program topli) is unchanged. Also worth noting for the fix:--only mainframedoes not reproduce it.#3814: lower the gauntlet baseline to the 14 cells still failing (920…
#3814 (part 6): UAX #31 names for Ada, Tcl, Haskell, Scheme and Power…
#3816 (part 2): an EBCDIC estate keeps its reference's other languages
squid-protocol commentedon Sep 27, 2026
Another symptom, found while adding the raw-EBCDIC gauntlet cells (#3816 part 2). The include's fate depends on what else is in the estate, not only on its own text:
seed/twin__*estates):mainframe/pli/INCA.incis detected as c.Unresolved Ambiguity (No Retainable Structure), with nofile_datarow at all.Decoding isn't involved. A UTF-8 mainframe-only copy reproduces it, and padding the line to 80 columns changes nothing. The gauntlet side is handled in #3816 part 2: EBCDIC estates now carry their reference estate's other languages, so they compare like for like. The engine behaviour is this issue's: a one-line PL/I
DCLinclude has no stable identity of its own, so its language comes from its neighbours.Generated by Claude Code
#3867: a PL/I %INCLUDE member named .inc resolves to pli (#3897)
#3816 (part 2): the Unicode Gauntlet writes the mainframe seed as raw…