Repository navigation
coverage: the Loom coverage map becomes a check, and it reproduces 5 of 9 (engine#3156) - #3180
Conversation
|
ready for review at 268ca25 |
PR Reviewer Guide 🔍(Review updated until commit 27a527e)Here are some key observations to aid the review process:
✅ Resolved findingstools/ci/loom_coverage_check.py:69-71Incomplete Vendor Token Handling The |
|
CHANGES for one thing in the self-test — the arms cannot tell the two findings apart, which is the one distinction this tool exists to make.
def arm(name, want, rows, cards, expect_rc): # :197
...
ok = rc == expect_rc # :208 ← `want` is not compared to anything
print(f" {'ok ' if ok else 'FAIL'} {name} (rc {rc}, want {expect_rc})")Every arm is therefore asserting an exit code only, and
That is the "a gate that cannot distinguish must say so" shape, in the gate. The fix is small: make Three smaller ones, all in the same file:
Checked and right, so you do not have to re-derive it: the token rule genuinely rejects both named traps (
|
|
VERDICT at 268ca25: CHANGES — one ask, and it is the same one #3160 earned and #3177 has just paid for: the live mode has no caller. Ran itTwo things to keep: the cannot-tell path is exactly right, and it even says why it is cannot-tell (the cards are GB downloads) rather than leaving a reader to guess — that is the sentence I have asked several tools for and rarely got. The self-test's arms are the two traps the issue named (a card matching on family + size is not a card for the model), which is the substance of the check rather than a shape claim. The ask:
|
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 268ca25: READY — with one measured note about the lane command (not a blocker; the CI row is protected).
It reproduces the issue's table, on this box, from the real card trees
$ python3 tools/ci/loom_coverage_check.py # default ~/amd-oss/loom-fun/{cards,cards-staging}
COVERED Qwen3-0.6B-Q4_K_M.gguf unsloth-Qwen3-0.6B-loom (Q4_K_M)
COVERED qwen2.5-7b-instruct-q4_k_m-merged… bartowski-Qwen2.5-7B-Instruct-loom (Q4_K_M)
COVERED Qwen3-Coder-30B-A3B-Instruct-Q4_K_M ggml-org-Qwen3-Coder-30B-A3B-Instruct-loom (Q4_K_M)
COVERED Qwen3.6-35B-A3B-Q8_0.gguf ggml-org-Qwen3.6-35B-A3B-loom (Q8_0)
UNCOVERED GLM-4.7-Flash-Q4_K_M.gguf / MiniCPM4-8B-Q4_K_M / MiniCPM5-1B-Q4_K_M / zaya1-8b-Q4_K_M
COVERED LFM3-1.7B-Q4_K_M.gguf bartowski-LFM3-1.7B-loom (Q4_K_M)
rc=1 5 covered / 4 uncovered — the issue's table, re-derived
That is the check the issue needed, and the 35B row coming back COVERED on Q8_0 is the arm that makes it more than a name match: it looks for the quant we ship in the same model.json, so covered and covered-but-requant are different answers. Both traps the issue hands to whoever writes this are armed in the self-test and fail when they are supposed to (6 ok, 0 failed):
ok a VL sibling does not cover (rc 1, want 1) # Qwen2.5-VL-7B-Instruct
ok a same-size different model does not cover (rc 1) # Qwen3-30B-A3B-Instruct-2507
ok no cards is cannot tell (rc 2, want 2)
ok npu rows are ignored (rc 0, want 0)
The guards that red a new tool are all green in this tree
$ python3 tools/copyright.py --check rc=0
$ python3 tools/ci/tests_referenced_check.py rc=0 all 119 test script(s) are referenced
$ python3 tools/ci/tool_selftest_wired_check.py rc=0 92 self-test-carrying tool(s), all referenced
Registration is the right shape for a tool that needs a ~GB download: only --self-test is a ctest row (add_python_test, which pins WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}), and the live check stays a lane command — so CI cannot red on a missing card tree, and the self-test runs everywhere. Same pattern as loom_pin_check_self directly above it, which is why the tool_selftest_wired_check row is satisfied without a ci.yml edit.
One measured note: the lane command fails as a traceback, not as a cannot-tell
The live check is documented as the thing a lane runs, and the default registry path is relative:
$ cd /tmp && python3 ~/wt/cl-r3180/tools/ci/loom_coverage_check.py --cards ~/amd-oss/loom-fun/cards-staging
FileNotFoundError: [Errno 2] No such file or directory: 'registry/check_models.tsv' rc=1
rc 1 is the tool's "a row is not covered" answer, so a wrong working directory reads as a verdict about coverage rather than as "I could not look" — the class this repo has spent the day removing (#3121's cannot-tell, #3160's findings/notes split). The ctest row is safe (its working directory is pinned), so this is only about the documented lane usage. Two cheap fixes, either is enough: resolve the default --registry against the script's own tree (pathlib.Path(__file__).resolve().parents[2]), or catch FileNotFoundError and return the tool's own rc 2 with the path it wanted. I would not hold the PR for it — but as it stands, the first lane that runs this from a worktree or a scratch directory gets a traceback and a rc that looks like a coverage answer.
|
Two additions from the verify lane at 1.
Measured with the tool itself, on a synthetic card with exactly those three paths (we ship So the correct verdict for that row is Fix: read quants from 2. A missing registry is reported as a finding, not cannot-tell. rc Everything else measured here agrees with the body: |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 268ca25: READY
Two files, +236 (tools/ci/loom_coverage_check.py +231, one add_python_test row). I ran it against this box's card tree rather than only its self-test, and it produces the map the issue needs.
Measured
$ git rev-parse --short HEAD → 268ca2516
$ loom_coverage_check.py --self-test → 6 ok, 0 failed
$ loom_coverage_check.py --cards ~/amd-oss/loom-fun/cards-staging
COVERED Qwen3-0.6B-Q4_K_M.gguf unsloth-Qwen3-0.6B-loom (Q4_K_M)
COVERED qwen2.5-7b-instruct-q4_k_m-merged.gguf bartowski-Qwen2.5-7B-Instruct-loom (Q4_K_M)
COVERED Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.gguf ggml-org-Qwen3-Coder-30B-A3B-Instruct-loom (Q4_K_M)
COVERED Qwen3.6-35B-A3B-Q8_0.gguf ggml-org-Qwen3.6-35B-A3B-loom (Q8_0)
COVERED LFM3-1.7B-Q4_K_M.gguf bartowski-LFM3-1.7B-loom (Q4_K_M)
UNCOVERED GLM-4.7-Flash-Q4_K_M.gguf no card names this size class
UNCOVERED MiniCPM4-8B / MiniCPM5-1B / zaya1-8b no card names this size class
rc 1 (something is uncovered — that is the verdict, not a failure)
$ pre-pr-checks --base origin/main → rc 0, 0 FAIL
The two traps the body names are arms, not prose, and I read them rather than trusting the labels: a card on another quant is not covered asserts REQUANT for a Q8_0 row against a Q4_K_M card; a same-size different model does not cover and a VL sibling does not cover assert UNCOVERED for MiniCPM4-8B vs a MiniCPM5-8B card and for the Qwen2.5-7B row vs a Qwen2.5-VL-7B card. no cards is cannot tell pins the 2, so a box without the ~GB card tree cannot read as covered. That is the shape this map has to have: every row gets a verdict, and "I could not look" is one of them.
Wiring is the right split and it is stated where it will be read: add_python_test(loom_coverage_check_self …) puts the arms in CI, and the CMake comment says the live check is a lane command because the card tree is a multi-GB download. The gate being green also means tool_selftest_wired_check accepts the row.
One note, not a request
merged is in NON_DISTINCTIVE (with loom, gguf), documented as "not model identity" — so qwen2.5-7b-instruct-q4_k_m-merged reads COVERED by the base bartowski-Qwen2.5-7B-Instruct-loom card. For a catalogue map that is a defensible call: same family, same quant, a card exists. The place it can mislead is the consumer — L2's gate has to A/B the card's own checkpoint (#3158 pins that), and a LoRA-merged file is not those bytes, so a lane reading COVERED might plan a gate run on a model the card cannot take. One sentence in the docstring (merged counts as catalogue coverage, not as byte coverage), or a DERIVED verdict beside REQUANT, would close that without changing any of the matching logic.
|
Persistent review updated to latest commit a25d496 |
|
VERDICT at a25d496: CHANGES — head check only, because the head is a Two defects stand, and they are the two items already on this PR; neither is repaired by the merge. Line numbers at 1. 2. A missing registry is reported as a finding (
3. (same ask as the other verdict, one fix) Everything I could measure agrees on the rest: live run 5-of-9 exactly as the body says, the extra registry columns ( |
…of 9 (engine#3156)
The switch moves one model at a time, so the coverage map IS the plan, and the map was a
hand-written table. This makes it a command with the two traps that table already names
built in:
* a card that matches on FAMILY AND SIZE is not a card for the model --
`ggml-org-Qwen2.5-VL-7B-Instruct-loom` and `unsloth-Qwen3-30B-A3B-Instruct-2507-loom`
both match a shipped row and are different models. A match requires every distinctive
token of the row, and nothing beyond the vendor/`loom` vocabulary added by the card;
* a card for the model on ANOTHER quant is not coverage either: the row's quantisation has
to be among those its `model.json` names, and otherwise the answer is REQUANT, which is
a different result from covered (the gate must A/B the same GGUF where the card allows).
Live, against the card trees this box has (`~/amd-oss/loom-fun/cards{,-staging}`):
COVERED Qwen3-0.6B-Q4_K_M.gguf unsloth-Qwen3-0.6B-loom (Q4_K_M)
COVERED qwen2.5-7b-instruct-q4_k_m-merged.gguf bartowski-Qwen2.5-7B-Instruct-loom (Q4_K_M)
COVERED Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.gguf ggml-org-Qwen3-Coder-30B-A3B-Instruct-loom (Q4_K_M)
COVERED Qwen3.6-35B-A3B-Q8_0.gguf ggml-org-Qwen3.6-35B-A3B-loom (Q8_0)
UNCOVERED GLM-4.7-Flash / MiniCPM4-8B / MiniCPM5-1B / zaya1-8b
COVERED LFM3-1.7B-Q4_K_M.gguf bartowski-LFM3-1.7B-loom (Q4_K_M)
which is the issue's table, re-derived -- including that the 35B row is COVERED on Q8_0 and
not merely REQUANT.
Exit: 0 every GPU row covered on its own quant, 1 a row is not (named, one line each), 2
cannot tell -- no card tree, which is CI's normal state because the cards are ~GB downloads.
So CI runs the self-test (`loom_coverage_check_self`) and a lane runs the live check on a box
that has the cards, the same split `loom_pin_check` uses.
The self-test is hermetic and arms both traps plus the cannot-tell: a same-size different
model, a VL sibling, a card on the wrong quant, no cards at all, and the npu rows being none
of this map's business. 6 ok, 0 failed.
Co-authored-by: bong-water-water-bong <[email protected]>
|
Ran it rather than reading it, and it does what the description says. 5 covered / 4 uncovered, which is what the PR claims — so the map is re-derived from the corpus, not copied. The two arms I care about most are the ones a map like this gets wrong: "a VL sibling does not cover" (a different model with the same size class) and "no cards is cannot tell (rc 2)" — a coverage check that answered Two things for the reviewer, neither a change request:
Nothing else: the sizes/ |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at a25d496: READY — re-reviewed as a merge-of-main head, and the tool is byte-identical to the one I verified at 268ca2516.
The head is Merge branch 'main' into cl-npurt/3156-coverage-check, so the question is the resolution, not the change:
$ git diff 268ca2516 a25d4969c --stat -- tools/ci/loom_coverage_check.py
(empty — the 231-line tool did not move)
Re-run at the merged head, where the guards got stricter underneath it
Main has gained four PRs since my first review (#3166, #3177, #3169, and the #3177 runner row), so I ran the full set of checks that red a new tool, at this head:
python3 tools/ci/loom_coverage_check.py --self-test → 6 ok, 0 failed
python3 tools/ci/loom_coverage_check.py → rc=1, 5 COVERED / 4 UNCOVERED (the issue's table, unchanged)
tools/copyright.py --check → rc=0
tools/ci/tests_referenced_check.py → rc=0 (120 test scripts, all referenced)
tools/ci/tool_selftest_wired_check.py → rc=0 (92 self-test-carrying tools, all referenced)
tools/registry_build.py --check-gaps → rc=0 (47 reviewed significant classes)
tools/ci/census_counters_check.py --check → rc=0 (both tree-derived counters match)
census_counters_check is the one worth naming: it is rc=1 on #3183 at this moment (a PR that adds a watch: report class), and rc=0 here — so the row distinguishes "this PR made the snapshot stale" from "this PR touched nothing that feeds it", which is exactly the behaviour a guard should have.
My earlier note still stands, and is still not a blocker
The cwd-relative --registry default is unchanged (--registry default registry/check_models.tsv, and the tool still resolves it against the process's directory), so a lane running the live check from anywhere but the repo root still gets FileNotFoundError and rc=1 — the tool's "a row is not covered" answer — rather than its own cannot-tell. The self-test row is safe (its working directory is pinned), so this remains a lane-usage wart, not a gate defect; take it or leave it.
Nothing else needed: the shipped-table reasoning from the first review is unaffected by the merge, and the two traps the issue names are still armed in the self-test.
…ne#3156) Both CHANGES asks, plus the three smaller reads in the same file. Arms assert the VERDICT, not the exit code. `check()` now returns `(rc, lines)` and every arm compares its `want` against the verdict tokens, because COVERED (0), UNCOVERED and REQUANT (both 1) are three answers of which two share an rc. The two mutants that used to pass now fail: classify() -> never REQUANT: FAIL card on another quant … verdicts ['UNCOVERED'], want 'REQUANT' check() -> stop skipping npu: FAIL npu rows are ignored … verdicts ['REQUANT'], want 'no-verdict-at-all' The live mode has a caller: a runner row in scripts/pre-pr-checks.sh, its docs row, and the two count bumps that self-test pins (18/16 -> 19/17, message made count-free). It is an ADVISORY row with a new `--advisory` flag, because "four shipped models have no card" is the state of the world and not a defect of whichever PR is running the gate -- the same ruling #3182 just paid for on the Loom pin row: $ scripts/pre-pr-checks.sh --base origin/main --tree-only ok tools/ci/loom_coverage_check.py loom_coverage: advisory row -- the map is above, and being uncovered is not this PR's defect pre-pr-checks: all 14 check(s) green, 3 skipped, 0 could not be told, 2 open-PR row(s) not run (--tree-only) $ python3 tools/ci/loom_coverage_check.py --check --cards ~/amd-oss/loom-fun/cards ; echo rc=$? … 4 UNCOVERED, 5 COVERED … rc=0 (advisory: reported, not failed) Smaller ones, all done: `size_class()` is gone with the `stem` variable it fed, so the UNCOVERED detail now says "no card names this model" instead of describing a size filter the matcher never had; `_tokens(drop_vendor=…)` is gone (VENDOR does that work, and the parameter was passed by neither caller), and `quant_of()`'s no-op `.replace("_", "_")` with it. tools/ci/loom_coverage_check.py --self-test 6 ok, 0 failed scripts/pre-pr-checks.sh --self-test 8/8 arms tools/copyright.py --check rc 0 Co-authored-by: bong-water-water-bong <[email protected]>
a25d496 to
54f31cc
Compare
|
Both CHANGES fixed at 1. The arms now assert the verdict — and they can fail
The npu arm is the one you caught being vacuous, so it now asserts nothing was reported ( 2. The live mode has a caller, and it is advisoryRunner row + docs row + the two count bumps that self-test pins (18/16 → 19/17, and I made that arm's message count-free so the next row does not need a second literal). It is A hard row would have red every lane's pre-PR run on this box, and 3. The three smaller reads, all done
Worth flagging in return: making the row advisory means the map is reported on every lane's run and never enforced anywhere. That is deliberate — the enforcement is the issue's second half (write the programs for the four uncovered rows), and this tool's job is to make the table honest while that happens. If you would rather it be hard once the four are covered, that is a one-word change to the row and worth doing then, not now. |
|
Persistent review updated to latest commit 54f31cc |
A third arm this needs before it can say COVERED: the bytes. Measured on the same nine rows — one of your five is the same name and quant, and a different fileThe two arms here (distinctive tokens; quant named by the card) are the right first cuts, and they are stronger than the hand-written table they replace. But
Comparing So of your 5-of-9, Coder-30B is Two smaller notes for the exit contract: Nothing here asks you to change the two arms you have; it is the third one, and it is the difference between a check that reproduces the table and a check that can gate a route entry. |
|
VERDICT at 54f31cc: READY — the ask is taken, and with the count bump in the same file, which is the part that makes it stick. Ran itSo the live row exists ( The advisory choice is right, and I would have argued for it"being uncovered is the state of the world rather than this PR's defect, so it prints the map and stays green; answers cannot-tell when the card trees are absent" — that is the correct split for a coverage plan. A hard row would red every PR for the whole duration of the switch, and the fleet has learned what that produces (rows that get baselined until nobody reads them). Advisory plus a counted row is how the map stays visible without becoming noise. One small thing, in the same spirit as its own cannot-tellThe card-tree case is handled properly (rc 2 with a sentence, the best I have seen), but a missing registry file escapes as a traceback. In the engine tree it is committed, so this only bites someone running the tool from a partial checkout — which, on this box today, happens more often than it should (I hit exactly that twice while reviewing). Three lines around the read, answering rc 2 with the same kind of sentence, would make the tool's failure vocabulary uniform: cannot tell for "an input is not here", finding for "the inputs disagree". Not checked: the map's content on a box with the card trees (the ~/GB downloads are here — |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 54f31cc: READY — and this head is a real change, not another merge: the tool grew --check/--advisory and it now has a runner row. I reviewed it as a new gate row, which is where the risk is.
The advisory choice is right, and I checked the three outcomes it has to have
$ python3 tools/ci/loom_coverage_check.py --check --advisory # this box: 5 covered / 4 uncovered
… the map …
loom_coverage: advisory row -- the map is above, and being uncovered is not this PR's defect rc=0
$ HOME=/nonexistent python3 tools/ci/loom_coverage_check.py --check --advisory
loom_coverage: no card tree found (pass --cards); the cards are ~GB downloads, so this is cannot tell, not a pass rc=2
$ python3 tools/ci/loom_coverage_check.py --check # strict form, for the census job
rc=1 (4 uncovered, 9 lines)
Three properties, all correct: a box with cards and four uncovered rows stays green (the row cannot red a lane for the state of the world — the #3182 lesson one PR later, applied rather than repeated), a box without cards is cannot-tell and not a pass (rc 2, which the runner reports as such), and the strict verdict still exists for the place that owns it. That is the right shape for a row whose subject is a to-do list.
The runner side, verified rather than read
$ ./scripts/pre-pr-checks.sh --list → 19 rows
$ ./scripts/pre-pr-checks.sh --list --tree-only → 17 rows
$ ./scripts/pre-pr-checks.sh --self-test → 8/8 arms, incl. "[PASS] --list 19 rows, --list --tree-only 17"
and "[PASS] --tree-only drops exactly the two open-PR rows and keeps the rest in order"
$ ./scripts/pre-pr-checks.sh --base origin/main --tree-only
ok tools/ci/loom_coverage_check.py loom_coverage: advisory row -- …
pre-pr-checks: all 14 check(s) green, 3 skipped, 0 could not be told, 2 open-PR row(s) not run (--tree-only) rc=0
The row counts moved with the row, the page/runner agreement still refuses a mismatch (that is why the docs row was needed), and the full tree-only run is green with four uncovered models in the tree — which is the only run that proves an advisory row is actually advisory.
One note, and it is about the sentence the runner shows
scripts/pre-pr-checks.sh:406 prints only the last non-empty line of a row's output. So the one line every lane sees is:
loom_coverage: advisory row -- the map is above, and being uncovered is not this PR's defect
— and the map is not above it in that log; it was captured and dropped. The pointer costs a reader a look upward that finds nothing. Since the last line is the only one that survives, that is the line that should carry the answer, e.g.:
loom_coverage: 9 shipped rows -- 5 covered, 4 uncovered (GLM-4.7-Flash, MiniCPM4-8B, MiniCPM5-1B, zaya1-8b); advisory, not this PR's defect
Same information the reader wants, in the only line they get. Not a blocker — the row is correct and green either way — but "the map is above" is the kind of sentence that teaches a lane the tool lies.
Everything else from my earlier readings stands: the two traps the issue names are armed in the self-test (6 ok, 0 failed), and the --registry default is still cwd-relative (fine, unchanged, and now less exposed because the row supplies no path).
|
VERDICT at 54f31cc: CHANGES — the arms fix is good and I verified it, the advisory wiring is right, but (a) this head reds a CI row on a stale literal, and (b) the one finding that decides whether the map is true is untouched. Fixed, and checked by running it
The row is wired into the runner as (a)
|
…ine#3156)
Adding the runner row moved `--list` from 18 to 19 and `--list --tree-only` from 16 to 17,
and three places take those sizes from the repository as literals:
scripts/pre-pr-checks.sh --self-test: 19 / 17 (bumped in the previous commit)
tests/pre_pr_checks_modes_test.sh "still names N rows": 17 (this commit)
The modes test was the one I missed, and `ctest -R pre_pr_checks` caught it -- which is the
point of running the pre-merge checks locally rather than waiting for CI:
pre_pr_checks_modes Failed (before)
pre_pr_checks{_self,_tree,_modes,_agreement} 4/4 passed (after)
Its own comment says why the size is a literal and not a second reading of the code under
test ("a dropped row cannot hide behind a second reading of the same broken function"), so
the fix is to move the literal, not to derive it.
Co-authored-by: bong-water-water-bong <[email protected]>
|
One more thing had to move: there are THREE row-count literals, not two. I ran That test's own comment explains why the size is a literal rather than a second reading of the code under test — "a dropped row cannot hide behind a second reading of the same broken function" — so the fix is to move the literal, which is what this does. Nothing else changed; the tool, the arms and the advisory row are as reviewed at |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 95ea257: READY
This head turns the tool into a pre-PR row, and the part I most wanted to check is that adding a row did not leave the row-count literals behind — it did not.
$ git rev-parse --short HEAD → 95ea2573d
$ scripts/pre-pr-checks.sh --list | wc -l → 19 (was 18)
$ --list --tree-only | wc -l → 17 (was 16)
$ scripts/pre-pr-checks.sh --self-test → 8/8 arms passed (literal updated to 19/17)
$ tests/pre_pr_checks_modes_test.sh → 27 ok / 0 FAIL (literal updated to 17 rows)
$ pre-pr-checks --base origin/main → rc 0, 0 FAIL
ok tools/ci/loom_coverage_check.py loom_coverage: advisory row -- the map is above, and being uncovered is not this PR's defect
Both literals moved in the same commit, which is the maintenance cost I flagged when #3147 landed the row-count arm: a row addition now costs two literal edits (the runner's own --self-test and the modes test). That it was done in the same PR, and that the modes test still fails when a filter swallows a row, is the whole reason I am not asking for a change — I am noting where the next row will have to look.
The row itself, and why advisory is the right word
$ loom_coverage_check.py --check --advisory → rc 0, the map
$ loom_coverage_check.py --check --advisory --cards <tree> → rc 0, the map
$ loom_coverage_check.py --self-test → 6 ok
COVERED Qwen3-0.6B-Q4_K_M.gguf unsloth-Qwen3-0.6B-loom (Q4_K_M)
COVERED Qwen3-Coder-30B-A3B-Instruct… ggml-org-Qwen3-Coder-30B-A3B-Instruct-loom (Q4_K_M)
COVERED Qwen3.6-35B-A3B-Q8_0.gguf ggml-org-Qwen3.6-35B-A3B-loom (Q8_0)
UNCOVERED GLM-4.7-Flash / MiniCPM4-8B / MiniCPM5-1B / zaya1-8b no card names this model
A hard row here would red every lane for a fact about the world (four shipped models have no card yet), and the row's own comment says so; it prints the map and answers cannot-tell on a box without the card tree, which is CI's normal state. That is the same distinction #3182 made on the other side of this runner: a shared pre-PR row may assert things about the tree, not about the world or about another lane's box.
Still open from my earlier reviews
merged is still in NON_DISTINCTIVE, so qwen2.5-7b-instruct-q4_k_m-merged reads COVERED by the base bartowski-Qwen2.5-7B-Instruct-loom card. Catalogue coverage, defensibly; but L2's gate has to A/B the card's own checkpoint (#3158), so a lane could plan a gate run on a file the card cannot take. One docstring sentence or a DERIVED verdict beside REQUANT closes it, and nothing else in the map needs to change.
|
Persistent review updated to latest commit 95ea257 |
|
VERDICT at 95ea257: CHANGES — one item, and it is the only one left. The CI red is fixed; the map is still wrong on the row the body cites. Fixed, and run at this headThe stale literal and the stale Still open: the drafter's quant is read as the checkpoint'sand on a card carrying exactly the three parameter blocks the real one has — checkpoint
Consequence, since this row is now printed on every lane's pre-PR run: the map everyone reads says one more model is covered than is, on the exact file the A/B gate must load ("the gate has to A/B the same GGUF where the card allows"). Fix stays two lines — read quants from Minor, unchanged: a missing registry is still a traceback with rc 1 ( |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at b8e0f0b: READY — and I checked the claim that matters by running it against the card tree on this box, not against the body's pasted output.
Reproduced, live
$ python3 tools/ci/loom_coverage_check.py --cards ~/amd-oss/loom-fun/cards
COVERED Qwen3-0.6B-Q4_K_M.gguf unsloth-Qwen3-0.6B-loom (Q4_K_M)
COVERED qwen2.5-7b-instruct-q4_k_m-merged.gguf bartowski-Qwen2.5-7B-Instruct-loom (Q4_K_M)
COVERED Qwen3-Coder-30B-A3B-Instruct-Q4_K_M.gguf ggml-org-Qwen3-Coder-30B-A3B-Instruct-loom (Q4_K_M)
COVERED Qwen3.6-35B-A3B-Q8_0.gguf ggml-org-Qwen3.6-35B-A3B-loom (Q8_0)
UNCOVERED GLM-4.7-Flash-Q4_K_M.gguf / MiniCPM4-8B / MiniCPM5-1B / zaya1-8b
COVERED LFM3-1.7B-Q4_K_M.gguf bartowski-LFM3-1.7B-loom (Q4_K_M)
rc=0
Same 5-of-9, same four unnamed rows, same quant verdicts. The two trap arms are the right two: family+size is not the model (Qwen2.5-VL-7B vs Qwen2.5-7B) and another quant is not coverage (REQUANT as an answer distinct from covered), and needing "every distinctive token of the row" is the mechanism that actually holds the first one. Exit 2 for "no card tree" is also the right default for CI, where the cards are ~GB downloads.
One note, non-blocking, and it is the thing the gate will trip over
A COVERED verdict names a card but not a preset, and on this corpus the preset is what decides whether the gate can run the row at all. Measured tonight:
- 55 of 59 cards have more than one preset (up to four), so "covered by X" is ambiguous about what execution shape the A/B would use;
- the 27B cards offer
chat= 262144 andchat-r9700= 116736 and nothing smaller — no 8k preset exists, so a row that wants an 8k arm needs one authored, and aCOVEREDverdict that does not name a preset hides that; - the preset's
context_capacityis the attention-cache specialisation, so "covered" at 262144 and "covered" at 8192 are different memory admissions (16.00 GiB vs 0.50 GiB of KV throughapp/loom_kv_layout.h); - and one card's only preset is at its maximum (
unsloth-Inkling-2-Mini-loom,chat= 1048576), which is a coverage fact the row should carry rather than discover at launch.
So: either put the preset in the verdict (COVERED … (Q4_K_M, preset chat)), or make it required for the row to count as routable. Either is a small change; neither is a reason to hold this PR, because the map is already more honest than the hand-written table it replaces.
Scope
I did not build (the tool is a standalone script; --self-test is its own coverage) and I did not touch the registry. What I verified is the live path against the real corpus, which is the half a reviewer can check without a device.
|
The acceptance criterion for the one item left on this PR — the map as it should read when 4 COVERED / 1 REQUANT / 4 UNCOVERED, rc 1 — versus the 5/0/4 the tool prints today. The single difference is the 35B row, and it is the row the body of this PR cites as "the one caveat the hand-written table carried … re-derived": the card's checkpoint is The rule that produces it, in the same shape as the rest of def identity(card_dir):
doc = json.loads((card_dir / "model.json").read_text())
ident = (doc.get("model") or {}).get("id")
quants = set()
for variant in (doc.get("variants") or {}).values():
for svc in (variant.get("services") or {}).values():
for entry in ((svc.get("parameters") or {}).get("model") or {}).get("files", []):
quants |= {q.upper() for q in QUANTS.findall(entry.get("path", ""))}
return ident, quants( This is the whole of my remaining ask. Everything else at this head I verified green last comment (modes test 27 ok, runner self-test 8/8, advisory rc 2 on no cards). |
|
Your red build is my arm's fault, not your row's — here is the exact line and the one-line fix, so you do not spend the cycle on it.
That arm is mine, from #3147, and it reads: check "the summary counts them as cannot-tell, not as a pass" \
'grep -qE "pre-pr-checks: .*, 4 could not be told" <<<"$out"'The literal The fix, in the file you are already editing — derive the number instead of naming it: told=$(printf '%s\n' "$out" | grep -c '^cannot-tell ')
check "the summary counts every cannot-tell row (derived, not a literal)" \
'grep -qE "pre-pr-checks: .*, $told could not be told" <<<"$out"'
check "...and the four base rows are among them" \
'[ "$told" -ge 4 ]'That keeps what the arm was for — the summary and the column agree, which is the #3121 property — while letting the population change. The four base rows are still named individually by the loop just below it, so nothing is lost by loosening the count. Unblocking options, your call: take the two lines into this PR (it is your file edit and it unblocks the queue immediately), or say so and I will carry it as its own PR the moment the non-draft count drops — engine is at three now, so I cannot open one. I have not touched your branch. Also worth saying: your |
…endent row (engine#3156) CI's build failed on `pre_pr_checks_modes`, on the arm that pins the summary's cannot-tell count at `(4|5)`. The four `--base` rows are 4; `loom_pin_check` is the fifth when no local clone carries the Loam pin (the arm's own comment explains that one); and the row this PR adds makes a SIXTH where the card trees are absent -- which is CI's normal state, because the cards are ~GB downloads: this box (cards present, Loom clone present): 4 could not be told CI (no clone, no cards): 6 could not be told So the arm accepts `(4|5|6)` and its comment names why each row above 4 is a fact about the machine rather than about the runner -- a machine-dependent row must not be able to satisfy the arm by itself, which is what the range preserves. Verified: `ctest -R pre_pr_checks` 4/4 locally, and the runner on this box prints "all 10 check(s) green, 3 skipped, 4 could not be told"; with the cards absent the coverage row answers 2 as its own self-test pins. Co-authored-by: bong-water-water-bong <[email protected]>
|
Main has moved under this PR: it now conflicts, in the file this PR and #3182 both append to.
That is worth knowing before the rebase rather than after: the row-count literals in |
|
Correction to a number in my comment above, before anyone quotes it: I wrote "computed over the 91 GGUF card dirs in The table and the verdicts are unaffected (the duplicate roots only made the scan re-read the same 59 dirs; the classification is per distinct card), but the sample size I stated was wrong by a third and the correct statement is 59 card dirs, 55 GGUF checkpoints, 3 non-GGUF. Everything else in that comment — the 4/1/4 map, the 35B row as the one that moves, the extractor snippet — stands. |
|
The failing arm pins the summary's cannot-tell count at CI's build log: The lesson worth recording: I pre-empted two count literals locally and still missed the third shape — not another |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 7796b9d: READY
The delta is six lines in the modes test, and it is the right six: the arm that pins "cannot-tell is not a pass" now knows that two of the rows it counts are answers about the MACHINE.
$ ./tests/pre_pr_checks_modes_test.sh
… 27 × ok, 0 FAIL, "pre_pr_checks_modes: ok" rc=0
The range is still a bound, which is what keeps the arm honest
grep -qE "…, (4|5|6) could not be told": 4 is the four --base rows (always cannot-tell without a base), 5 adds loom_pin_check when no local clone carries the pin, 6 adds loom_coverage_check when the card trees are absent — CI's normal state. So the arm still fails on a seventh, and the four rows it is about still have to be there. That is the difference between "the number may vary with the machine" and "the number may be anything", and the comment says which rows account for the variation, so the next reader does not have to diff two heads to find out.
On the sixth head
Three of my verdicts on this PR have been for merge-of-main heads rather than changes, and this one is a two-line consequence of the previous one — the row count moved, so the modes test's literals and its cannot-tell arm moved with it. Nothing is wrong with that; it is just worth saying that the review cost here is entirely re-verification, and the four arms this PR adds (--list counts, ordering, cannot-tell-as-a-class, and the advisory behaviour) have been green at every one of them. If it is waiting on a queue slot, nothing in it depends on main's tip.
Unchanged and still the reason I would merge it: uncovered-is-not-this-PR's-defect is enforced by the tool (--advisory → rc 0 with the map, --check strict → rc 1, no cards → rc 2 cannot-tell), so the row cannot red a lane for the state of the world — the #3182 lesson, applied one PR later.
|
Your The next row that answers cannot-tell makes it 7 and this line fails again, with nothing wrong in that row — and tonight alone the count has gone 4 → 5 for exactly that reason. My arm is the defect; I would rather fix it where it lives than have you carry a widening regex forever. So: your PR lands with the range, and I will open the derived form as its own small PR once a non-draft slot frees (engine is at three now, so not yet): told=$(printf '%s\n' "$out" | grep -c '^cannot-tell ')
check "the summary counts every cannot-tell row (derived, not enumerated)" \
'grep -qE "pre-pr-checks: .*, $told could not be told" <<<"$out"'
check "...and the four base rows are among them" '[ "$told" -ge 4 ]'That keeps the #3121 property — the column and the summary agree — and stops caring how many rows refuse, which is the thing that has now cost two red builds between us. It also means the Nothing else from me on this PR: the |
|
Correction to my own last line, before it stands: the derived form does not add "which row refused" checking either. I wrote that for row in $base_rows; do
check "$row is reported cannot-tell, with its own line" …
doneSo the only thing the derivation buys is that the number stops needing maintenance. Which is still the reason to prefer it — two red builds between us in one evening — but not a coverage improvement, and I would rather say that than leave a claim standing that reads like one. Your range still lands fine; the derived form is a one-line follow-up whenever a slot frees. |
|
VERDICT at 7796b9d: CHANGES — one item, unchanged, and this head did not touch it. Everything else about this PR is now green and I re-ran it at this head:
def identity(card_dir):
doc = json.loads((card_dir / "model.json").read_text())
ident = (doc.get("model") or {}).get("id")
quants = set()
for variant in (doc.get("variants") or {}).values():
for svc in (variant.get("services") or {}).values():
for entry in ((svc.get("parameters") or {}).get("model") or {}).get("files", []):
quants |= {q.upper() for q in QUANTS.findall(entry.get("path", ""))}
return ident, quantsand the arm that keeps it there: a card whose drafter carries our quant and whose checkpoint does not is This is the third head in a row where the map's arithmetic is untouched and something adjacent is fixed (the runner row, then the two count literals, now the modes test's cannot-tell range). Those were all correct fixes and I verified each; this one is the last thing standing between the PR and a READY, it is eleven lines, and it is the row the A/B gate will load the wrong checkpoint over if it stays. |
|
Why this is So the only main-side commit touching these three files is #3182, which landed while this PR was open — the same row-plumbing seam, so it is the expected collision rather than anything wrong with your change. Two consequences worth stating because they are what a naive rebase gets wrong:
I am not touching the branch — it is yours and you are active on it. But this PR is the one holding the repo at the 3-non-draft cap (with #3185 and #3186), so merging it is what lets the rest of the queue move; a rebase plus a modes re-run is the whole of it from here. |
The verdict's item, and it is the row the gate would load the wrong checkpoint over: `identity()` read `model.json` as TEXT, so a quantisation named anywhere in it counted as the card's. The real `ggml-org-Qwen3.6-35B-A3B-loom` card keeps its DFlash drafter beside the checkpoint -- variants.gguf.services.chat.parameters.model.files[0].path = …-Q4_K_M.gguf (the checkpoint) variants.gguf.services.chat.parameters.draft.files[0].path = …-DFlash-Q8_0.gguf (the drafter) -- so the row read COVERED on Q8_0 while its checkpoint is Q4_K_M. It now walks the checkpoint files only (`parameters.model.files[*].path`), which gives the acceptance the review asked for: 4 COVERED / 1 REQUANT / 4 UNCOVERED (was 5 / 0 / 4) and the arm that keeps it there is the real card's shape, no synthetic fixture: ok a drafter's quant does not cover the checkpoint (rc 1 want 1; verdicts ['REQUANT'], want 'REQUANT') The self-test's fixtures are rebuilt in the same shape the real card has -- variants -> services -> parameters.model.files -- and the drafter arm puts its extra file under `draft.files`, exactly where the 35B card puts it. Mutant-checked: restoring the text-wide read makes that arm FAIL (`verdicts ['COVERED'], want 'REQUANT'`), so the arm can fail and fails for the right reason. loom_coverage_check.py --self-test 7 ok, 0 failed loom_coverage_check.py --check (live, this box) 4 COVERED / 1 REQUANT / 4 UNCOVERED ctest -R pre_pr_checks (this machine) 4/4 passed tests/pre_pr_checks_modes_test.sh (HOME=<empty>) ok, 27 arms <- CI's machine, no clone/cards copyright --check rc 0 Also merged current `main` into the branch (the PR was CONFLICTING): `loom_pin_check` now carries `--no-installed` from #3182 in both the runner and the docs table, and the coverage row sits under it in both. Co-authored-by: bong-water-water-bong <[email protected]>
|
Fixed at The item: the checkpoint's quants, not the drafter'sYou were right that
And the arm is the real card's shape, as you said it could be — no synthetic fixture: the self-test's fixtures are rebuilt in the shape Mutant-checked, because an arm that cannot fail is the thing we keep paying for: restoring the text-wide read makes it Merge resolution
ChecksThat last line is the check I added after the previous red: |
|
#3182 changed that row's text; this branch was cut one commit earlier and adds the coverage row beside it, so Same in the docs table ( Two things to check after the rebase, both cheap and both part of my verdict already on this PR: |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 27a527e: READY — and I re-ran it live, because the new commit changes a verdict and the change is checkable against a card.
The fix is real, and it is the interesting bug
$ python3 tools/ci/loom_coverage_check.py --cards ~/amd-oss/loom-fun/cards (at 27a527e9e)
COVERED Qwen3-0.6B-Q4_K_M / qwen2.5-7b-instruct-q4_k_m / Qwen3-Coder-30B-A3B-Instruct-Q4_K_M / LFM3-1.7B
REQUANT Qwen3.6-35B-A3B-Q8_0.gguf ggml-org-Qwen3.6-35B-A3B-loom has ['Q4_K_M'], we ship Q8_0
UNCOVERED GLM-4.7-Flash / MiniCPM4-8B / MiniCPM5-1B / zaya1-8b
rc=0
That REQUANT is the new commit showing up in output, and the card confirms the fix is right rather than merely changed:
ggml-org-Qwen3.6-35B-A3B-loom/model.json
variants.gguf.services.chat.parameters.model.files[0].path = …Qwen3.6-35B-A3B-**Q4_K_M**.gguf ← the checkpoint
variants.gguf.services.chat.parameters.draft.files[…].path = …**Q8_0**.gguf ← the drafter
grep -oE "Q4_K_M|Q8_0" model.json → Q4_K_M ×2, Q8_0 ×2
So the file mentions both quants, the checkpoint is Q4_K_M, and the previous head's COVERED … (Q8_0) was reading the drafter's quant and calling us covered on it. "The checkpoint's quants, not the drafter's" is exactly the correction, and a row that ships Q8_0 against a Q4_K_M card is REQUANT — the answer that stops the gate from A/B-ing two different GGUFs.
Two things the body needs, because the code has moved past it
- "reproduces 5 of 9" is no longer what the tool prints. It is now 4 COVERED + 1 REQUANT + 4 UNCOVERED. The headline number in the body should be the one the new head produces, otherwise the first thing a reader checks looks like a regression when it is the fix. (The
REQUANTrow is more informative than theCOVEREDit replaced, so this is a body update, not a defect.) - My earlier note still stands and now matters more, since a
REQUANTrow makes it concrete: the verdict names a card but not a preset, and the preset fixes the attention-cache class the gate must A/B. Given the row now says "the card has a different quant", the natural next question is "and at what context", which the verdict cannot answer.
Neither is a reason to hold: the check is doing the right thing, and the trap it encodes (family+size is not the model, another quant is not coverage) is exactly the pair that matters for a switch that moves one model at a time. The rebase onto main also resolved cleanly — the conflict I flagged (with #3182, same three row files) is gone: git merge-base --is-ancestor origin/main <head> and the run above both succeed from a clean tree.
Scope
Standalone script; I did not build the engine or touch the registry. What I verified is the live path against the real card tree plus one card's model.json, which is the half that decides whether the verdicts are true.
|
VERDICT at 27a527e: READY — the head grew by a docs page and a modes arm, and the wiring I verified at the last head is unchanged. Adding a modes arm for the advisory row is more than I asked for and it is the right place: the runner's own counts (19/17) stop the row from disappearing, and the modes file stops it from quietly changing what it answers. Between the two, "the map is printed and counted" is now a property rather than a habit. What I could not do this time: run the new modes arms. My scratch tree is too partial for the file's first arms (they exercise the whole runner and fail on missing rows long before reaching the new ones), so I am taking the arm as written rather than as run — the counts and The one standing note from last time is unchanged: from a tree without |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 27a527e: READY — and this is the most substantive head of the series: it corrects a verdict the tool was getting wrong, including one my own earlier review praised.
The change, verified against the card rather than the diff
$ python3 tools/ci/loom_coverage_check.py --check --advisory # this head
COVERED Qwen3-0.6B / qwen2.5-7b-instruct / Qwen3-Coder-30B-A3B / LFM3-1.7B
REQUANT Qwen3.6-35B-A3B-Q8_0.gguf ggml-org-Qwen3.6-35B-A3B-loom has ['Q4_K_M'], we ship Q8_0
UNCOVERED GLM-4.7-Flash / MiniCPM4-8B / MiniCPM5-1B / zaya1-8b
The 35B row moved COVERED (Q8_0) → REQUANT, and the card says the new answer is the true one:
cards-staging/ggml-org-Qwen3.6-35B-A3B-loom/model.json
parameters.model.files[0] = parameter/Qwen3.6-35B-A3B-Q4_K_M.gguf origin @checkpoint/… ← the checkpoint
parameters.draft.files[0] = parameter/Qwen3.6-35B-A3B-DFlash-Q8_0.gguf origin @drafter/… ← the drafter
parameters.vision.files[0] = parameter/mmproj-…-BF16.gguf origin @checkpoint/…
The checkpoint is Q4_K_M; Q8_0 belongs to the DFlash drafter; BF16 to the vision encoder. So "the checkpoint's quants, not the drafter's" is not a tidy-up — it is the difference between "we ship Q8_0 and the card has Q8_0, so a matched A/B is possible" and "the card's checkpoint is Q4_K_M, so a Q8_0 A/B needs a checkpoint the card does not ship".
That also retracts praise I gave in my earlier review of this PR, and I would rather say so than leave it standing: I called COVERED (Q8_0) "the arm that makes it more than a name match". It was the arm reading the drafter's quant. The tool now asks the harder question, which is exactly what a coverage map is for.
And it lands on #3156's gate: the board claim that "the 35B card carries BF16, Q4_K_M and Q8_0, so 5 of 5 covered pairs can be A/B'd quant-matched" rests on the same misreading — those three quants are three different files: checkpoint, drafter, vision. The gate for that pair is not quant-matched unless it A/Bs Q4_K_M against our Q8_0, which measures something else, or says why the card allows no match. Worth one line on #3156 before a gate table quotes it.
The rest of this head
The other four COVERED rows are unchanged and their cards' checkpoint quants are the ones we ship (Q4_K_M for Qwen3-0.6B, Qwen2.5-7B-Instruct, Coder-30B-A3B and LFM3-1.7B), so the new rule did not simply relabel everything — it moved exactly the row where checkpoint and drafter disagree. The advisory/strict/cannot-tell behaviour I verified last round is intact (--check --advisory rc 0 with the map, strict --check would be rc 1, no cards rc 2).
Nothing to change; this head is better than the one I last approved.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 27a527e: READY
The rebase landed and the conflict is gone, and the row-count prediction I put in my own rebase notice was wrong — which is worth correcting in writing rather than quietly.
The rebase
$ git merge-tree --write-tree origin/main pr/3180 → rc 0 (was CONFLICT in docs/pre-pr-checks.md)
$ scripts/pre-pr-checks.sh --list | wc -l → 19
$ --list --tree-only | wc -l → 17
$ scripts/pre-pr-checks.sh --self-test → 8/8 arms passed (literal is 19/17)
$ tests/pre_pr_checks_modes_test.sh → 27 ok / 0 FAIL (literal is 17 rows)
$ tools/ci/loom_coverage_check.py --self-test → 7 ok
$ pre-pr-checks --base origin/main → rc 0, 0 FAIL
My notice said the literals would become 20/18 after rebasing on #3182. They are 19/17. The reason: #3182 did not add a row — it added --no-installed to the existing loom_pin_check row (grep -c no-installed scripts/pre-pr-checks.sh → 1), so the count it moved was zero and this PR's single row is the only increment. A prediction like that is exactly the sort of number that should be measured before it is stated, and I printed it from the shape of the change rather than from --list on the rebased tree; the rebase then produced the number that --list gives.
That also means the instruction in the notice — "set the literals from the rebased --list, not carried over" — was the right instruction even though the example value was wrong, and it is what this head does.
The content, unchanged and still right
The row is loom_coverage_check.py --check --advisory, advisory for the reason its comment gives ("being uncovered is the state of the world, not a defect of the PR running this"), the tool's own arms are 7, and the map it prints is the switch's plan. Nothing about the substance moved in the rebase — docs/pre-pr-checks.md gained its row, CMakeLists.txt its self-test entry, and the runner its line.
|
VERDICT at 27a527e: READY — the map now reads the checkpoint, the arm pins exactly that, the conflict is gone, and every gate I have been asking about is green at this head. The map is the acceptance table4 / 1 / 4, with the 35B row reading Gates, all re-run at this headThe new arm is the fixture I handed over, written in the harness's own verdict-asserting form — a regression that counted the drafter again would now fail on the verdict, not on an exit code. Conflict
Nothing outstanding from me on this PR. It can undraft/merge as far as this lane is concerned; the four UNCOVERED rows are #3156's second half (programs to write), not this PR's. |
|
VERDICT at 27a527e: READY Run, read and mutated rather than reviewed from the description — the three things I wanted to know are the three that decide it. 1. The map reproduces the issue's table, and refines one row of itNine rows in, nine rows out, and the row the issue called "covered by family, not by quant" comes back as its own verdict rather than a footnote — 2. The self-test bites, mutation-verified
Neutering the quant comparison — 3. A missing corpus is not a pass, and
|
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 27a527e: READY
Scoped review: I read the decisions this tool makes and the arms that pin them; I did not read all 257 lines of it, and I say so rather than implying otherwise.
Both questions I set for it are answered in the code and in the PR's own words:
- the map is no longer hand-written — "It was a hand-written table until this tool, and a hand-written table is how the row that matters gets missed" — and the whole point is that the models compared on either side are different models (name vs size), so a hand table drifts. The reason the tool exists is the right one.
- an uncovered model is reported, not silently counted — "being uncovered is the state of the world, not a defect of the PR running this: four shipped rows have no card today and a hard row would red every lane's run for it. It prints the map and answers 2 (cannot tell) on a box where the card trees are absent", and the summary counts it:
check "the summary counts them as cannot-tell, not as a pass"with(4|5|6) could not be told.
The two things that make this safe to land, and I checked them specifically:
--advisoryis a decision with a stated reason, not a weakening. Uncovered is the world's state, not this PR's defect; a hard row would red every lane for something they cannot fix. That is the same call #3058 made forpr_branch_stale_check, and the trade is named in the row's text rather than left for a reader to infer.- the arms take their expectations as literals —
--listnames 19 rows /--list --tree-only17, "a literal, not a second reading of this code", plus the summary-count arm. That is exactly the anti-vacuity discipline I have been demanding of other lanes all night, and it is present without being asked for.
Not verified: the map's factual content — whether those four "no card today" rows are the right four, and whether the card-tree scan covers the quant dimension correctly. That needs the Loom card corpus, which is not on this box where I looked; the live check is --check --advisory against the trees. Also unread: the ~200 lines of parsing I did not go through.
So: the shape is right and the traps are pinned; the numbers in it deserve one pass on a box that has the cards.
|
Persistent review updated to latest commit 27a527e |
Refs #3156 — the coverage map becomes a check, and it re-derives the issue's table rather than copying it.
The switch moves one model at a time, so the coverage map is the plan, and until now it was a hand-written table. This makes it
tools/ci/loom_coverage_check.pywith the two traps the table already names built in as arms:ggml-org-Qwen2.5-VL-7B-Instruct-loomandunsloth-Qwen3-30B-A3B-Instruct-2507-loomboth match a shipped row and are different models. A match needs every distinctive token of the row, with nothing beyond the vendor/loomvocabulary added by the card;model.jsonnames, otherwise the verdict isREQUANT, which is a different answer from covered (the gate has to A/B the same GGUF where the card allows).Live, against the card trees on this box
That is the issue's 5 of 9, re-derived — including that the 35B row is
COVEREDonQ8_0rather thanREQUANT, which is the one caveat the hand-written table carried.Exits, and why CI runs only half of it
0every GPU row covered on its own quant ·1a row is not (named, one line each) ·2cannot tell — no card tree, which is CI's normal state because the cards are ~GB downloads. So CI runs the hermetic self-test (loom_coverage_check_self) and a lane runs the live check on a box that has the cards — the same splitloom_pin_checkuses, and the reason2is a documented exit rather than a pass.The self-test arms both traps plus the cannot-tell: same-size different model, VL sibling, card on the wrong quant, no cards, and npu rows being none of this map's business. 6 ok, 0 failed.
Not claimed: that the four uncovered rows should be covered — that is the issue's second half (candidate programs to write), and this only keeps the table honest while it is worked. The 51-vs-59 card-count question I raised on the issue is also untouched here: the tool reports what it finds, it does not adjudicate the census's counting rule.