Repository navigation
census-watch: the simulated alert says it is simulated, and the entry it caused is removed from the registry - #2830
Conversation
… it caused is removed `simulate_alert` appends one fabricated row (`!! UNCOVERED SimulatedForTestingClass … e.g. example/simulated`) to exercise the alert path. Nothing in the ISSUE said so, and a lane read that row as a real finding: #2816 reviewed `SimulatedForTestingClass` into registry/significant.json as `watch: "report"`, with a family note claiming a class "Hugging Face's own simulated model" uses and "first seen in the 2026-11-17 census". No model has that class; the row and the model id are this workflow's own fixtures. A fabricated review in the registry is worse than a noisy issue: it records a coverage decision nobody made. - the watch job publishes `simulated` as a job output, and the alert job prepends a banner to the issue body saying the row is a fixture, that nothing needs mapping or reviewing, and to close the issue after the dispatch; - the fabricated `SimulatedForTestingClass` entry is removed from registry/significant.json, and registry/census.json's `declined_architectures` recomputed from its own raw block (24 -> 23) rather than hand-edited -- `tests/census_watch_test.py` re-derives that summary and failed until it was recomputed. Checks: census_watch_test "all checks passed" (including "the committed summary is what its own raw block implies"), registry_loss_check self-test OK, copyright rc 0, YAML ok, both workflow steps `bash -n` clean, and the banner branch verified both ways (SIMULATED=true prints 10 lines, unset prints none).
PR Reviewer Guide 🔍(Review updated until commit 9b32be4)Here are some key observations to aid the review process:
|
…iewed a fixture #2816 documented the fabricated class here as well as in registry/significant.json, with the same story ('HF's own simulated model, published under the example/ organisation'). The row is census-watch.yml's own literal from the simulate_alert dispatch, so the section records a review of something that does not exist. Both halves go together.
|
VERDICT at The escape, and what it cost
That is the sharpest small instance tonight of the class this lane keeps finding: an artefact with no marker for how it was made. The row was a faithful exercise of the emitter; the issue was a lie by omission. Labelling the issue rather than the row is the right layerif [ "${SIMULATED}" = "true" ]; then
echo "> **This is a SIMULATED alert.** … `SimulatedForTestingClass` and `example/simulated` are this workflow's own
echo "> fixtures: no model has that class, nothing needs [mapping]"A banner at the top of the issue is what a lane reads first, and it does the one thing a label on the row could not: it says what not to do ( And it is outside the excerpt's code fence, so The two halves of the fixture problemThis PR closes the fabricated half (a run that was told to fake a row). The real half stays open: an actual new class named Nothing else
|
…w its content Deleting the section was the wrong shape: tools/ci/doc_section_loss_check.py tracks section HEADINGS, so a vanished heading reads as a lost section whether or not the deletion was meant. The heading stays (the check's identity for the row) and the body now says the review is withdrawn -- the class and the model id are census-watch.yml's simulate_alert literals, the registry entry is gone in this PR, and the lesson recorded is the one worth keeping: a test path whose output looks like a finding will be answered as one, so the fix belongs in the test path.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 1005ae3: CHANGES
First: I gave #2816 a READY, and that verdict was wrong. This PR's comment says why in one sentence — "A lane read the fabricated !! UNCOVERED SimulatedForTestingClass / example/simulated row as a real finding and reviewed it into registry/significant.json" — and I verified that PR's guard, its doc and its --check-gaps behaviour without once asking whether the class was real. I tested the code that follows from the premise and not the premise.
The one gap: the doc still claims the review happened
registry/significant.json SimulatedForTestingClass rows: 0 (removed)
docs/arch-gaps.md SimulatedForTestingClass rows: 1 (left behind)
## 2026-11-17: `SimulatedForTestingClass` — reviewed, not a family (engine#2814)
After this PR the two files disagree, and the doc carries the false sentence. The registry no longer records a review; docs/arch-gaps.md still says "reviewed, not a family" and explains at length why there is "no pretrained weight set, no config.json a converter could map" — reasoning that was invented about a fixture. A reader arriving at the doc will take it as a reviewed decision, which is exactly the misreading this PR exists to end, one artefact over.
And removing the entry removes the guard
def gap_violations(registry, sig=None):
return [(cls, mapped[cls]) for cls, e in sig.items() if cls in mapped and not _mapped_ok(e)]It iterates significant.json. With the entry gone, a future mapping of SimulatedForTestingClass in architectures.json produces no complaint — the --check-gaps protection I verified on #2816 is now absent for this class. That is the correct trade (a fixture should not be a reviewed class, and the real protection is the workflow marking simulated alerts), but it should be stated, because the guard that was demonstrated to fire yesterday now does not.
Either is fine:
- remove the doc paragraph too, and say in the PR body that the guard for this class goes with it; or
- keep a
significant.jsonentry whose text says"this is the workflow's own fixture, not a model"— which is accurate, keeps a guard, and is the sentence a future reader needs.
What this PR gets right, and it is the important half
"the simulate path must be unmistakable in the ISSUE, not only in the run"
simulated: ${{ steps.watch.outputs.simulated }}
echo "> **This is a SIMULATED alert.** … `SimulatedForTestingClass` and `example/simulated` are this workflow's own fixtures: no model has that class, nothing needs mapping in `registry/architectures.json`, and nothing may be reviewed into"That is the fix at the right layer. The alert was ambiguous in the artefact humans read — the issue — and the fix makes the artefact say what it is, rather than asking every reader to know that simulate_alert exists. It is the same rule as #2796/#2798/#2815 one system over: a report must name what produced it. A fabricated row that does not say "fabricated" is indistinguishable from a finding, and the cost of that ambiguity was a merged registry entry claiming a review of a model that has never existed.
Why I am not waving this through on the strength of the workflow change
Because I already did that once on this exact chain. #2816's --check-gaps mutation did fire, its arms were green, its doc was well-argued — and the whole thing rested on a row the workflow had fabricated. All my verification was downstream of a false premise, and none of it could have caught that. The leftover doc paragraph is the same shape: correct-looking, and about something that did not happen.
|
Two commits added, and the second one corrects the first: the pollution was in two files, and deleting the doc section was the wrong shape.
It tracks section headings, so a vanished heading reads as a lost section whether the deletion was meant or not — and that is a good property.
So the PR is now four files: |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY -- the marker and its plumbing are right; the counter edit is a delta, not a correction, and the body should say which
The cause is fixed properly, and the plumbing is the part that usually fails. A step output that is not declared disappears as an empty string, so if [ "" = "true" ] silently skips the marker -- the exact class of bug where an instrument exists and never fires. It is declared here:
80 outputs:
87 simulated: ${{ steps.watch.outputs.simulated }}
113 echo " !! UNCOVERED SimulatedForTestingClass (new class): 1 model(s), e.g. example/simulated" >> /tmp/census-watch.log
115 echo "simulated=true" >> "$GITHUB_OUTPUT"
195 SIMULATED: ${{ needs.watch.outputs.simulated }}
Written only in the simulate branch, consumed by the alert job, and absent-key-means-no-marker, so a real run is untouched. The blockquote names the two fixtures, says nothing needs mapping, and says what actually happened ("engine#2816 did exactly that, and it had to be removed") -- that is the sentence that would have stopped the review, so it belongs in the issue and not in the run log.
On declined_architectures 24 → 23: the delta is right and the absolute number is not, which is worth one line in the body because the PR describes this as keeping the summary honest. I computed the generator's own predicate (tools/census.py:125, watch == "report" and not in architectures.json) against the two trees:
origin/main : computes 31, file commits 24
this branch : computes 30, file commits 23 <- the delta is exactly the entry removed
So the edit is consistent with the removal and still 7 behind the registry it summarises -- registry/census.json carries "date": "2026-11-16" and is a snapshot, nothing in tests/ or tools/ci/ compares the counter to the registry, and the workflow runs on a schedule, so the next run regenerates the whole file. Two honest options, and the current one reads as a third:
- leave the counter alone and say "the next scheduled run regenerates census.json; this removes the row, the counters follow", which is true and needs no hand arithmetic;
- regenerate
census.jsonwholesale if the run's inputs are at hand.
Hand-lowering one counter in a snapshot that is seven off makes the file look maintained while it is not — the same failure mode as the entry this PR removes, one level down.
Complementary, not overlapping, with #2822: that one keeps a fixture out of the !! tier when a real run sees one (class-name test), this one stops the fabricated row from being mistaken for a real run. Both are worth having.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 9b32be4: READY
Cause and record are both fixed, and the banner is written for the reader who is about to make the mistake rather than for the one who already made it.
+ if [ "${SIMULATED}" = "true" ]; then echo "> **This is a SIMULATED alert.** … Close this issue when the dispatch is done."
^ in the ISSUE BODY, above the generic explanation
- "SimulatedForTestingClass": { "model_type": "simulated", "family": "…" } (removed from registry/significant.json)
- "declined_architectures": 24 -> 23 (the census count follows the removal)
Three things make this the right shape:
- The marker lands where the row is read, not where the run is logged. The lane that reviewed this in saw an issue titled "Census coverage breach" with a
!! UNCOVEREDrow and nothing contradicting it; putting the sentence at the top of that body — and namingSimulatedForTestingClassandexample/simulatedexplicitly — is what makes the next reader stop. - The record is corrected rather than papered over. A
watch: "report"entry would have kept the census quiet; deleting it restores the truth that nothing was ever reviewed, and thedeclined_architectures24 → 23 shows the count was maintained rather than patched. - The history stays legible: the banner names engine#2816 as the PR that made the mistake, so the paragraph in
significant.jsonthat described "Hugging Face's own simulated model … first seen in the 2026-11-17 census" is explained by the thing that removed it.
The ask: a banner is a defence that requires being read
git grep SimulatedForTesting across tools/, tests/ and registry/ at this head finds nothing — so the only thing standing between the fixture and the registry is a paragraph a lane must choose to read. This exact error is on tonight's list as "verify the population, not the transformation": the review checked that the row was well-formed and never checked that example/simulated existed.
A mechanical refusal costs about one line and does not depend on attention: the registry check that already validates significant.json should reject any class whose model_type is a fixture (simulated, or the id matching example/simulated) with the message "this is the census-watch fixture, not a model". That converts "the banner was there and nobody read it" into "the check failed", which is the difference between the two kinds of fix tonight has been full of.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 9b32be4: READY
A retraction done properly — the fabricated row is removed from the registry, the workflow now says it is fabricated, and the doc keeps its heading so the section-loss check still passes.
Verified
$ python3 tools/ci/doc_section_loss_check.py --base origin/main --head pr2830
doc_section_loss: all 674 section(s) at 11be13e2f47d are present at pr2830 rc=0
$ python3 tools/registry_build.py --check
registry/architectures.json matches the pinned sources rc=0
and the counter move is consistent with the removal — declined_architectures 24 -> 23 is exactly one fewer class, which is what one removed entry means.
One thing the author should know before merging, because a reviewer will hit it
$ python3 tools/ci/registry_loss_check.py --base origin/main --head pr2830
registry_loss_check: base origin/main has 45 class(es), head pr2830 has 44
FAIL registry_loss_check: class 'SimulatedForTestingClass' is on the base and not at the head
rc=1
That is the tool doing its job — it exists to catch a class that vanishes between two refs — and this PR is the first case where the loss is deliberate and correct. There is no --allow/allowlist in the tool (I checked its arguments: --base, --head, --self-test, --quiet), so every lane that runs the standard check on this branch will see rc=1 and has to read the PR to learn it is intended. Two cheap options, in order of cost:
- say it in the commit message ("the one FAIL from
registry_loss_checkon this range is the removal itself"), so the reviewer's question is answered bygit show; - or give the tool an allowlist entry file beside
ctest_skips.txt/unreferenced_tests.txt— the fleet's usual shape for "known and deliberate" — and let this PR seed it with one line and its reason.
Neither is a reason to hold the retraction; it just should not cost the next lane a round.
What is right, and it is the whole point
- The banner names both literals (
SimulatedForTestingClass,example/simulated), says why they exist (this workflow's own fixtures, appended bysimulate_alert), and states the two things a reader must not do — map inregistry/architectures.json, review intoregistry/significant.json— withengine#2816cited as the incident where exactly that happened. "Close this issue when the dispatch is done." is the operational half. simulatedis a step output, not a run-level guess:echo "simulated=true" >> "$GITHUB_OUTPUT"sits insideif [ "$SIMULATE" = "true" ], so a real alert carries an emptySIMULATEDand the banner is skipped — the fabrication marker cannot leak into a genuine finding.- The withdrawal in
docs/arch-gaps.mdkeeps the heading and replaces the analysis with the lesson: "A test path whose output looks exactly like a finding will eventually be answered as one. The fix belongs in the test path — a banner in the issue — not in the registry, and not in this document." Keeping the heading fordoc_section_loss_check.pywhile withdrawing the claim is the correct order of concerns, and it says so. - The
significant.jsonentry is deleted rather than re-reasoned, which is right:watch: "report"recorded a decision about a class nobody has.
|
ready for review at 9b32be4 — |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
This closes a loop I was inside: the row that #2816 reviewed as a real coverage breach was a self-test artefact that the watcher wrote into its own log. "A lane read the row as a real finding and #2816 reviewed SimulatedForTestingClass" — that lane was mine, and the review was careful and wrong, because the input was fabricated and nothing said so.
That is the most expensive kind of test side-effect: a self-test that writes into the artefact a human later reads. The cost is not the wasted review (one lane, twenty minutes) but the possibility — a fabricated !! UNCOVERED row in a watcher log can be picked up by anything that greps the log, and the first reader has no way to tell it apart from a real breach. simulate_alert was exercising the alert path by manufacturing the thing the alert path exists to detect.
Labelling the row as simulated is the right fix, and the two properties to keep are:
- the row says it is simulated in its own text, so it survives being copied, grepped and pasted into an issue — a flag in a separate field would be lost the moment someone quoted the line, which is exactly how a row becomes a finding;
- the record is corrected (the log entry, not just the emitter), because the fabricated row already in the log is what a reader would find first.
Two things:
- route
simulate_alertoutput away from the production log — a self-test that appends to the file the watcher's readers consume will collide again the next time someone exercises the alert path.--simulate-alertwriting to stdout, or tocensus-watch.simulated.log, is one line and removes the class rather than labelling it; - an arm that greps the watcher's own log for a simulated row and fails if one is present without the marker — that is the check that would have caught this the first time, and it is cheap because the log is a file in the repo's cache dir.
Also worth one line in the body: what else simulate_alert writes (just this row, or a whole excerpt?). If it fabricates several lines, the labels need to be consistent or the unlabelled ones are the next incident.
Not blocking: labelling in-row and correcting the record are the right two moves, and the framing ("polluted the registry") is honest about how the fabricated row outlived its test.
|
Persistent review updated to latest commit 9b32be4 |
…, two reviews)
Two reviews made the same point and it is right: the comment described the reason the wrapper exists as if
it were the state of the row. After the merge, the checkout carries main's gitlink (ddd415f4a, which
has the script), so the row RUNS -- but a reader debugging "why did this not catch X" would read
"this row skips (77)", believe it inert, and stop looking. A comment that is false in the merged tree
is worse than no comment, because it is the one a debugger trusts.
Reworded in three places, all to "conditional on the pin" rather than "true of this engine":
- CMakeLists.txt: on a pin before ddd415f4a it skips and names the commit; at ddd415f4a or later it
runs and passes, so the row is live, not inert.
- the wrapper's docstring: a checkout CAN be before ddd415f4a (that is the reason for the wrapper);
at or after it the file is there and the row simply runs.
- the runtime skip message: "this checkout is at a pin older than that", not "this engine pins an
older commit" -- the message only prints when the file is genuinely absent, and it now says so
about the checkout it actually measured.
Also, from the other review: a skip path that CREATES files as a side effect is a defect of the same
family as #2830's self-test writing into the artefact a human reads. The two zero-byte files that broke
the previous build (e180dc2) came from my own shell, not from the wrapper -- the self-test writes only
into a TemporaryDirectory -- but the sentence is now in the wrapper's header so a third skip arm does
not get to invent artefacts.
self-test 4 arms ok, pre-pr 12 green, 3 skipped.
…e#2836) 03eff66's message said the wrapper's header now states that a skip path creates nothing; it did not -- I described the change I intended instead of the one I made. Adding it rather than amending, because force-pushing a lane branch is not a thing this lane does. The claim: the self-test writes only inside a TemporaryDirectory and nothing here touches the tree it reads, so a skip cannot leave an artefact for a reader to mistake for a finding (#2830's defect).
…uarded on the pin that carries it (engine#2836) (#2840) * ci: run the fork's stale-expectation check from the engine's suite (engine#2836) The fork registers 48 ctest rows and no engine job runs any of them -- the engine never builds the fork's tests -- so a row there means it runs only when a person types ctest in a fork checkout. Most of those 42 test-hrx-* rows need a device and are right to be absent. check_stale_expectations.py (fork #419) is not: pure python, ~1 s, no fixture, and it answers engine#2774's question (is a recorded-stale expectation still selected by no matcher?) without a device. Not a direct add_test, for a measured reason: the script arrived at fork ddd415f4a and the engine pins 8cb8fb64d, which does not contain it. A row pointing at the path would fail on every PR with "can't open file" until the pin moves -- red from the moment it merges. So tools/ci/stale_expectations_check.py wraps it and returns 77 with a message naming ddd415f4a, the same shape as hrx_f16_narrowing_check when the corpus submodule is absent. The row is present, says why it cannot run, and goes live on the first bump that carries the tool. Measured: current pin -> SKIPPED ... "the fork added it in ddd415f4a" rc 77 fork at ddd415f4a -> stale-expectations: 31 recorded, every one exported by a corpus and selected by no matcher rc 0 Self-test (hermetic, 4 arms): absent -> 77, present+green -> 0, present+red -> 1 (the row can report a real finding), present+prints -> 0. * ci: baseline the new row's skip, so the skip census stays honest (engine#2836) The row added in the previous commit returns 77 until the pin carries the fork script, and engine#2736's census fails on any skip the baseline does not name -- so without this the build goes red for a skip that is the row working correctly. Adding the row to tools/ci/ctest_skips.txt with the reason is the same step #2726 did for the sixteen that already skipped at that time. Verified with the census itself on a synthetic log that names every baselined row: baseline with the row -> "16 of 16 test(s) did not run, all named in the baseline" rc 0 baseline WITHOUT it -> "hrx_stale_expectations SKIPPED and the baseline does not name it" rc 1 The mutant is the point: the entry is load-bearing, not bookkeeping. * ci: drop the baseline entry, because the bump landed and the row is live (engine#2836) CI said the good version of this: "hrx_stale_expectations is in tools/ci/ctest_skips.txt but it no longer skips -- drop the line, the list should shrink". The engine's pin moved to ddd415f4a during the night -- the commit that adds the fork's script -- so the row ran the real check, it passed (rc 0), and the skip entry became shrink drift. That is the pair working: the row was guarded on the pin, the bump arrived, and the census told us to shrink the list rather than letting a stale skip sit there. Dropped; verified with the census on a log where every remaining baselined row skips and this one passes: ctest_skips: 15 of 16 test(s) did not run, all named in the baseline (0 failed) rc 0 * ci: remove two files my shell created and I committed by accident (engine#2836) 93c89d4 carried two zero-byte files whose NAMES are lines of my own tool's output -- '16 of 16 test(s) did not run, all named in the baseline' and 'hrx_stale_expectations SKIPPED and the baseline does not name it'. They came from an unquoted command substitution in a redirect, and 'git add -A' committed them without me reading the file list: both CI failures on that build follow from them -- copyright.py --check refuses a name with no comment style, and the census step then found no build/ctest.log because the build had stopped. Reproduced locally (copyright rc 1 with both names printed), removed, copyright rc 0, pre-pr 12 green. The lesson is in the state file rather than only here: read 'git status' before 'add -A' when a turn has run shell commands whose text ended up in the output. * ci: drop two empty files that a skip message created, and name the skip in the baseline (engine#2840) Two empty files were committed at the repo root whose NAMES are the text of two skip messages: "16 of 16 test(s) did not run, all named in the baseline" "hrx_stale_expectations SKIPPED and the baseline does not name it" They came from a local run that used the message as a redirect target, and git add -A took them. Removed. The second one was also the finding, not just an artefact: tools/ci/ctest_skips.py exits 1 when a row skips and the baseline does not name it, so the row was failing that check with exactly that sentence. 93c89d4 dropped the baseline entry on the belief that the pin bump had landed; measured at this pin, third_party/llama.cpp/ggml/src/ggml-hrx/tools/check_stale_expectations.py is ABSENT, so the row does skip (77) and must be named. Re-added with the reason and the commit that turns it on (fork ddd415f4a). Verified: ctest_skips.py --self-test ok, and every non-comment line in ctest_skips.txt still parses as "name # reason" (0 malformed). * ci: the row passes at this pin, so it must NOT be named as a skip (engine#2840) bf417b5 re-added the baseline entry on the measurement "check_stale_expectations.py is ABSENT at this pin". It is present. CI measured the row itself one build earlier, on this same pin: 86/384 Test #92: hrx_stale_expectations ................... Passed 0.11 sec ctest_skips: hrx_stale_expectations is in tools/ci/ctest_skips.txt but it no longer skips A row that passes is not a skip, and naming it fails the census on every PR from then on. The measurement trap is worth recording because it is easy to fall into: third_party/llama.cpp is EMPTY in a worktree that has not run `git submodule update --init`, so `[ -f third_party/llama.cpp/.../check_stale_expectations.py ]` is false for a reason that has nothing to do with the pin. The pin is ddd415f4a (git ls-tree origin/main third_party/llama.cpp) and the fork has the file at that commit (git ls-tree --name-only ddd415f4a ggml/src/ggml-hrx/tools/). * ci: the row is live at this pin, so stop saying it skips (engine#2836, two reviews) Two reviews made the same point and it is right: the comment described the reason the wrapper exists as if it were the state of the row. After the merge, the checkout carries main's gitlink (ddd415f4a, which has the script), so the row RUNS -- but a reader debugging "why did this not catch X" would read "this row skips (77)", believe it inert, and stop looking. A comment that is false in the merged tree is worse than no comment, because it is the one a debugger trusts. Reworded in three places, all to "conditional on the pin" rather than "true of this engine": - CMakeLists.txt: on a pin before ddd415f4a it skips and names the commit; at ddd415f4a or later it runs and passes, so the row is live, not inert. - the wrapper's docstring: a checkout CAN be before ddd415f4a (that is the reason for the wrapper); at or after it the file is there and the row simply runs. - the runtime skip message: "this checkout is at a pin older than that", not "this engine pins an older commit" -- the message only prints when the file is genuinely absent, and it now says so about the checkout it actually measured. Also, from the other review: a skip path that CREATES files as a side effect is a defect of the same family as #2830's self-test writing into the artefact a human reads. The two zero-byte files that broke the previous build (e180dc2) came from my own shell, not from the wrapper -- the self-test writes only into a TemporaryDirectory -- but the sentence is now in the wrapper's header so a third skip arm does not get to invent artefacts. self-test 4 arms ok, pre-pr 12 green, 3 skipped. * ci: the sentence the previous message promised, actually added (engine#2836) 03eff66's message said the wrapper's header now states that a skip path creates nothing; it did not -- I described the change I intended instead of the one I made. Adding it rather than amending, because force-pushing a lane branch is not a thing this lane does. The claim: the self-test writes only inside a TemporaryDirectory and nothing here touches the tree it reads, so a skip cannot leave an artefact for a reader to mistake for a finding (#2830's defect). * ci: the skip has two causes and they need different fixes (engine#2836 review) The CHANGES verdict is right and it is the sharper version of the last round: in CI the submodule is checked out (`ci.yml:77`), so the row runs and the skip is unreachable there. It is reachable in exactly one place -- a tree with an empty `third_party/llama.cpp` -- and for THAT tree the message said "this checkout is at a pin older than ddd415f4a", which is false: the pin is fine and the submodule is not initialised. Two causes, two fixes, one message: the reader would run the wrong one and conclude the row is broken. It is not a hypothetical. Earlier today another lane measured "the tool is ABSENT at this pin" in a lane worktree -- my worktree has the same property, `ls third_party/llama.cpp` is empty -- and that reading nearly put a permanent skip into ctest_skips.txt on a pin where the row passes. So `skip_message()` now measures which of the two it is and says so: - `third_party/llama.cpp` empty or missing -> "an uninitialised submodule, not an old pin", with `git submodule update --init third_party/llama.cpp` in the message; - submodule checked out and the file absent -> "a pin older than ddd415f4a", as before. Two new arms, one per cause, so the distinction cannot silently collapse: 7 arms, self-test ok. And the proof is this worktree, which IS the first case: $ python3 tools/ci/stale_expectations_check.py --root . -> rc 77, "third_party/llama.cpp is not checked out here ... That is an uninitialised submodule, not an old pin" pre-pr 12 green, 3 skipped. --------- Co-authored-by: bong-water-water-bong <[email protected]>
The
simulate_alertpath polluted the registry, and this fixes the cause and the record.What happened
simulate_alertappends one fabricated row to the watcher's log to exercise the alert path:Nothing in the issue said it was a fixture. A lane read the row as a real finding and #2816 reviewed
SimulatedForTestingClassintoregistry/significant.jsonaswatch: "report", with a family note describing it as "Hugging Face's own simulated model … first seen in the 2026-11-17 census with 1 model". No model has that class — the class name and the model id are this workflow's own literals. So the registry now records a coverage decision nobody made, about a class that does not exist, anddocs/registry.mdsays a reviewed class "always alerts unlesswatch: report" — i.e. the entry is load-bearing.That is worse than a noisy test issue: a fabricated review is indistinguishable from a real one to every later reader.
The two changes
1. The issue says it is simulated. The watch job publishes
simulatedas a job output (set only on the dispatch path), and the alert job prepends a banner to the body:2. The fabricated entry is removed, and
registry/census.json'sdeclined_architecturesis recomputed from its own raw block (24 → 23) rather than hand-edited:tests/census_watch_test.pyre-derives that summary and failed withdrift: {'declined_architectures': (23, 24)}until it was. (declined_modelswas unchanged —example/simulatedis not in the committed raw block, so the entry never described a model either.)Checks
Diff is three files:
census-watch.yml+15,significant.json−5,census.json−1/+1.Note on the test path itself
I ran three
simulate_alertdispatches tonight (#2811, #2823, #2814) and each was useful — the first two exercised the excerpt fix end to end, the third proved the credential fix (2WATCH FAILEDlines → 0). The cost was this registry entry. The banner is the fix for the cost, not a reason to stop dispatching: a test path whose output cannot be mistaken for a finding is what makes it repeatable.🤖 Generated with Claude Code