Development

FrontierCode: The Benchmark That Asks Whether AI Code Is Ready to Merge

A new benchmark built with more than 20 open-source maintainers deflates the record-breaking numbers behind coding agents: even the best model clears only 13% of the hardest tasks.

For two years, the industry has measured the progress of coding agents with a single question: does the generated code pass the tests? That’s the logic behind benchmarks like SWE-Bench, and it’s also the logic behind most of the triumphant announcements that have followed every new model release. But it’s a different question from the one a tech lead actually asks when a pull request lands: not “does it work”, but “would I accept this into production, with my name on it, knowing I’ll have to maintain it in six months?” FrontierCode, the benchmark introduced by Cognition, grows directly out of that gap between the two questions, and the numbers it brings with it are considerably less flattering than the industry has let on so far.

A different yardstick

Built together with more than 20 open-source maintainers across 36 flagship repositories, with every task validated by more than 40 hours of human work, FrontierCode grades generated code on six dimensions: behavioral correctness, regression safety, mechanical cleanliness, test correctness, scope discipline, and overall code quality, as aipedia.wiki describes in its analysis of the launch. It’s an evaluation framework much closer to how a human reviewer looks at a pull request than to how a continuous-integration pipeline decides whether a build can pass. Celery maintainer Tomer Nosrati, who was involved in building the benchmark, summed up the difference in a line that instantly became the project’s informal tagline:

“Where others grade like a CI, FrontierCode grades like a tech lead.”

Changing the question changes the answers sharply. On the Diamond set, the 50 hardest tasks, even the model leading the pack — Claude Opus 4.8 — tops out at 13.4%, trailed by a wide margin by GPT-5.5 at 6.3% and Gemini 3.1 Pro at 4.7%. On the Main set, 100 tasks, Opus 4.8 climbs to 34.3%, with Kimi K2.6 at 16%; on the Extended set, 150 tasks, Opus 4.8 reaches 51.8% against Kimi K2.6’s 37%. These numbers are a long way from the percentages that have accompanied new model announcements for months, and according to Cognition, the Diamond set remains “unsaturated” — no model comes close to maxing it out.

Model scores on the FrontierCode Diamond set, 50 hardest tasks (%)
Model scores on the FrontierCode Diamond set, 50 hardest tasks (%)
CategoryDiamond set pass rate (%)
Claude Opus 4.813.4
GPT-5.56.3
Gemini 3.1 Pro4.7
Source: Cognition

What the old numbers were hiding

The most uncomfortable part of the story isn’t just the low scores, but what they say about the benchmarks that came before. According to a METR Evals analysis cited in the reactions to the launch collected by Digg, more than half of the results SWE-Bench classified as “passed” actually produce code that isn’t mergeable: it clears the intended tests, but introduces regressions, spills outside the assigned task’s scope, or simply falls short of the quality standard a team would accept without argument. Cognition claims an 81% reduction in misclassification compared to SWE-Bench Pro — a figure that, if confirmed by independent evaluations, considerably undercuts the reliability of two years’ worth of leaderboards.

The most direct summary comes from Cognition itself, quoted by Digg: “Models write sloppy code that works but isn’t maintainable. Our eval is first to measure: would you actually merge this code?” It’s a line that reads almost like a collective admission: the benchmarks the industry has used to sell coding agents so far measured, at best, a necessary but not sufficient condition for being useful in a real production context.

The right question to ask a coding agent was never 'does it work', but 'would you merge it'.

The conflict of interest that shouldn’t be ignored

It needs to be said as plainly as aipedia.wiki itself flags it: whoever publishes FrontierCode is also a competing vendor of coding agents, with a direct interest in showing that rival benchmarks overstated everyone else’s performance. That doesn’t invalidate the methodology — the involvement of more than 20 independent maintainers and the transparency around validation hours are real markers of credibility — but it does call for caution in reading the results as a neutral verdict rather than a competitive positioning argument.

FrontierCode’s most lasting value, regardless of who published it, may lie elsewhere: in the reminder that the right question to ask a coding agent was never “does it work”, but “would you merge it”. It’s a question that resists being flattened into a single headline number, because behind every “yes” or “no” sit judgments about scope, style, and safety that an automated test simply doesn’t capture. Until that question has a solid answer for most complex tasks — and the numbers on the Diamond set suggest we’re still a long way off — the promise of fully autonomous coding agents remains, in the daily practice of the people who write and maintain software, still largely unproven.