Repository navigation
gap_prevalence: itemise census refused: <Class> buckets (Part of #5865) - #6613
Merged
Merged
Conversation
…-free keys from the translator's own refusal texts (Part of #5865) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
This was referenced Oct 25, 2026
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 #5865.
Checklist: partial [c:c7bddb8f] -- the census summary and page need a re-run where the census clones exist (
gap_prevalence.py --census-survey DIR --census-corpora DIR --write) to pick up the new keys; they are not on this box.scrub_keycollapsed every census refusal to its exception class (refused: LayoutError= 9 programs, plus ExprError, LayoutDisagrees, UnitRefused). Added a closed table_REFUSALSof name-free construct keys, anchored on the translator's own raise texts (det/layout.py, expr.py, engine_layout.py, source.py). The key is the table's string, never a slice of the source; an unmatched message keeps the bare class. The burned page is unchanged.Class / Sibling gaps
Class: census gap keys reduced to a bare exception class instead of a per-construct key. Handled here: LayoutError (6 families), LayoutDisagrees (3), UnitRefused (5), ExprError (9 forms); each has a parametrized test, plus a test that every anchor still occurs in the translator source.
Sibling gaps:
refused: generation(message family unknown without reading census output; no burned program needs it); the census re-run itself (clones absent); owners stayunownedfor layout/expression classes (no open issue, none invented; no burned program hits them); coverage-if-closed is still unvalidated against a translation run.Tests:
tests/tools/test_gap_prevalence.py90 pass;pr_gates --fast7/7. No engine change, no golden bless.🤖 Generated with Claude Code