Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

FrontierCS 2: agents must rewrite the core of 48 papers and beat the authors' own code

Berkeley's BAIR lab released FrontierCS 2, a benchmark of 48 tasks across 13 CS domains in which a published paper's key contribution is deleted from its own repository and an agent has five hours to write it back better. A run passes only if its final patch…

Found Read the original
FrontierCS 2: agents must rewrite the core of 48 papers and beat the authors' own code

Why it matters

It measures the everyday R&D task of improving a real system inside its own codebase, and reports cost per run alongside pass rate, which is closer to how engineers pick an agent.

What happened

1 min read

Berkeley's BAIR lab released FrontierCS 2, a benchmark of 48 tasks across 13 CS domains in which a published paper's key contribution is deleted from its own repository and an agent has five hours to write it back better. A run passes only if its final patch beats the authors' code on every metric and every held-out workload. Claude Opus 5.5 in Claude Code leads with 28 of 48 (58%), ahead of Gemini 4 Carbon and Gemini 4 Argon at 26 and Claude Sonnet 5.5 at 24.

inscraper analysis

Our analysis

The strict pass rule is the real contribution: many runs beat the reference on average yet miss one metric or workload, a reminder of how much averaged scores elsewhere can flatter agents. On the FCI index the top three are within 0.6 points, well inside the bootstrap intervals, so this does not crown a single best model. The cost data is more actionable: GPT-6.1 Terra and Sol pass about 40% of tasks for roughly $3 a run versus $17-40 for the frontier cluster. Each model ran once in its own harness, so harness effects and run-to-run variance are not separated, and the authors' own lab built the benchmark.

More in Research