Do test pass rates accurately measure agent code quality?
Automated test scoring shows AI agents succeeding 38% of the time on real GitHub issues, but human review finds none of their pull requests actually mergeable. This explores whether benchmarks that rely on algorithmic scoring systematically overstate real-world agent performance.
In a METR research note, David Rein reports that an Inspect ReAct agent using Claude 3.7 Sonnet "has an average success rate of 38% (±19%, 95% CI)" on 18 real GitHub issues drawn from two open-source repositories, stdlib-js and hypothesis, as measured by the maintainer-written test cases bundled with the original human pull requests. But "when manually reviewing a subset of these PRs...none of them are mergeable as-is." The manual review judged "holistically whether the agent's PR would be mergeable in the repository without needing meaningful/substantial extra work," scoring each submission across failure modes such as test coverage, formatting/linting, and general code quality, and counting a submission complete only if it showed none of them.
The note frames this as a gap between "algorithmic scoring" and holistic evaluation. Many benchmarks, including SWE-Bench Verified, score agents by whether they pass reusable automated test cases, because that scoring "is easy," runs fast, and needs no human review — but "many goals are difficult to represent with algorithmic scoring functions," among them documentation quality, code style, and mergeability. Rein notes that the popularity of reinforcement learning with verifiable rewards compounds the risk, since it optimizes agents specifically toward tasks that can be automatically scored, so "we might expect that AI systems will perform better on tasks that can be automatically evaluated compared to ones that can't." METR estimates that bringing the 15 manually reviewed PRs to a mergeable state would take a human an average of 42 minutes, falling to an average of 26 minutes (minimum 15 minutes) when restricted to the PRs that already passed the human-written tests — against an average 1.3 hours the original maintainers spent on these same issues, so even a test-passing agent PR leaves roughly a third of the task's human time still undone.
The note offers this as a candidate explanation for a puzzle elsewhere in the library: METR's own measured time horizon for Claude 3.7 Sonnet is about one hour, yet Do AI coding tools actually speed up experienced developers? found the same family of tools slowed, rather than sped, experienced developers on real tasks of comparable length. Rein's hypothesis is that the time-horizon figure is itself inflated by algorithmic scoring, since time-horizon and R&D benchmarks like the one behind When do AI agents outperform human research experts? also depend on scoring functions that can miss the mergeability, documentation, and code-quality failures this note measures directly. It also extends What shortcuts do high-accuracy agents actually take during benchmarks? and Does a single benchmark score actually predict agent readiness?, both of which argue that a pass-rate score can hide behavior that matters for deployment: this note supplies a specific, measured version of that gap — a 38 percent algorithmic pass rate against a 0 percent holistic-mergeability rate on the same tasks — rather than a general argument for why such a gap might exist.
The sample is small: 18 issues, 15 manually reviewed, from two repositories, one run per task manually scored, and the "time to fix" figures are estimates made by comparing agent PRs to the reference human PR rather than scores from the original PR authors. The note does not establish that algorithmic scoring overestimates performance on every benchmark or task type, only that it did here, for coding issues with unit tests, under this agent scaffold. The implication the evidence supports is narrower but still consequential: wherever a benchmark's pass/fail signal depends on tests that the task's real stakeholders did not write, a high score is weaker evidence of real-world usefulness than it appears.
Inquiring lines that read this note 3
This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.
Does expanding agent autonomy undermine human oversight capacity? Does AI-assisted coding actually improve developer productivity and code quality?Related concepts in this collection 5
This note in its neighbourhood — explore the map, then jump to a related concept in the list below.
Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph
-
Do AI coding tools actually speed up experienced developers?
Developers predicted AI tools would make them 24% faster, but a randomized trial measuring real work found the opposite. Understanding this gap between forecast and outcome matters for assessing AI's real productivity impact.
the slowdown finding this note's algorithmic-scoring hypothesis is proposed to help explain
-
When do AI agents outperform human research experts?
RE-Bench tests whether AI agents can match or exceed human ML researchers on open-ended engineering tasks across different time budgets, to understand at what scale each excels.
same organization's time-horizon benchmark, which this note argues shares the algorithmic-scoring gap
-
What shortcuts do high-accuracy agents actually take during benchmarks?
Despite identical accuracy scores, agents may game benchmarks or take catastrophic actions invisible to standard metrics. How can we detect these shortcuts and unsafe behaviors in agent logs?
same concern that accuracy scores hide deployment-relevant failures, from log inspection rather than manual PR review
-
Does a single benchmark score actually predict agent readiness?
Single-axis benchmarks rank models by one capability—like task success—but ignore privacy, duration, operating mode, and ecosystem fit. Can one number really capture what matters for deployment?
this note's mergeability axis is a concrete instance of a benchmark-blind capability axis
-
Did developers opt out of METR's AI study because of selection bias?
METR's August 2025 developer productivity study may have missed its most AI-dependent workers. Understanding whether selection effects—developers refusing to work without AI tools—distorted the speedup estimates matters for interpreting what the data actually shows about AI's real-world impact.
Evidence for: METR also found its developer speedup study unreliable, another case of its own metrics overstating AI's real-world benefit
Related papers in this collection 8
Papers most semantically related to this note, ranked by cosine similarity in the embedding space.
- Research Update: Towards Reconciling Slowdown with Time Horizons (algorithmic vs holistic evaluation)
- Holistic Agent Leaderboard: The Missing Infrastructure for AI Agent Evaluation
- What Does a Harness Buy? Tokens, Mostly
- Measuring AI Ability to Complete Long Software Tasks
- Towards a Science of AI Agent Reliability
- Expenditure Horizon: Measuring Optimization Ability, with an Application to NanoGPT
- Agents' Last Exam
- Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debate
Original note title
METR's manual review finds none of 15 agent pull requests were mergeable as-is despite a 38 percent test-passing rate