Skip to content

Releases

testreceipt 0.1.0: agent test claims vs CI, 2025 and 2026

Choose a tag to compare

@amos689 amos689 released this 06 Oct 12:34

First public version, released with a study: do coding agents' "all tests pass" claims hold against CI at the same commit?

Findings

Agent pull requests (repositories with 100+ stars) that claimed passing tests and had a CI result 2025 (AIDev) June–September 2026
Pull requests 481 644
Said the tests pass; CI's tests failed at that commit 8.7% 0.3% (2)
Said a part of the suite passes; the suite failed 7% 4.7%
  • In 2025 CI's tests failed about as often on pull requests that claimed passing tests (18%) as on those that said nothing (22%).
  • By 2026, agents were naming the commands they ran. Copilot went from 23% of descriptions claiming passing tests to 1 of 306.
  • Two model judges labelled every case where a claim met a failing test step. Details and limitations: docs/study.md.

The tool

  • testreceipt claims reconciles a description's test claims with CI (--pr) or a JUnit run (--junit).
  • testreceipt check flags changes that weaken tests.
  • The release also includes a GitHub Action and a Claude Code Stop hook.

It is a research tool. On held-out 2026 pull requests, CONTRADICTED was right 2 times in 12 and SCOPED 23 times in 28. Claim verdicts therefore report and never fail a build unless --fail-on asks for it.

uvx --from git+https://github.com/amos689/testreceipt@v0.1.0 testreceipt claims --pr owner/repo#123

Data: AIDev (CC BY 4.0), SWE-bench (MIT), and public GitHub data for 2026.