Skip to content

loom coverage: our own published cards are cards (engine#3156) - #3507

Merged
bong-water-water-bong merged 1 commit into
mainfrom
loom-coverage-own-cards
Nov 25, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
loom-coverage-own-cards

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

tools/ci/loom_coverage_check.py decides a row's verdict with same_model(), which accepts a card only when the card's name tokens are the registry row's tokens plus a vendor/organisation token. VENDOR listed every publisher except us, so every card we publish ourselves read UNCOVERED:

$ python3 tools/ci/loom_coverage_check.py --cards ~/amd-oss/loom-fun/cards --cards <glm card tree>
UNCOVERED GLM-4.7-Flash-Q4_K_M.gguf    no card names this model

That card is published (1bit-MONSTER/GLM-4.7-Flash-GGUF-loom, 2026-11-24) and its lock binds our pinned bytes. The direct reason, with the tool's own function:

>>> same_model("GLM-4.7-Flash-Q4_K_M.gguf", "1bit-MONSTER-GLM-4.7-Flash-GGUF-loom", "zai-org/GLM-4.7-Flash")
False        # card adds '1bit' and 'monster' beyond (NON_DISTINCTIVE | VENDOR)

Fix

Add 1bit and monster to VENDOR. One vocabulary line; no logic change.

Evidence

Self-test unchanged — loom_coverage_check self-test: 11 ok, 0 failed.

Same card tree, before and after, with the GLM card present (its model.json, model.json.lock and llm_config.json copied off strixhalo):

before  UNCOVERED GLM-4.7-Flash-Q4_K_M.gguf    no card names this model
after   COVERED   GLM-4.7-Flash-Q4_K_M.gguf    1bit-GLM-4.7-Flash (Q4_K_M) sha256 29837ed2c0fc

29837ed2c0fc is the pinned GGUF (models/pins.json) — the same file engine#3503 measures — so this is the tool independently confirming the GLM row of #3156's checklist ("card vs our bytes: match"), which until now rested on a lane's hand check.

The same gap hid the four 1bit-* cards staged from HF under hf-stage/loom (Qwen2.5-Coder-1.5B/7B, Qwen3-4B, Qwen3.5-4B). They still report nothing because those rows are not in registry/check_models.tsv (9 rows), which is a registry question, not a matcher one.

Why it matters for #3156

The graduation rule is "a card whose locked bytes are the checkpoint we pin (loom_coverage_check.py COVERED)". A matcher that cannot see our own cards makes that rule unreachable for the models we port ourselves — exactly the models the checklist works hardest on.

Closes nothing: this is the checker, not a row. Refs #3156.

same_model() accepts a card only when its name tokens are the registry row's tokens plus a
vendor/organisation token, and VENDOR listed every publisher except us. A card published under
1bit-MONSTER, or built as 1bit-<model> in a lane tree, therefore read UNCOVERED with the reason
'no card names this model' — including GLM-4.7-Flash's published card, whose lock binds the pinned
sha256 29837ed2.

Add '1bit' and 'monster' to VENDOR. The self-test is unchanged (11 ok, 0 failed) and the GLM row
goes UNCOVERED -> COVERED (1bit-GLM-4.7-Flash (Q4_K_M) sha256 29837ed2c0fc) against the same
card tree, which is what engine#3156's graduation rule asks the tool to answer.
@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

3156 - Partially compliant

Compliant requirements:

  • The tool now correctly identifies cards published by 1bit-MONSTER as matching the pinned models
  • The tool recognizes cards with names like 1bit-MONSTER/<model>-loom as valid matches for the corresponding model in the registry
  • The tool no longer rejects cards simply because they are published by the same organization (1bit-MONSTER)
  • The fix is minimal and only adds the necessary vendor tokens to the VENDOR list

Non-compliant requirements:

  • None

Requires further human verification:

  • None
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Vendor Token Addition

The addition of "1bit" and "monster" to the VENDOR list is correct and necessary to ensure that cards published by 1bit-MONSTER are properly recognized as covering the corresponding models. This change directly addresses the issue described in the PR where cards published under the 1bit-MONSTER organization were being marked as UNCOVERED due to the tool's logic not recognizing these tokens as non-distinctive vendor identifiers.

"1bit", "monster"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant