Menu

FrontierCode 2.0 Underspecified Task Evaluation: How AI Coding Agents Are Tested on Real-World Judgment

On October 27, 2026, Cognition — the company behind the AI coding agent Devin — released FrontierCode 2.0, a private benchmark that fundamentally changes how AI coding models are evaluated. Unlike its predecessors, FrontierCode 2.0 does not ask whether an AI-generated patch passes unit tests. It asks a harder question: would a real open-source maintainer merge this change into their production codebase?The answer, for even the most advanced models available today, is "no" more than half the time. The benchmark's defining innovation lies in its use of underspecified task evaluation — prompts deliberately stripped of complete engineering guidance, forcing models to demonstrate judgment rather than mere specification compliance.

The Core Problem FrontierCode 2.0 Addresses

Most coding benchmarks have converged on a familiar formula: give a model a detailed specification, ask it to produce code that meets that specification, and grade the output against held-out tests. This approach has been effective at driving rapid progress, but it has also led to saturation. On FrontierCode 1.1, the previous version of the benchmark, six labs had nine models clustered between 43% and 52% — a narrow band suggesting the test was no longer discriminating effectively among frontier systems.

The deeper issue is that specification-following measures a narrow slice of what software engineering actually demands. Real developers rarely receive perfectly specified requirements. They interpret ambiguous requests, infer unstated constraints, respect project conventions, anticipate edge cases, and make scope decisions that balance correctness against invasiveness. A benchmark that only tests whether code "works" cannot capture whether it belongs in a real repository. Cognition's shift from "would you merge this?" in version 1.0 to "should you merge it?" in version 2.0 reflects a deliberate elevation of the evaluation standard — from functional correctness to production-grade mergeability.

What Makes a Task "Underspecified"

The term underspecified task evaluation refers to prompts that intentionally omit information a competent developer would be expected to infer or solicit. In FrontierCode 2.0, none of the 132 tasks spell out every engineering decision required to complete the job. The model is not told which files to touch, how broadly to scope its changes, which existing abstractions to reuse, or what testing strategy to adopt. These omissions are not oversights — they are the evaluation surface.

Cognition's design philosophy, articulated in its release documentation, holds that an ideal coding agent should receive an informal specification and produce work that satisfies both the explicit requirements and the implicit constraints and preferences embedded in the codebase. It should anticipate what the user did not think to mention and avoid forcing rounds of clarification. The benchmark's three evaluation axes reflect this ambition: functional correctness — whether the fix or feature actually works;interpretation and expansion of the initial prompt — whether the model read between the lines of an underspecified request;and design and scope selection — whether the implementation integrates cleanly with the existing codebase architecture.

How the Evaluation Actually Works

FrontierCode 2.0 consists of 132 tasks drawn from real open-source repositories. Over 20 open-source maintainers — described by Cognition as world-class developers — collaborated to create tasks from repositories they actively maintain, with each task reportedly receiving more than 40 hours of construction and review. The maintainers themselves defined what "mergeable" means for their respective projects.

Scoring is binary and unforgiving. A model's attempt passes only if it clears every blocking check. Unit test passage is merely the floor. A model can produce code that fixes the reported bug and still score zero if its diff sprawls into unrelated files, introduces a regression elsewhere, omits necessary regression tests, or violates project conventions. Compared to version 1.1, the reference solutions in 2.0 modify 67% more files and contain 89% more lines of code on average — the "should merge" standard demands substantially more work.

To manage the subjectivity inherent in maintainer-defined rubrics, Cognition built a quality-control pipeline that includes adversarial testing, calibration rounds, and multi-stage human review, with every task manually reviewed by Cognition researchers. Two complementary grading mechanisms support fairness: adaptive classical grading, which uses an LLM to adjust reference tests to match implementation details like function names or error messages, preventing technically correct solutions from being penalized for superficial mismatches;and reverse-classical grading, which runs agent-written tests against the original broken codebase to verify they properly fail — confirming the tests actually catch the bug they claim to address.

Internet access is permitted for documentation lookups and error message searches, but any run detected consulting sources that contain the original pull request solution is flagged and scored zero.

What the Scores Reveal

The initial FrontierCode 2.0 leaderboard, published alongside the October 27 launch, underscores how much headroom the benchmark creates. Claude Opus 5.5 leads at approximately 45.5%, followed by GPT-6 Astra at roughly 42.8%. Both models dropped 9 to 10 percentage points from their FrontierCode 1.1 performance. Most other models fell between 19 and 27 points, with all systems landing below 30% except the top two.

The score dispersion is especially revealing for models trained heavily on specification-following tasks. SWE-2, Cognition's own model fine-tuned for software engineering tasks, scored around 50% on FrontierCode 1.1 but fell to approximately 24% on version 2.0 — landing near the bottom of the table. This suggests that "getting the spec right" is a capability that can be trained through reinforcement learning on public task datasets, but "thinking like a maintainer" is not reducible to the same training recipe.

