What the Result column means, written down before the next rule asks - #36
Merged
Conversation
The owner settled a question the census fix had left implicit: the Result column says WHAT HAPPENS WHEN A RULE FIRES, never how wide the rule is. So a row reading `hard fail` counts as enforced however narrow its scope, and only a qualified result like `hard fail, on those two` counts as half-covered. PD-12 is the case that forced the question -- its gate hard-fails over exactly one count on one page -- and under this reading it is a test row, which is why the census reads seven. NOTHING CHANGES IN THE NUMBERS. The page and the test already encode this reading; what was missing was the reason. Read the other way PD-12 would join PD-8 as half-covered and the census would read six, which is defensible and is not what this page does. WHY IT IS WORTH A PARAGRAPH RATHER THAN A COMMIT MESSAGE. The next narrowly scoped gate lands on the same fork, and the numbers alone do not say which way the last one went -- a reader recounting the table would have to guess whether PD-12 was classified deliberately or by accident. That is the shape of defect this page keeps finding in itself: a figure that is right, with the derivation that makes it checkable left in somebody's head. It is recorded in both places a person could be standing when the question arises -- beside the table on the rule sheet, and in the docstring of the function that does the counting. 146 tests. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
The owner settled a question the census fix left implicit: the Result column says what happens when
a rule fires, never how wide the rule is.
So a row reading
hard failcounts as enforced however narrow its scope, and only a qualified resultlike
hard fail, on those twocounts as half-covered.PD-12is the case that forced it — its gatehard-fails over exactly one count on one page — and under this reading it is a test row, which is why
the census reads seven.
Nothing changes in the numbers
The page and the test already encode this reading. What was missing was the reason. Read the other
way, PD-12 would join PD-8 as half-covered and the census would read six — defensible, and not what
this page does.
Why it earns a paragraph rather than a commit message
The next narrowly scoped gate lands on the same fork, and the numbers alone don't say which way the
last one went. A reader recounting the table would have to guess whether PD-12 was classified
deliberately or by accident.
That is precisely the defect shape this page keeps finding in itself: a figure that is right, with
the derivation that makes it checkable left in somebody's head. So it's recorded in both places a
person could be standing when the question arises — beside the table on the rule sheet, and in the
docstring of the function that does the counting.
146 tests.
🤖 Generated with Claude Code