Skip to content
View original post on X: Josh Builds
Published

Cognition's FrontierCode 2.0 benchmark tops out at 45.5% for coding agents

AICognition's FrontierCode 2.0 benchmark asks whether a coding agent's pull request would be merged by project maintainers. The best score is 45.5%, from Claude Opus 5.5 in Claude Code at max effort.
Josh BuildsVerified on X
@Joshua_WD
View on X

Cognition's FrontierCode 2.0 asks whether a coding agent's pull request would actually get merged. The best score is 45.5%. The part I keep thinking about: more reasoning effort made agents change code nobody asked for. What I'd change. https://x.com/i/article/2115760013176131584

FrontierCode 2.0 Tops Out at 45.5%. More Reasoning Effort Made Agents Change Code Nobody Asked For

Cognition released FrontierCode 2.0 on October 27. It's a coding benchmark that asks whether an agent's pull request would actually get merged by the people who maintain the repo. The best result, Claude Opus 5.5 running in Claude Code at max effort, scores 45.5%.

The finding I keep coming back to is a different one. On these tasks, turning reasoning effort up often made agents change more code than anyone asked for. If you hand coding agents real tickets, this is a better map of where they go wrong than most leaderboards. Here's what the benchmark measures, what the results say, and why I'd hold the numbers a little loosely.

A benchmark that grades the review, not the tests

FrontierCode launched in June with 150 tasks written by more than 20 open-source maintainers, each working in a repository they maintain and spending over 40 hours per task. A solution has to clear every blocking criterion, the kind of problem that stops a code review, or it scores zero. If it clears them, its score is a weighted sum of rubric items covering things like test quality, scope and style. Grading mixes unit tests, shell checks and LLM-based review, and humans design and audit the rubrics. Each model runs five times at each reasoning effort, and the best effort level is the one reported.

Version 2.0 has 132 tasks and is harder on purpose. Compared with version 1.1, the codebases are 25% larger, and the reference solutions change 67% more files and 89% more lines. It adds security patches and performance work, draws on 55% more repositories than 1.0, and has 43% more blocking criteria. Prompts are deliberately underspecified, so the agent has to infer what a maintainer would expect.

Two details matter for trust. In 80% of tasks, the reference solution differs from what the project actually merged, up from 60% in 1.0. And runs that consult sources containing the answer, like the original pull request, score zero. Cognition also says its audit pipeline found a security vulnerability in one upstream implementation, which it reported to the maintainers after human review.

The scoreboard, with prices attached

Cognition's own summary is that agentic software engineering is "far from solved." The leaderboard runs each model in its maker's harness where one exists (Claude Code, Codex, Grok Build, Muse Code) and in Cognition's Devin CLI otherwise.

Opus 5.5 leads at 45.5%, with GPT-6 Astra at 42.8% and Sonnet 5.5 at 41.0%. The number that jumps out for anyone paying the bill is GPT-6.1 Sol: 39.0% at $1.03 per run, against $12.82 for Opus 5.5. By my math, that's 86% of the top score at 8% of the cost. Haiku 5.5 reaches 27.7% at $0.37 a run, and GPT-6 Luna 21.9% at $0.17.

Output tokens vary even more. Sonnet 5.5 averaged about 515,000 output tokens per run, while GPT-6.1 Sol averaged about 41,500. Gemini 4 Carbon, which Google released a day after this update, isn't on the board yet.

The drop from 1.1 shows how much harder the new tasks are. Opus 5.5 fell from 54.6% to 45.5%. Gemini 4 Argon fell from 47.5% to 26.3%, and Cognition's own SWE-2 model fell from 50.0% to about 24%.

Thoroughness is where agents lose

Cognition sorts blocking criteria into categories. In 2.0, the largest is thoroughness, with 501 criteria, about three times as many as in 1.1. These check things the agent should infer without being told, like fixing every instance of a bug, or supporting the same input types that neighboring code already handles. Thoroughness also has the highest failure rate at every effort level.

The clearest example in the post is a task in Mock Service Worker, a JavaScript library for mocking network requests. The job is to make resetHandlers() restart generator resolvers. Opus 5.5 failed it in all five runs at every effort level. Its fix dropped the reference to the old generator, so the user's finally cleanup code never ran. Nothing in the prompt said to preserve that, but an experienced JavaScript developer would expect it.

My take: this matches what I see. The agent fixes the line you pointed at and misses the other places the same pattern lives. The code it wrote isn't wrong. It just never asked what else the change touches.

When more thinking makes the diff worse

FrontierCode doesn't reward writing more code, so a model can score lower at higher effort. Cognition's data from version 1.1 shows the split. Opus 5's implementation pass rate rose from 79.3% at low effort to 83.0% at max, while its scope pass rate fell from 69.2% to 51.1%. Fable 5, Opus 4.8 and GPT-5.6 Sol followed the same pattern.

In 2.0, more effort cuts nearly every kind of failure. Scope is the exception.

Cognition says higher effort tends to produce more code and more touched files, including changes nobody wanted. Smaller factors were overthinking into a misreading of the request and, now and then, a model pulling in the real solution commit, which counts as cheating.

The PostHog Android SDK task shows what this looks like. It's about a race that sends analytics events out of order. GPT-6 Astra passed all five runs at low effort by trimming code. At high effort it passed once in five, and it deleted a class that is part of the SDK's public API. FrontierCode's scope check caught that breaking change. My take: a change like that can pass a project's own tests and still break every app that used the class.

Reasons to hold the numbers loosely

- Cognition grades its competitors. It sells Devin and ships its own SWE-2 model, which sits 13th. Placing its own model mid-pack is a point in its favor, but no outside group runs these tasks. Epoch AI's benchmark page takes its results from Cognition's leaderboard instead of running them.

- The tasks are private. Cognition keeps them unpublished to avoid contamination, which also means nobody else can rerun them.

- The harness is part of the score. Cognition says so on the leaderboard. A model in its maker's tool and a model in Devin CLI aren't tested under identical conditions.

- Some grading is done by a model. Scope and review checks partly rely on LLM judgment, with humans designing and auditing the rubrics.

- Single tasks swing a lot. Five runs per effort level is a small sample on any one task, as the PostHog pass counts show.

What I'd change in my own setup

I use Claude Code and Codex every day, and this changes a few of my defaults.

- Keep high effort, but fence the scope. Most models scored best at high or max effort, so I wouldn't turn it down. I'd name the files and public APIs that are off limits in the prompt, because scope is the one failure that grows with effort.

- Ask for the siblings. Add a line like "find every other place this pattern appears, then fix it or list it." Thoroughness is the biggest failure category by far.

- Check public API changes in CI. A removed public class may pass every test in the repo and still break users. An exported-API diff check catches what the PostHog run did.

- Read the diff size first. If the agent touched far more files than the ticket needed, that's the first thing I'd question.

- Price models per task. On this benchmark, GPT-6.1 Sol and Haiku 5.5 deliver a lot per dollar. For routine tickets, I'd test a cheaper model before paying for the top score.

When your coding agent gets it wrong, is it usually missing something, or changing too much?

Sources

- Cognition: FrontierCode 2.0

- Cognition: FrontierCode Leaderboard

- Cognition: Introducing FrontierCode

- Cognition on X: Introducing FrontierCode 2.0

- AlphaSignal: Cognition's FrontierCode 2.0 reveals every AI coder fails half of real engineering tasks

- Epoch AI: FrontierCode benchmark

Source details

Josh Builds · x.comPublished · added here

Original title: Cognition's FrontierCode 2.0 asks whether a coding agent's pull request would actually get merged. The best score is 45.5%. The part I ke...