The tests passed on all 107 wrong AI changes. Here is what caught 86 of them The maintainer of Apex verify, an open-source tool that checks AI-generated code changes against the original task text rather than the agent's own tests, released benchmark results showing it stopped 86 of 107 wrong changes (80%) that passed the projects' visible test suites. The tool has a separate model write checks from the task description, proves each check can fail on the old code, and scans for cheating such as deleted or skipped tests; on 93 correct changes it wrongly flagged 10 (11%), which the maintainer's manual audit reduced to roughly 4 in 100. The benchmark drew on 23 real open-source libraries with hidden upstream tests, and the maintainer notes 14 of the 107 wrong changes were still marked ready. An AI agent fixes a slug function. The project's own test passes. It says "done". It isn't: slugify "Hello, World " comes back as hello-world , and the task said "a clean URL slug". I'm the maintainer of Apex verify , a small open-source tool for exactly this gap. You give it the change an AI made and the task you gave it. A different model writes checks from the task text never from the agent's own tests , the tool proves each check can fail on the old code, then runs them next to your tests and a scan for cheating deleted or skipped tests, a test script that cannot fail . The answer is ready , not ready or unknown , with the evidence, on a copy of your code. npx --yes https://github.com/apex-engine-dev/apex-verify/releases/latest/download/apex-verify.tgz verify --demo I built a benchmark from 23 real open-source libraries jshttp, picomatch, slugify, HumanizeDuration and others . Each task is a real historical bug fix: the code before the fix, with the upstream test that the fix added kept hidden. Small Gemini models wrote 200 candidate changes, and I labelled each right or wrong with the hidden test. | 107 wrong changes | stopped | |---|---| | The project's tests + a cheating scan | 0 the visible tests passed on every change | | Apex verify Gemini 3.1 Pro as the checker | 86 80% | On the good changes it wrongly stopped 10 of 93 11% by that hidden-test label. I then checked those 10 by hand: for 6, the change really did not do what the task text says the upstream test was narrower than the task text , so the real checker-mistake rate is about 4 in 100. One reviewer did that audit, after seeing the numbers, so treat it as an estimate. The details and the evidence per change are in the repo. On 17 small projects the figures were about 65% stopped and 3% wrongly stopped. It still misses things: 14 of the 107 wrong changes were called ready . It is not a proof of correctness; it raises the bar. AfterAgent hook, run in a real session. cargo test and go test . Tests and checks run in a sandbox macOS Seatbelt, Linux bubblewrap, Windows AppContainer , all tested in CI. Apache-2.0, one maintainer, one run per change, Gemini-written changes only. Everything is rerunnable: node benchmark/run-gate.mjs . The most useful thing you can send me is a ready on a change that is wrong, or a not ready on one that is right. Open an issue https://github.com/apex-engine-dev/apex-verify/issues/new/choose and I will add it to the benchmark and credit you. The repo: https://github.com/apex-engine-dev/apex-verify https://github.com/apex-engine-dev/apex-verify