FrontierCS 2: Delete the Paper's Contribution, Ask AI to Write It Back Better
Berkeley AI Research introduces FrontierCS 2, a benchmark of 48 tasks built by deleting key contributions from published CS papers and asking AI agents to reconstruct them. Claude Opus 5.5 passes 28 of 48 (58%); a third of tasks remain out of reach for all 20 models tested. Three case studies reveal what agents actually invent—and where the metrics still miss.
FrontierCS 2 asks a different question than most AI coding benchmarks. Instead of handing an agent a problem statement and grading one program, it takes a published CS paper, deletes the code implementing its key contribution, and asks the agent to write it back better than the authors did. The benchmark covers 48 tasks across 13 CS domains—ML systems, HPC, databases, cryptography, robotics and more—each built from a real repository. The pass criterion is strict: the agent's final patch must beat the authors' own code on every metric and every held-out workload, not just on average.
The methodology distinguishes it from prior work. Berkeley AI Research, which also built FrontierCS 1, notes that existing benchmarks either grade against unit tests, stay inside machine learning, or compare against a rubric rather than the authors' actual code. FrontierCS 2 uses the deleted code itself as a private oracle. The agent works in a sandbox with no network access beyond a driver; the evaluator, hidden test suite and reference all stay on the judge side. The agent gets five hours, can submit patches at any time, and receives development scores after each submission—but the final answer is graded on a hidden suite with different seeds, queries or input graphs the agent never sees. The agent must also pick its own final submission; the benchmark does not rescue it by selecting its best development attempt.
Across 20 models, Claude Opus 5.5 passes 28 of 48 tasks (58%), with Gemini 4 Carbon and Gemini 4 Argon at 26 and Claude Sonnet 5.5 at 24. Below the top eight, no model passes more than 11. A third of the benchmark is out of reach for every model tested. On the FrontierCS Capabilities Index (FCI)—an item-response model that puts agents and tasks on one scale—the top three are within 0.6 points of each other, far inside bootstrap intervals. The more interesting finding is on the task side: the median task sits at roughly the strongest agent's FCI, meaning the benchmark spans a wider difficulty range than today's agents do.