What happened
FrontierCS 2, a new released by Berkeley’s BAIR lab, tests 20 agents on 48 research-code tasks drawn from published computer-science papers across 13 domains. For each task the authors’ key contribution code is removed, and the agent has five hours to rewrite it. The agent’s patch must outperform the original on all measured metrics (e.g., , PSNR, SSIM, LPIPS) on a hidden test suite. Claude Opus 5.5 achieved the highest pass count, succeeding on 28 of 48 tasks (58%). Gemini 4 Carbon and Gemini 4 Argon each passed 26 tasks, and Claude Sonnet 5.5 passed 24. The benchmark also reports a FrontierCS Capabilities Index (FCI) that normalizes performance across tasks, with Claude Opus 5.5 scoring 51.3, Gemini 4 Carbon 51.0, and Claude Sonnet 5.5 50.7. Cost analysis shows the top-performing agents cost roughly $17–40 per run, while cheaper models like GPT-6.1 Terra/Sol achieve about 40% pass rates for around $3 per run.
The Berkeley BAIR team constructed FrontierCS 2 by selecting 48 published computer-science papers spanning databases, machine-learning systems, high-performance computing, cryptography, security, and robotics. For each paper they identified the repository containing the authors’ implementation, removed the core contribution code, and left the rest of the code untouched. This created a private reference implementation that runs the original workloads.
Agents were given the stripped repository, five hours of compute, and a sandboxed judge that scores every patch on a development suite before a final hidden suite is used for the pass/fail decision. Agents could not download the original code and had no network access beyond the sandbox. GPU-intensive tasks allowed agents to spin up their own development GPUs, while verification ran on separate hardware.
Twenty models, including Claude Opus 5.5, Gemini 4 Carbon, Gemini 4 Argon, Claude Sonnet 5.5, GPT-6 Astra, and DeepSeek V4.1 Flash, were each run once per task using their respective code-generation harnesses (Claude Code, Codex CLI, etc.). The headline results show Claude Opus 5.5 leading with 28 passes, Gemini 4 Carbon and Argon each with 26, and Claude Sonnet 5.5 with 24. The FrontierCS Capabilities Index (FCI) normalizes these outcomes, placing the top three within 0.6 points of each other.
Cost analysis revealed a wide spread: the top-performing cluster cost $17–40 per run, while cheaper models like GPT-6.1 Terra/Sol achieved about 40% pass rates for roughly $3 per run. DeepSeek V4.1 Flash cost about $0.10 per run but only passed one task in eight. The also highlighted that many runs with high average scores still failed due to missing a single metric, underscoring the strictness of the pass criteria.
Source details: bair.berkeley.edu
Why it matters
FrontierCS 2 pushes AI evaluation beyond synthetic puzzles by requiring agents to improve real research code under strict, hidden-test conditions. This more closely mirrors the week-long work of a graduate student inheriting a paper’s codebase, offering a clearer picture of how current agents can accelerate genuine computer-science R&D. The ’s strict pass criteria (beat the authors on every metric and hidden workload) reveal that many agents achieve high average scores yet still fail due to single-metric regressions, highlighting the importance of holistic performance over single-metric gains. By publishing cost-per-run data, the study also surfaces the trade-off between performance and expense, informing practitioners about economically viable model choices for research automation. The FCI and task difficulty indices provide a scalable way to compare future agents and identify headroom for improvement, making FrontierCS 2 a valuable tool for both academic researchers and industry teams seeking to benchmark and guide the development of more capable, reliable AI assistants.
The ’s design mirrors real-world research workflows, where engineers must integrate and improve existing codebases rather than solve isolated puzzles. This makes the results more directly applicable to assessing AI’s potential to accelerate scientific and engineering progress.
By requiring agents to beat the authors on every metric and hidden workload, FrontierCS 2 avoids the pitfalls of over-optimizing for a single metric, a common issue in prior AI evaluations. The detailed case studies (e.g., QuarterPIR byte-reduction, BBQ hardware priority queue speedups) illustrate how agents can produce substantive engineering improvements.
The inclusion of cost per run provides a practical dimension for organizations considering AI-assisted development, highlighting that the most capable models are also the most expensive, and that cheaper models may offer better cost-performance ratios for certain use cases.
The FrontierCS Capabilities Index and Difficulty Index introduce a statistical framework for comparing agents across heterogeneous tasks, offering a more nuanced view of capability than raw pass counts. This framework can be extended to future models and tasks, facilitating longitudinal tracking of AI progress.
Interactive Mechanism: How It Actually Works
Explore the underlying technology behind this development interactively.
crm_get_transaction(id='4092').After a first scan of an AI paper, what should a reader be able to identify?
What to watch next
Future releases of FrontierCS 2 with additional tasks or updated agent harnesses; whether model providers improve cost efficiency while maintaining pass rates; adoption of the by other labs or companies as a standard for research-code automation; and any follow-up studies that address side-effects such as circuit area or memory usage that the current pass/fail metric does not capture.
Updates to FrontierCS 2 that add new papers or domains, which could shift the relative rankings of models and test their generalization.
Model providers’ responses, such as new versions of Claude, Gemini, or GPT that aim to improve pass rates while reducing cost per run.
Adoption of FrontierCS 2 by other research labs, corporations, or suites as a standard for evaluating AI-driven code improvement.
Follow-up research that expands the evaluation criteria to include side-effects like hardware resource usage, energy consumption, or code maintainability.