Repository navigation
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.
docs(288): state which confusion-matrix rollup node answers which question #295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
docs(288): state which confusion-matrix rollup node answers which question #295
Changes from 1 commit
83d8981e9ab483c26020760f81656c2cfbf3477a69182d7206d2c6e4f69934449dc382f8d8c9e22a84e90d020c3File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
All nine findings. Three were substantive and two of those were mine. 1 The page published `tp=3 fd=2` and "15 leaves" for what the prose called "that list" -- the FIVE-item list established two lines above. Measured: 2-item list, all rejected overall tp=3 fd=2 15 leaves in doc 5-item list, all rejected overall tp=3 fd=5 33 leaves in doc The pinning test uses `item_count=2`, so the guard could not see the mismatch. The prose now says two items, matching the test and the numbers. 2 "equal, with an accepted subtree present" was FALSE, so the example did not falsify the rule stated one paragraph above. Measured: the three header fields are primitive leaves with no `fields` key, and `lines` is childless because every item was rejected. No accepted subtree anywhere. Worse, `test_and_an_accepted_subtree_is_present` asserted only `overall['tp'] == 3` -- three matched LEAVES -- so it did not test its own name. Found the shape that does falsify it: a nested object holding exactly ONE leaf. The object is one row on `overall`, its leaf is one row on `aggregate`, they coincide, and the subtree is accepted AND expanded. overall tp=1 aggregate tp=1 kid children ['a'] So the rule is not "coincide only where nothing is left to expand"; it is "coincide whenever every child contributes the same number of rows to each". Rewritten on both pages, in the CHANGELOG and in the module docstring, with the two claims separated: this shape is evidence about HIDING, not a counter-example to the coincidence rule. Conflating them is what put a false claim on the page. 3 The prose guards matched PER LINE, so a phrase split across a hard wrap passed -- and one already had. `CHANGELOG.md` is wrapped at ~80 columns and carried "this node's own direct / classification" across two lines, so the guard I have been treating as the safety net was passing while the claim was present. `_phrase_hits` now joins each file's authored lines, collapses whitespace, and reports the line the match starts on. Verified it catches a deliberately wrapped phrase and reports `CHANGELOG.md:538`. The historical quote that tripped it is reworded rather than exempted, so the guard stays strict. 4 "Nothing sums a node's children's `overall`" is contradicted by live source. The block exists; it just cannot produce the all-rejected behaviour, since a childless node never reaches step 2, and instrumented across the suite it contributes to nothing. Stated that way instead of denying it exists. 5 "`contact` scores 0.5" -- running the page's own example gives `field_scores['contact'] == 0.0`, clipped below the field's `threshold=1.0`. The 0.5 is the subtree mean before clipping; said so. 6 "Run the first example above" was ambiguous and not runnable: no `ground_truth`/`prediction`, no `import stickler`, and the quoted numbers belong to a different example than the page's first. Names the example and binds it. 7 The two worked examples publish root counts valid only for a list-only model, immediately after teaching that the root reads `tp=8` with header fields. They now say which model they use. 8 The clean-check walk read the WHOLE changelog, forbidding the retired form anywhere in it -- including a future shipped note quoting it as history, which contradicts the `[Unreleased]`-only policy the walker states. Same window now. 9 `line == "## [Unreleased]"` disagreed with the walker's `startswith` and a bare `next()` died with `StopIteration` instead of a diagnosis. Both fixed. 2371 passed, 12 skipped ruff check clean mkdocs --strict: 9 warnings, the dev baseline every number the corrected paragraphs publish re-measured against the engineUh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.