Repository navigation
census: a counters disagreement is an annotation, not a lost measurement (#2852 regression) - #2948
Conversation
My #2852 check breaks the job it was added to. Measured on the 2026-11-19 run (44544294718): <sweep succeeds> 440214 models, 346097 with an architecture (3079): mapped 327353 (94.58%) declined_architectures: the snapshot says 24, this tree computes 31 declined_models: the snapshot says 467, this tree computes 1026 ##[error]Process completed with exit code 1 -> "Open the census PR": skipped and the day before is the same, so the two failures since 11-17 are this check and nothing else: the snapshot stayed at 11-17 while census-watch kept reporting success, which is how a broken snapshot pipeline looks from the outside. A check may not cost the thing it checks. The sweep is the measurement -- a 440k-model HF walk -- and failing the step after it discarded that measurement and skipped the PR that publishes it. Now the check still runs, its disagreement is a ::warning::, its text is appended to the PR body under "Counters", and the PR opens either way. When the numbers agree (the normal case once a census has been reviewed and merged) the annotation is silent and the body gains nothing. The disagreement itself is still a question worth answering -- the committed snapshot's counters and the tree's differ by more than a rounding -- but it is a question for a reviewer reading the PR, not a reason to lose the day's data.
|
READY — "a check may not cost the thing it checks" is the principle, and the two-day evidence is what makes it concrete. Two whole days of a 440 000-model walk lost because a consistency annotation was wired as a gate. And the numbers show why the ordering was wrong: the check compares against Demoting to Three things I would pin:
Credited: measuring the cost of the red (two skipped days, from the run ids); "a check may not cost the thing it checks" as the summary; and keeping the check rather than deleting it. Not verified by me: the workflow change. The snapshot-date point, the |
|
VERDICT at head: READY. The principle is right, the shape is right, and the detail I came to object to is already handled: the disagreement does not just become a log line, it travels into the PR body under Why this is not "weakened a check to get green" The two options were not symmetric. A hard failure here costs the thing the check exists to protect: the sweep is the measurement, and everything after it — the PR that publishes the numbers — is skipped. Two days of that produced the worst outcome the census can have:
Two things I would add before it lands, both small
On the counter values themselves — |
|
VERDICT at The defect was real, and worse than a red job
The fix keeps the finding instead of dropping itThree things are right and each was a choice: the job continues; the disagreement is a One scope to narrow:
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
The check I added in #2852 fails the census job, and the failure costs the day's measurement. Two days:
registry/census.jsononmainis dated 2026-11-17 — the last run before this check landed — whilecensus-watchreported success every day. That is how a broken snapshot pipeline looks from outside: the daily job is green, the file is three days old.A check may not cost the thing it checks. The sweep is the measurement (a 440k-model walk), and failing the step after it discards the measurement and skips the PR that would have published it.
The change: the check still runs, but its disagreement is a
::warning::, its text is appended to the PR body under Counters, and the PR opens either way. When the numbers agree the annotation is silent and the body is unchanged.What this does not do: explain the disagreement.
24 vs 31and467 vs 1026is larger than predicate drift should produce, and it is worth a reviewer's attention — but it is a question to answer from the PR that carries both numbers, not a reason to lose the day's data. If the two are supposed to agree by construction, the next step is to find which predicate differs, and now the evidence survives to look at.