Berkeley AI Research has introduced FrontierCS 2, a benchmark that asks AI agents to improve code from published computer science papers. It contains 48 tasks across 13 domains, including databases, cryptography and robotics. In the lab's evaluation, the leading agent passed 28 tasks.
For each task, the lab removes the paper's main contribution from its original code repository. An agent has five hours to write a replacement and can submit patches for feedback on development workloads. It then chooses one final patch for a hidden evaluation.
Passing requires that final patch to beat the authors' code on every measured criterion and every held-out workload. The lab says a strong average score can still fail if one workload misses a threshold. Agents cannot access the reference code or hidden tests during a run.
Read nextNvidia announces Nemotron 4 models and a model safety benchmarkClaude Opus 5.5 passed 28 of 48 tasks
The leaderboard covers 20 models, each paired with a particular tool setup and run once on every task. Claude Opus 5.5 using Claude Code passed 28 of 48 tasks, or 58%. Gemini 4 Carbon and Gemini 4 Argon each passed 26, Claude Sonnet 5.5 passed 24, and GPT-6 Astra passed 22. In a 12-agent evaluation described by the lab, none passed 16 of the tasks.
The lab also reports a FrontierCS Capabilities Index that uses results beyond the pass count. Claude Opus 5.5 scored 51.3, Gemini 4 Carbon 51.0 and Claude Sonnet 5.5 50.7. Berkeley AI Research says that gap falls well within the index's uncertainty intervals.

The results show what the strict pass rule leaves out. On one private lookup task, Muse Wonder 1.0 cut bytes per lookup from 1,760 to 1,280 while preserving privacy, according to the lab. On a video diffusion task, GPT-6 Astra was faster on every clip but failed image quality checks on two clips, so it did not pass.
Tasks and evaluators are available on GitHub
All 48 tasks, their evaluators and the judge are public on GitHub. Running them requires the user's own AWS account, with Modal also used for GPU tasks. Berkeley AI Research says it holds more than 100 additional private tasks and will announce them later.