Open-weight models saw some of the steepest declines. According to data compiled by Artificial Analysis, which integrated FrontierCode 2.0 into its Intelligence Index v5 on October 28, 2026, top open-weight systems scored in the mid-to-high teens — a gap of roughly 28 points behind the leader. Independent evaluation runs from Artificial Analysis measured Opus 5.5 at 46% at maximum reasoning effort, broadly consistent with Cognition's published figures though not identical due to differences in harness configuration.

Cost stratification adds another dimension. On the official leaderboard, Opus 5.5 averaged approximately $12.80 per task, while GPT-6 Astra came in around $6.67. GPT-6.1 Sol achieved roughly 39% at about $1.03 per task, positioning it as the cost-efficiency leader among high performers. At the lower end, models like GPT-6 Luna and Claude Haiku 5.5 delivered scores in the low 20s at under $0.50 per task.

A Concrete Example of Underspecified Failure

One publicly documented failure from Cognition's walkthrough illustrates what the benchmark is designed to measure. The task involved fixing a bug in Mock Service Worker, a JavaScript library for intercepting network requests. The reported issue: calling resetHandlers() did not properly restart the internal generator. Claude Opus 5.5 produced a fix that discarded the old generator reference during the reset operation. The reported bug disappeared, and all unit tests passed.

The maintainer rubric, however, flagged the solution as "should not merge." The prompt had not mentioned cleanup logic, but any experienced JavaScript developer would expect that a generator's finally block runs when the generator is discarded. By dropping the reference without triggering the finally path, the AI's fix left resource cleanup code permanently unreachable — introducing a latent bug that was arguably worse than the original. The model satisfied the explicit specification but violated an implicit correctness constraint that a human reviewer would catch immediately.

This failure mode recurs across the benchmark in predictable patterns: models fix the specified bug but miss the same issue on an identical code path;they complete the requested feature but "helpfully" refactor a dozen unrelated files in the process;they produce working code but skip regression tests that would protect against future breakage. These are not failures of coding ability in the narrow sense. They are failures of engineering judgment.

Implications for AI Coding Evaluation

FrontierCode 2.0 marks a shift in how the field thinks about coding agent capability. For the past two years, progress on benchmarks like SWE-bench and FrontierCode 1.x has been driven largely by improvements in specification adherence — better code generation, more accurate test prediction, tighter integration with repository context. The 2.0 results suggest that specification adherence has a ceiling. Models that perform indistinguishably on well-specified tasks diverge sharply when asked to exercise judgment under ambiguity.

This has practical consequences for teams building or adopting AI coding tools. A model that scores 50% on a specification benchmark may feel productive in day-to-day use but silently introduce the kind of errors that consume reviewer attention and erode codebase integrity over time. The bottleneck, as the FrontierCode 2.0 data indicates, is shifting from "can the AI write correct code?" to "can the AI write code that merits merging without extensive human rework?"

The benchmark's deliberate privacy — tasks are kept secret to prevent contamination — and its integration into independent evaluation suites like the Artificial Analysis Intelligence Index signal that underspecified task evaluation is likely to become a standard component of frontier model assessment. For product teams evaluating coding agents, the takeaway is straightforward: specification-passing scores alone are no longer sufficient. The harder, messier measure of mergeability is where the real differentiation now lives.

Frequently Asked Questions

What is an underspecified task in FrontierCode 2.0?

An underspecified task is a coding challenge where the prompt deliberately omits complete engineering guidance. The model is not told which files to modify, how broadly to scope changes, what testing approach to use, or which project conventions to follow. It must infer these from the repository context and demonstrate the judgment a human maintainer would expect.

How does FrontierCode 2.0 differ from version 1.1?

FrontierCode 1.1 asked "would you merge this PR?" and emphasized functional correctness. Version 2.0 asks "should you merge it?" and adds underspecified prompts alongside a stricter all-or-nothing scoring model. Any blocking failure — scope violations, regressions, missing tests, style non-compliance — results in a zero score. Reference solutions in 2.0 are also substantially larger, modifying 67% more files on average.

What is the current highest score on FrontierCode 2.0?

As of the October 27, 2026 launch, Claude Opus 5.5 leads at approximately 45.5%, with GPT-6 Astra second at roughly 42.8%. Independent evaluation by Artificial Analysis measured Opus 5.5 at 46%. The benchmark is far from saturated, with a majority of tested models scoring below 30%.

Why do models perform worse on FrontierCode 2.0 compared to other coding benchmarks?

The drop reflects the benchmark's shift from specification adherence to engineering judgment. Capabilities like inferring unstated constraints, respecting repository conventions, scoping changes appropriately, and anticipating downstream effects are not well-captured by traditional pass/fail test evaluation — and they are not easily trained through reinforcement learning on public task datasets, as evidenced by models like SWE-2 dropping from 50% on 1.1 to roughly 24% on 2.0.