Most coding benchmarks hand an agent a puzzle and check the answer. Berkeley's BAIR lab just shipped something harder: FrontierCS 2 takes 48 published computer science papers, deletes each one's key contribution from its own repository, and asks a frontier agent to write it back — better than the authors did.
The best agent pulls it off on 28 of 48 tasks. A third of the benchmark is out of reach for every model tested. And the results say something uncomfortable about how we measure coding agents.
Tasks built by subtraction
Every task starts from a published paper and the code its authors released. The benchmark authors find the code that implements the paper's contribution, delete it, and leave everything it depends on untouched. The deleted code becomes a private human reference: an oracle that already runs in this repository, on these workloads. No re-implementation, no rubric, no guessing what the authors meant.
A concrete example from the paper (arXiv:2610.29932): SVG-EAR, an ECCV 2026 sparse-attention method for video diffusion. From the Sparse VideoGen repo, the benchmark removes the error-aware attention class and three routines — cluster averaging, choosing which cluster pairs to compute exactly, and estimating the rest. The agent gets the repo with those functions still declared and called, and may only edit the files that held them. To pass, its latency must be at most 0.96x the reference's, with PSNR within 0.25 dB, SSIM within 0.01 and LPIPS within 0.005, on every held-out clip.
The 48 tasks span 13 domains: ML systems, HPC, databases, cryptography, security, robotics, programming languages and more. Beyond the public 48, the team holds more than 100 private tasks to keep the benchmark ahead of contamination.
The agent works like a researcher, not a test-taker
The setup deliberately mirrors a week in a second-year PhD student's life: pick up a published system, inherit its codebase, swap out one component, rerun the paper's workloads, and check whether you beat the original numbers.
- Five hours of wall-clock time per run.
- Submit a patch whenever you like. Each submission returns a development-suite score plus a sanitized message counting how many dev workloads meet each threshold — never the reference's score or the evaluator's raw output.
- Pick your own final answer. At the end, the agent names one patch as final, and only that patch is graded on the hidden suite. The benchmark does not rescue it by picking its best dev submission: deciding what to ship is part of research.
- No network access. The agent's sandbox cannot reach beyond the driver, so it cannot simply download the original code. The evaluator, the held-out suite and the reference stay on the judge side, in a separate sandbox.
The results: 28 of 48 at the top, 16 tasks unsolved by anyone
The leaderboard now covers 20 models, each paired with its own harness (Claude Code, Codex CLI and others) and run once on every task:
- Claude Opus 5.5 in Claude Code passes 28 of 48 tasks (58%).
- Gemini 4 Carbon and Gemini 4 Argon follow at 26, Claude Sonnet 5.5 at 24, and GPT-6 Astra at 22.
- Below the top eight, no model passes more than 11.
- In the paper's 12-agent evaluation, no run passed 16 of the 48 tasks.
Passing is deliberately strict: a run passes only when its final patch beats the human reference on every metric and every held-out workload. That matters more than the authors expected. Most runs whose combined final score beats the reference still miss a threshold somewhere. On KV Compaction, for example, Claude Opus 5.5 posts the top score and sits above the human reference, yet falls short of the reference's accuracy on 2 of 24 articles — so the run fails. A single averaged score would have called that a win.
The FCI: a three-way tie at the top
Pass rate treats an easy task like a hard one and saturates once a model passes everything. So the team also fits the FrontierCS Capabilities Index (FCI), an item-response model forked from Epoch AI's Capabilities Index. On FCI, the top of the board is a dead heat: Claude Opus 5.5 at 51.3, Gemini 4 Carbon at 51.0 and Claude Sonnet 5.5 at 50.7, with GPT-6 Astra and Gemini 4 Argon close behind at 48.6 and 48.4.
The more interesting finding is on the task side: the median task sits at roughly the strongest agent's FCI. The benchmark spans a wider difficulty range than the agents do, so there is real headroom above today's best.
What a pass costs: a 400x spread
Pass rate alone hides a huge cost spread. The top cluster (Claude Opus 5.5, both Gemini 4 models, Claude Sonnet 5.5 and GPT-6 Astra) all spend roughly $17–40 per run, with Gemini 4 Carbon the most expensive of the group for two fewer passes than Opus.
The value pick is GPT-6.1: Terra and Sol pass about 40% of tasks for around $3 a run, roughly a sixth of the frontier's cost. At the far left, DeepSeek V4.1 Flash costs about a dime per run and still passes about one task in eight.
Capping spending per run changes the ranking: at the smallest budgets, DeepSeek V4.1 Flash leads; at the largest, Claude Opus 5.5 does. A full 48-task evaluation of Claude Opus 5.5 runs about $1,000 in API fees, $300 in GPU time and $100 in CPU.
What the agents actually invented
Pass rates tell you how often. Reading the patches tells you what. Three runs stood out:
Two checksums shrink private lookups by 27%. In QuarterPIR, a private information retrieval scheme, the reference server returns a parity value for every database group, though the client needs only one. Muse Wonder 1.0 replaced them with two checksums — the same construction RAID-6 uses to rebuild two failed disks. Because the client already knows the only two groups where its values can differ, two checksums suffice. Bytes per lookup fell from 1,760 to 1,280 at 67 million entries, with privacy unchanged.
Two faster clocks for a hardware priority queue. BBQ is an FPGA priority queue for packet scheduling. Gemini 4 Argon kept the memory layout but resolved the read-after-write check while the read was still in flight. Claude Opus 5.5 moved every counter into registers and updated a whole tree level per cycle — up to 1.84x the reference's operations per second, versus 1.56x for Argon at the same memory. The catch: Opus's circuit is among the largest, and the final score doesn't charge for size.
The baseline no model could beat. On SVG-EAR, nobody passed. GPT-6 Astra came closest by measuring attention error rather than predicting it, picking the smallest per-head budget under an error bound, and fixing a centroid-estimate bias the paper leaves in. It was faster on every clip and closer to full attention on average — and still failed image quality on two clips, clearing 43 of 48 checks. Speed was never the bottleneck on this task; quality bands were.
What the metrics still miss
The case studies are also a confession. The pass/fail bit can't tell a 27% byte reduction from a marginal one. The final score on BBQ rewards speed and ignores circuit area. On SVG-EAR, a run that is better on average fails on two clips. The authors argue benchmarks of this kind need to report side costs next to the pass, and that FCI with honest intervals is a better summary than any single averaged number.
Why this benchmark matters
FrontierCS 2 closes a gap other benchmarks leave open. Contest-style benchmarks grade one program against a problem statement. Environment benchmarks grade against unit tests, a leaderboard, or a rubric — and usually stay inside machine learning. Here the bar is the code the paper's authors released, measured on the paper's own workloads, inside the paper's own repository.
That is a much closer proxy for the work people actually want agents to do: not solving a puzzle, but improving a real system without breaking what already works. The fact that the best agent in the world clears 58% of such tasks — and that a third of them defeat every model — is a useful correction to leaderboard hype.
All 48 tasks, evaluators and the judge are public at github.com/FrontierCS/FrontierCS-2. Full run trajectories are on Hugging Face and Kaggle, and the team is accepting leaderboard submissions. If you build agents, this is the benchmark to watch — and to run your own model against.
Sources: BAIR blog: Delete the Paper, Beat the Authors · FrontierCS 2 paper, arXiv:2610.29932 · FrontierCS-2 on GitHub




