Two people left long, technical comments on the posts I published this week. One of them asked for an experiment I should have run before publishing anything at all.
The original number was 10/10: take ten real CVE fix commits, revert each one, and ask our security agent to find what was reintroduced. It found all ten. I wrote a whole post about why that number is weak, and listed four reasons. A reader pointed out the fifth, with a design:
For each of the ten cases, revert a commit of about the same size in the same files that fixed nothing security related, and run the reviewer with the same settings. If it reports a vulnerability on many of those, ten out of ten says the reviewer notices removed checks rather than the bug.
He is right, and the reason cuts deeper than "we forgot a control". A reverted fix is a diff that deletes a guard. If the reviewer is pattern matching on a guard was removed, then any reverted commit that removes a guard gets flagged, and the ground truth (this was a CVE) is doing none of the work. Without the control, 10/10 cannot distinguish "finds vulnerabilities" from "notices deletions".
The design
Ten control commits, one per original case, chosen to be as close as possible to the fix it replaces:
- same repository, and where the file had enough history, the same source file;
- an already merged commit with a non-security subject (no CVE, no security wording, no revert);
- comparable diff size;
- same treatment as the original ten: check out the commit,
git revert --no-commit, restoredocs/tests, commit, then run only the security agent onHEAD~1with no PR description and no commit message.
| Case | Fix (lines / date) | Control commit | Lines | Date | What it actually changed |
|---|---|---|---|---|---|
| c01 | 264 / 2026-11-03 | c709a748 |
42 | 2023-12-20 | Dropped support for GDAL 2.4 |
| c02 | 72 / 2026-11-03 | 77d0c9d5 |
37 | 2026-06-18 | Admin displays database defaults as empty |
| c03 | 87 / 2026-11-03 | a0f2e29e |
50 | 2026-11-12 | Deprecated passing table names to createcachetable
|
| c04 | 84 / 2026-11-03 | d3954c98 |
52 | 2026-11-16 | Re-raise RecursionError as ValueError
|
| c05 | 176 / 2026-11-03 | 7732f942 |
117 | 2026-02-10 | Made the multipart parser class pluggable |
| c06 | 110 / 2026-10-06 | be6a149d |
62 | 2026-09-07 |
ModelFormSet respects custom Form.add_prefix()
|
| c07 | 154 / 2026-10-06 | 9ea5f4fa |
163 | 2026-07-24 | Typos and grammar in docs and docstrings |
| c08 | 55 / 2026-08-04 | 4b2b4bf0 |
35 | 2026-03-18 | Admin boolean icons for related fields |
| c09 | 97 / 2020-11-24 | 58b16c88 |
81 | 2026-07-15 | Extract duplicated setFormDataHeaders
|
| c10 | 29 / 2021-02-20 | 0cec2257 |
38 | 2019-10-16 |
_.isEqual and circular references |
This is not a clean matched experiment, and I would rather say so here than have someone find it later. Three controls are years away from their fix in repository time (c01 is 2023 code against a 2026 fix, c10 is 2019 against 2021, c09 is six years later). Two controls are mostly docs or docstrings, which are trivially quiet. c03 and c04 are dated after their fix. c01's control is a sixth of the size of its fix. For files with almost no history there was no same-file, same-size, same-year commit that was not itself a security fix, so "nearest available" was the honest ceiling.
What the control showed
All ten controls eventually completed. The axios case timed out twice on the provider; after a cooling-off period a third attempt succeeded, so it is included. I am keeping that detail because "ten clean runs" would be a nicer sentence and a less true one.
| Complete silence | 7 / 10 |
| Commented | 3 / 10 |
| Total comments | 3 |
| All three graded as noise for a security review | 3 |
So the cheap version of the criticism does not hold: the reviewer was not flagging every reverted commit. It stayed quiet on seven of ten ordinary reverts, against 10/10 on the CVE reverts. Something in the security patches is being detected.
But the three comments it did produce are more interesting than a clean zero would have been, because all three are the same failure mode. None is a random hallucination. Each describes the reverted change accurately, then promotes an ordinary robustness bug to a security vulnerability.
d3954c98(Django, re-raiseRecursionErrorasValueErrorfor deeply nested GeoJSON) was reverted, so the raw exception propagates again. The reviewer wrote an entirely correct paragraph about that, then called it "a remote denial-of-service vector when the input is attacker-controlled", severitymedium. Django tracked it as ordinary ticket #37491, not a security release. The code observation is right. The security framing is invented.58b16c88(axios, extract duplicatedsetFormDataHeaders) was reverted, leavingObject.entries(formHeaders)without a null guard. The reviewer correctly identified the unguarded call and the resultingTypeError, and reported severitymediumwith "potentially crashing the Node.js process". It even quoted the changelog back at us. A crash on a malformed customFormDataimplementation is a real bug. It is not a vulnerability, and this commit was a refactor.0cec2257(lodash,_.isEqualon circular references) was reverted, removing the symmetric cyclic check. The reviewer reported severityhighand added that this could enable "authentication bypass or authorization flaws if_.isEqualis used to compare user-controlled data with trusted values". There is no such path. An equality bug is not an auth bypass, and nothing in the diff touches authentication. This is the exact shape I described in the noise post: a defensible observation written up in the most flattering possible way.
All three findings also had file: null (one had a line number of 56375802). I claimed in an earlier post that anchoring every finding to a specific line was one of our design fixes. On these runs it plainly was not enforced, and I would rather say that than leave the claim standing.
One more thing worth noting: those three runs did not all use the same model. ctl04 completed on the primary model; the other two fell back to flash-lite. The same failure appeared on both models, which suggests this is not a quirk of the weaker fallback. It is also a confound I cannot remove from a ten-case experiment, and it is part of why the table above is an anecdote rather than a rate.
The thing I found while setting it up
To keep the two runs comparable I opened the original ten log files, and found something that should have been in the first post:
SecurityAgent: rate-limited by provider for diff:HEAD~1, retrying:
Error code: 429 - inference exceeds tpm/rpm limit
SecurityAgent rate-limited on sensenova —
switched to sensenova-6.8-flash-lite and retrying
All ten. Two also logged structured output failed ... falling back to regex after a timeout. So the 10/10 was never a result for the model we configured (deepseek-v4-flash); it was a result for a rate-limit fallback, with a weaker parser on two cases. I had published the number, written four paragraphs about its limitations, and never checked which model produced it.
There is one narrow upside: eight of the ten control runs also hit the same 429 and used the same fallback, so most of the comparison is at least internally consistent. But two controls completed on the primary model, so it is not a clean matched-model experiment, and the published claim is now narrower than the one I made: we measured a fallback model on ten constructed patches, plus a control on ten ordinary ones. We have no clean result at all for the primary model.
The benchmark page now lists this as a fifth limitation, and the first post carries a correction. I would rather publish that than let the 10/10 keep circulating unqualified.
What the number is worth now
The control stayed mostly quiet, so 10/10 is not merely "notices deletions": on this small set the reviewer did distinguish security-relevant removals from ordinary ones. But the three exceptions change what that is worth. Every one was a real, correctly described code regression promoted into a security finding — two tagged DoS, one with a fabricated authentication-bypass path. A reviewer that does this on 3 of 10 ordinary reverts is not one whose 10/10 you can hand to a team and call a benchmark; the same mechanism that finds the planted bug also invents the impact around a real change.
So the honest statement is narrower than the headline: ten cases, all constructed by reverting a known fix, ten controls, no blind human labelling, no fixed model, one run that needed three attempts, and three findings with no valid file anchor. A reviewer can pass this and still be useless on a real pull request queue — which is what we saw on ordinary merged commits.
Either way, the sequence matters more to me than the score. We published a number, two readers told us how to attack it, we ran the attack, and the attack surfaced a bigger flaw than the one we had already admitted. That feedback loop is worth more than a flattering benchmark.
What comes next
The next version does not get to use ten cases or a fallback we did not choose:
- 100 commits across three or four projects, with security and non-security cases mixed and blinded.
- A single pinned model, with the model actually used recorded per run instead of inferred from the config. If it rate-limits, the run is discarded, not silently retried on a different model.
- Two independent human labels per comment, with disagreements written down.
- The exact prompt and context for each finding retained, so a wrong comment can be classified as missing context or overconfidence. That distinction was the other reader's question, and we cannot answer it yet.
- Reviewer time per actionable finding, rather than a raw comment count. Counting comments is cheap and flattering; it hides that a silent reviewer saves nobody anything.
Until then, treat 10/10 as what it is: a fallback-model result on ten constructed patches, with a control that is itself imperfect. The harness, the raw JSON, and now the correction are public. If you can break it, I want the counterexample.
RevHive is the tool this post is about: a GitHub App, or a CLI you run inside your own network with your own model key. The benchmark page, the noise measurement, and the source are public. If you want to try it, install the App — it starts free.
Top comments (8)
The detail that changes the 10/10 for me is the one in your own logs: all ten original runs hit "rate-limited by provider … Error code: 429" and fell back, and two also fell back to regex parsing — so the score was never measured on the deepseek-v4-flash you configured.
One check before the next round: grep each run's log for the model that actually ran and for "429" / "falling back to regex", and only count runs where the logged model matches the configured one. Any run that rate-limited or fell back gets discarded, not counted — that is the rule that would have caught this before the 10/10 went out.
That check is exactly the one that was missing, and you were right to run it.
The fallback itself we did disclose on the benchmark page once we noticed it. But noticing is not the same as being able to audit it afterwards, and that gap is on me: the artifacts recorded findings, not who produced them. Two runs that look identical in the JSON could be different models, and one of them could be a regex parse.
So we built the gate you described. Every review now carries provenance: the configured model, per-agent model and parse mode (structured vs regex), and every rate-limit switch. scripts/verify_run.py reads a run directory and classifies each cell clean / degraded / failed from the logs the CLI already writes.
Ran it on the 3-model set: 13 clean, 9 degraded, 7 failed out of 29. The sensenova-ds column comes back 0 clean out of 10 — every cell either switched model or died — so that column is withdrawn from the aggregate rather than averaged in. The 10/10 has to be read through the same filter, and the three-arm rerun is the version that survives it.
The rule we are adopting: only clean cells get aggregated, degraded cells get reported with their reason beside them. A number that cannot say which model produced it does not get to be a row in a table.
Script is here: github.com/jovian-zhibai/RevHive/b...
If you point it at a run of your own I would like to know what fraction comes back clean. My guess is most pipelines are worse than they think.
@nexusverify That rule is now a script, and it should have existed before the 10/10 instead of after it: scripts/verify_run.py (commit 4fb807f) reads each cell's own log and classifies it clean / degraded / failed on exactly the events you list — "rate-limited on X — switched to Y", "falling back to regex", 429s, agent failures — and refuses to aggregate a degraded cell into a hit rate.
Two limits worth naming. It verifies a substitution that was logged; a silent one would pass it, so the structural fix is what the 3-model suite already uses — --fallback none, where a rate limit fails the cell instead of swapping the model. And it compares our logs against our own expectations, not against a provider-side record of which model served the request: we can prove a switch happened, we can't prove which model answered.
The six sensenova cells that lost LogicAgent to the free tier's TPM limit are carried as withheld rather than as misses. That's your rule applied at the score level, where it costs us cells in the table instead of only a line in the log.
This is the right ending for that thread — the rule existed as a script before the next number went out, not as a promise after it. Your two named limits are the honest part: a silent substitution passes a log-only gate, and there's no provider-side proof of which model answered, so clean means 'the log is consistent,' not 'proven.' On your question — I don't have a public benchmark run of my own to point it at; my runs are audits of other people's code, so the fractions aren't mine to publish. But the classification is the part I'd steal either way: 13 clean / 9 degraded / 7 failed, with the degraded column withdrawn instead of averaged in, is a more believable report than the original 10/10 ever was.
@nexusverify One correction to my own report, since you put your finger exactly on it:
off_model_agentsin that provenance block compares the model each agent asked for. If a provider quietly serves something else behind the same endpoint, the field stays clean. It only catches our own rate-limit switches — the ones we make on purpose, and log anyway.The cheap fix is to read the model echoed back in the response body (OpenAI-compatible APIs return it; langchain surfaces it under
response_metadata) and compare that to the request. Not proof — a proxy can echo whatever it likes — but it moves the claim from "we asked for X" to "the endpoint said X". Whether every provider we support echoes it honestly is itself a thing to measure, and I'd rather find that out before calling a column clean again.Your reading of 13 / 9 / 7 is the one I'd defend too: withdrawing the degraded cells costs coverage, averaging them in costs the number its meaning — and only one of those two losses is visible to the reader.
Thanks for the correction — that's exactly the gap. Reading the model echoed back in response_metadata is the right next check: it moves the claim from 'we asked for X' to 'the endpoint said X', even if a proxy can still echo whatever it likes. Measuring which providers echo it honestly is the honest follow-up before calling a column clean again. And on 13 / 9 / 7, I agree — withdrawing the degraded cells is the loss the reader can see, while averaging them in hides the loss of meaning.
Agreed on both, and the first one is a code change with a cost to the published numbers, not a patch to them.
off_model_agentscompares the model each agent asked for against the model the run was configured for — requested vs. requested — so a provider serving something else behind the same endpoint is invisible to it. Reading the echoed model out ofresponse_metadatamoves the claim from "we asked for X" to "the endpoint said X", with the limit you named: a proxy can echo whatever it likes.That is a re-run under a new measurement basis, not a re-scoring of the existing matrix. The published cells stay as measured, with the note that they record the requested model, not the served one. Which lands where you did: the withdrawn cells stay withdrawn instead of being averaged back in, because the loss is the signal.
Agreed back — and the expensive choice is the one that makes it believable. Calling it a re-run under a new measurement basis rather than a re-scoring is the distinction most teams blur: re-scoring would have let the old matrix keep its shape while quietly changing what it means. Keeping the published cells as measured, annotated as requested-not-served, and the withdrawn cells staying withdrawn, means the reader can see both the number and what it cost to get it.
The part I'd underline is that the wrong-model benchmark is a silent-failure specimen in its own right. The 10/10 failed silently twice over: the fallback swapped the model without failing the cell, and
off_model_agentscompared requested to requested, so nothing in the record could have caught a provider-side swap either. The echoed-model check doesn't just fix this column — measuring which providers echo honestly is a finding worth publishing on its own once you have it.And the control is what earned all of this: without it, the 10/10 would still be standing as a detector score instead of a fallback-model result on ten constructed patches. Looking forward to the re-run numbers under the new basis.