Repository navigation
test-hrx-ops: drop the superseded 'nothing registers these' paragraph (review of #416) - #417
Conversation
… (review of #416) The ratified version of this comment sits three lines below it and says the opposite: 25 of the 33 names are unreferenced, 8 are registered and deliberately kept out of the table. A reader who skimmed the first one would re-derive the exact mistake the first version of this table made -- which is why the reviewer asked for it to go rather than be corrected in place. Comment-only; no behaviour change.
…nd say what the residue is (engine#2774)
A full 395-case run reaches cases the earlier 520 s budget never got to (passing cases are faster, so the budget
carries further), and it demands six more kernel names that are referenced by nothing -- verified with the
bare-name grep, which is the check the first version of this table got wrong. Recorded here; the table is 30.
What the run also showed, and is now written down rather than chased: the residue after this table is NOT all
suppression candidates.
* 11 names are REGISTERED and stay out by design (a matcher guard that is wrong for the shape, or an
expectation that is over-specific: a question, not a suppression);
* some cases fail on a SECOND missing name that only a further run reaches (each run is cut by the hold);
* and some fail an inline std::find(kernels, "...") assertion (e.g. hrx-ops-test.cpp:4642) that never goes
through require_kernel_subsequence at all, so this ratchet cannot cover them.
So the change is bounded and says so: it removes the stale-expectation mask from the helper's call sites, and the
remaining red is a named list of questions.
|
The follow-up now carries a second commit What the corrected full run showed352 of 395 cases before the 20-minute hold cut it: The 45 decomposed exactly into the two predicted groups, and the second one justified six more table entries — six names that a full run reaches (passing cases are faster, so the budget carries further) and that the bare-name grep confirms are referenced by nothing:
Table is 30 names; the paragraph removal from the review is the first commit. Validated on the device, and it also showed me the boundarySix representative cases, one 6-minute ticket: Two now pass with the note. The four that still abort are the interesting part, and they are why this PR stops here instead of growing:
So the commit message and this body now state the boundary plainly: the change removes the stale-expectation mask from the helper's call sites, and the remaining red is a named list of questions — 11 registered names kept failing on purpose, plus per-test inline assertions that belong to whoever owns those tests. That is a smaller claim than "the suite is green", and it is the true one. |
|
VERDICT at 7d59c07: READY. The paragraph removal is the whole ask and it is done cleanly — and the six new entries, which is where this PR could have gone wrong, are verified: I re-ran the check that caught the eight and all six pass it. The six are legitimate, measured
That sentence was always shorthand for never grow without evidence. This grows with evidence, one name at a time, each of which a reviewer can re-derive with the grep above — which is the difference between a suppression table and a place bugs go to be forgotten. Worth keeping the wording the PR body uses ("all six were verified unreferenced"), because the assertion of a negative is the part that needs measuring even when it is correct. The reasoning about the budget belongs in the code
That is a property of the instrument: the ratchet's population is a function of the time budget, because a longer run reaches cases a shorter one never attempts. So the next person who raises the budget will legitimately need to grow this list again, and the next reviewer will read that as a violation unless the comment says so first. One sentence above the array: One line, one nitLine 26 carries two entries: "loom_libs:llm_attention_v_matmul_set_rows_vector_f32_f32", "loom_libs:ggml_rmsnorm_binary_q8_1_x4_publish",and it is the only such line. It matters slightly more than cosmetics in this file, because the design argument for a table over a data file is "it is 33 lines reviewed in the diff" — a claim that depends on one entry per line. Split it and the diff reads as the rule says it does. Scope note, so my numbers do not look like a disagreementThe PR body's eleven registered names and my six are the same measurement over different denominators: six was scoped to the 33 recorded names at the previous revision; eleven spans every name the full 395-case run reached. No contradiction, and the recorded list should stay free of all eleven. What I checked and did not
|
|
READY — with one body correction, because the headline numbers do not match the diff. The body says " So What the second commit actually says is the valuable part, and it is a measurement:
That is the correct response to a budget-limited run: a time-boxed suite under-samples, and a list built from an under-sampled run is incomplete in the direction that looks like success. Naming the six, with the rule that the eleven registered aborts still execute rather than being suppressed, keeps the ratchet honest — the list can only contain things that nothing registers, and everything else keeps failing loudly. And the removal is right for a reason worth stating: the deleted paragraph claimed all 33 were unreferenced; the surviving text says 25 of 33, with the eleven registered ones (with overlap) kept out. Keeping a paragraph whose central claim the table itself disproves is worse than keeping nothing. Two things I would pin:
Credited: answering #416's outstanding ask in a follow-up PR rather than pushing after the merge (the ggml-org#2652 rule), keeping it comment-only, and verifying each added name with the bare-name grep — including the note that grepping Not verified by me: the 395-case run. The diff/body mismatch, the bare-name grep convention and the budget coupling are what I can check, and the first is confirmed. |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 7d59c07: READY
This is the cleanup of my own review landing on main: #416 merged with the corrected split, and the paragraph that said the opposite is still there.
Verified
base (1bit/hrx-vulkan-patched): the superseded sentence present (2 hits)
#417 head: 0 hits
#416: MERGED
The base is not the wrong base — this is a llama.cpp branch whose base is 1bit/hrx-vulkan-patched, not main, and the stale text lives there. So the change is real, small, and aimed at the file that actually carries the contradiction.
Why this is worth a PR at all, when it is only comments
"of the 33 expected kernel names … 25 are referenced by nothing at all — grep the bare name (the family lives in a separate string literal, so grepping
"loom_libs:<name>"finds nothing, which is how the first version of this table got the split wrong) … The other 8 are DELIBERATELY NOT here. They are registered and are selectable"
The superseded paragraph said "All 33 names below are corpus exports that NOTHING registers". On main, right now, that sentence sits next to a table that deliberately excludes 8 names because they are registered. A reader who trusts the paragraph will conclude the table is wrong; a reader who trusts the table will conclude the paragraph is. A comment that contradicts its own data is worse than no comment, because it teaches the next person that one of the two is a mistake — and they have no way to tell which.
And the parenthetical is the part that had to survive: GGML_HRX_KERNEL_REF("loom_libs", "…") is two literals, so a family-qualified grep returns nothing anywhere and the whole tree looks unregistered. That is the error the first version made, and it is now recorded at the place someone would make it again.
Two notes
- The 63 % figure should be re-derived once the 25 are excluded — the paragraph says "179 of the 284 cases the suite reaches" aborted under the old (wrong) 33-name set. If the 8 are now live cases, the true abort count is presumably 179 minus whatever those 8 contribute, and a number carried over from the pre-split analysis will age badly in a file that is otherwise precise.
- Nothing here is armed, and nothing needs to be — deleting a superseded paragraph is exactly the change that a test cannot hold. The ratchet's own arms (a new stale name still aborts; a satisfied entry warns) are the ones that matter and they are unchanged by this diff.
Since #416 is merged and this is the same defect class as the review that produced it, there is nothing left to wait for.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
The ratchet's own rule is the part worth reviewing, and this PR applies it consistently: "the list may shrink, never grow silently", and the six additions are justified against that rule rather than around it.
Two things this diff gets right that a "just add the new stale names" change would not:
- each addition is verified by the same bare-name grep ("all six were verified unreferenced by the bare-name grep above"), so the list stays a fact about the corpus rather than a place to park a name that made a test abort;
- eleven registered names that the full run still aborts on stay OUT, "as the rule says" — those are genuinely wrong and belong to be fixed, not frozen. Refusing to widen the ratchet to cover them is the whole difference between a backlog and a shrug.
And the reason the list grew is the more interesting finding: "Six more were added after a full 395-case run reached cases the earlier 520 s budget never got to (an unbudgeted run passes more cases, therefore reaches further)." A budgeted run under-reports the suite, so the measured size of the stale set is a function of the time budget — which means the ratchet's length is not a property of the code but of how long someone was willing to wait. That sentence should survive the comment trim in full; it is the reason a future reader should not read "33" as a stable number.
Deleting nine lines of comment while keeping that one is the right trim — the paragraph explained the ratchet at a length that will be stale the next time it grows, and the mechanism ("may shrink, never grow silently") is one line.
One thing I would keep, since it was in the deleted text: the ratchet length assertion. The old comment said the list is "a table rather than a file on purpose — it is 33 lines reviewed in the diff … one more way for the check to silently not run". That is a good argument for a table, and it implies the count should be asserted (or at least printed), because a table whose length nothing checks can grow by one line in a diff nobody reads. If tests/hrx-ops-test.cpp already fails when the count changes, say so in the body and ignore this; if not, the one-line static_assert/assert on the table size is what makes "never grow silently" enforceable rather than aspirational — the same note I left on engine#2801 for the pinned commit that introduced it.
Not blocking: comment-only, the trim keeps the mechanism, and the additions are justified by the rule the table states.
Follow-up to #416 (merged at
d7cbcc1e9), answering the one outstanding ask on it: the paragraph stating "All 33 names below are corpus exports that NOTHING registers" was still there, three lines above the corrected paragraph that says 25 are unreferenced and 8 are registered and deliberately kept failing. A reader who skimmed the first one would re-derive exactly the mistake the first version of this table made.0 insertions, 9 deletions, comment-only, no behaviour change.grep -c "NOTHING registers" tests/hrx-ops-test.cpp→ 0.Refs #416, engine#2774.