A Berkeley benchmark suggests AI agents can sometimes improve published computer-science code, but it tests only a narrow part of research, not independent scientific discovery.
A test of research code
Many coding contests give an agent a problem and score one program, while software-engineering tests often check whether code passes set tests. FrontierCS 2 instead asks whether an agent can enter an existing research codebase, change a key part and improve its measured performance. Its creators say this reflects common work in computer-science research.
The team built 48 tasks from published papers and released code across 13 areas, including databases, high-performance computing, cryptography and robotics. It removed the code implementing each paper’s contribution but kept its dependencies. The original implementation served as a private reference. The tasks are curated, not a random sample: they need runnable research code and measurable outcomes. One cryptanalysis challenge was not made by deleting code from a paper.
An agent gets five hours in a repository and can submit patches for feedback on development workloads. Its final patch is tested on hidden workloads. To pass, it must beat the reference on every required metric and held-out workload. A faster program can fail if it loses accuracy on one test, even when its average score is higher.
What the scores show
In results published Dec. 2, Berkeley’s report says Claude Opus 5.5, running through Claude Code, passed 28 of 48 tasks. Gemini 4 Carbon and Gemini 4 Argon passed 26 each. The report says all 20 model-and-harness combinations were run once per task. The leaders were close on the normalized capability index. The results show that agents sometimes beat a particular published implementation under the benchmark’s rules; they do not show that one model is decisively better or that agents can independently produce new computer science.
Task examples show both useful changes and limits in the scoring. In one private-information-retrieval task, an agent used two checksums to reduce data sent per lookup by 27% while preserving privacy. In a hardware scheduling task, Opus produced a faster circuit, but it was among the largest passing designs, and the final score did not account for circuit size.
What researchers still need to know
Agents could take on bounded optimization and implementation work, freeing researchers for other parts of a project. FrontierCS 2 offers model makers and labs a more realistic comparison than isolated coding puzzles. But passing a task is not the same as choosing an original research question, establishing a scientific claim or sustaining a project over months. The benchmark measures improvement against existing code, not those broader parts of research.
Useful next evidence would include outside reruns, repeated trials and tests on unfamiliar tasks and agent setups. The project makes its public tasks and results available, and says it has more than 100 additional private tasks to announce. These tests can show whether current scores generalize or mainly reflect strength on this carefully constructed set of code-improvement challenges.