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
Gate: narrow the corpus-report.md slurp to the report's table cells #190
Follow-up to #189, which shipped the figure gate. Filed against the merged state at d682952.
What the gate accepts today
spec/figures.test.ts scans paper/*.md prose and requires every integer to be computable from the tree or allowlisted. "Computable" is the four figures.mjs counts, two hardcoded subtractions (rulesTotal − rulesWithFixture, fixtures − wholeBuildFixtures), and every 2-to-4-digit number appearing anywhere in packages/conformance/corpus-report.md, because the paper quotes that report throughout.
With identifier-blanking now running on both sides, the accepted set is 24 values:
That is 0.24% of the range, so the gate is tight overall.
The residual, stated so a fix can be measured
11 of the 31 values between 10 and 40 are accepted. The gate is loosest exactly where the risk is highest, because a stale count is usually the true value from an earlier revision and therefore close to it.
What survives: a per-entry figure quoted in paper prose from corpus-report.md, gone stale, coinciding with another accepted value. The large distinctive counts carrying the paper's claims — 127, 135 of 139, 109, 441, 440, 304 — are well covered, and all three defects #189 caught were of that kind.
The fix
Narrow the slurp from "every number in the report" to the report's own table cells, so a number only becomes computable by being a figure the report actually publishes rather than by appearing anywhere in its text.
Deferred from #189 deliberately: it is new parsing of a file the gate does not otherwise structure, and writing it immediately before a merge was the wrong risk. Nothing about it is urgent.
Acceptance
The accepted set is recomputed and printed, and judged against the 24 above rather than asserted to have improved. If it does not shrink, the change bought nothing and should not land.
The 10-to-40 density is reported before and after, since that band is the actual weakness.
No new allowlist entries. If narrowing the slurp forces exemptions, it has moved the problem rather than fixed it.
Activity
gate: record the measured baseline and the relocation failure mode (#193
reference: record F-NoOwnExecution instead of sampling it (#178) (#206)
docs: the isolation column on the corpus page (#171 follow-on) (#213)
spec: the figure gate reads what the corpus report publishes (#190) (#…