The AI Coding Test Where Beating Human Authors Still Fails

Most coding benchmarks ask an AI system to solve a clean problem with a clear answer. FrontierCS 2 takes a harder route: it removes the central contribution from real research code and asks an agent to rebuild it, then improve it.
Introduced on Dec 2, 2026, FrontierCS 2 covers 48 open-ended research and development tasks across 13 computer science domains. The tasks range from databases, machine learning systems and high-performance computing to cryptography, security and robotics. An agent gets five hours to submit a patch that must beat the original authors’ code on every metric and every hidden workload.
“We took 48 published CS papers, deleted each one’s key contribution from its own repository, and asked frontier agents to write it back better than the authors did,” wrote Hanchen Li and The FrontierCS Team. The strongest result so far comes from Claude Opus 5.5, which passed 28 of 48 tasks, or 58%.
A benchmark built around real research code
Each task begins with a published paper and the code its authors released. The benchmark identifies the code that implements the paper’s contribution, deletes it, and leaves everything else untouched. That deleted code becomes the human reference: a private oracle that already runs inside the repository on the paper’s own workloads.
That design removes a layer of guesswork. Agents do not need to recreate a paper from its description, and judges do not rely on a broad scoring rubric to decide whether the result matches the intended idea. As the FrontierCS 2 team puts it, “No re-implementation, no rubric, no guessing what the authors meant.”
The agent receives the repository with the missing functions still declared and called. It can edit only the files that held those functions, then submit patches during the five-hour run. The judge scores each patch on a development suite and returns a development score, along with a sanitized message showing how many development workloads meet each threshold.
The agent never sees the reference score or the evaluator’s raw output. At the end, it names one patch as final. That patch alone faces the hidden suite, which adds instances the agent never saw, including different seeds, queries or input graphs.
The agent and judge run in separate sandboxes connected only by a driver. The agent’s sandbox has no network access beyond that connection, so it cannot simply download the original code. On GPU tasks, the agent can start its own development GPUs, while scoring takes place on separate verifier hardware.
Why a high score still may not be enough
FrontierCS 2 uses a strict pass rule. A final patch must beat the human reference on every metric and every held-out workload. A combined score above the reference does not guarantee success if the patch misses even one threshold.
KV Compaction shows how unforgiving that rule can be. Claude Opus 5.5 posts the top score and sits above the human reference, yet its accuracy falls short on 2 of 24 articles. The run fails.
Another example is SVG-EAR, an ECCV 2026 sparse-attention method for video diffusion. In the Sparse VideoGen repository, the removed contribution includes the error-aware attention class and three routines: cluster averaging, choosing which cluster pairs to compute exactly, and estimating the rest.
To pass that task, a patch must reach latency of at most 0.96× the reference’s latency, while keeping PSNR within 0.25 dB, SSIM within 0.01 and LPIPS within 0.005 on every held-out clip. Those thresholds come from the reference’s own measurements, not from an outside target.
This setup makes the benchmark less about producing an impressive demo and more about surviving a complete engineering test. The code must work inside the original repository, preserve the required behavior and improve the reference across every condition that matters.
Claude leads a close leaderboard
The leaderboard covers 20 models, with each paired with its own harness, including Claude Code, Codex CLI and others. Each model runs once on every task, creating a direct comparison across the same 48 repositories and evaluation rules.
Claude Opus 5.5 leads with 28 passed tasks. Gemini 4 Carbon and Gemini 4 Argon follow at 26 each, while Claude Sonnet 5.5 reaches 24. The top three are within a point of each other, showing a narrow contest at the front rather than one system pulling far ahead.
FrontierCS 2 is designed to close the gap between coding demonstrations and research work that must hold up under testing. “The bar is the code the paper’s authors released, measured on the paper’s own workloads, inside the paper’s own repository,” the team wrote.
That bar changes what success means. An agent cannot pass by producing code that looks good, posting one strong development score or winning on average. Its final patch must outperform the human reference across every metric and every hidden workload.
For now, the results show that frontier agents can clear that bar on a substantial share of tasks, but not all of them. The leading system passes 28 of 48, leaving 20 tasks where its final patch does not meet the full standard.
Based on
- Delete the Paper, Beat the Authors: Introducing FrontierCS 2 — bair.berkeley.edu
- AI software factories still need human help, says Sonar CEO Tariq Shaukat | TechCrunch — techcrunch.com
- OpenAI frontier model cracks UK’s most sophisticated cyber-test in five hours | AI (artificial intelligence) | The Guardian — theguardian.com
- AI is collapsing centuries of math and science research into days — is The Singularity upon us? | VentureBeat — venturebeat.com




