Wink Pings

Rewrite Core Paper Code in 5 Hours and Outperform the Original Author: BAIR's New Benchmark Is Unforgivingly Tough

Erase the core contribution from a paper code repository, give an AI agent 5 hours to rewrite it, and require the final output to beat the original author's work. BAIR's FrontierCS 2 turns research-grade code completion into an extremely rigorous real-world test.

The BAIR team has released the FrontierCS 2 benchmark. Its setup is straightforward: remove the core contribution code from the repositories of 48 published papers, hand these incomplete repos over to state-of-the-art AI agents, and task them with rewriting the missing code within 5 hours to deliver results that comprehensively outperform the original code written by the paper authors.

This is entirely different from common code completion tasks. The agent is given a full, real paper repository, where the missing segment is exactly the critical component that the entire paper's work relies on. It first has to parse the repo structure, the core goal of the paper and all related dependencies, locate the deleted module, implement the missing functionality, get the full code running, and finally make the results exceed the original author's. The 5-hour time limit takes long-horizon planning, debugging and necessary tradeoffs all into consideration. The "agents" mentioned here refer to AI systems that can autonomously plan and execute multi-step coding tasks.

The 48 published papers make the task scenarios far closer to real research workflows. For AI practitioners with development backgrounds, the most insightful part is how this benchmark pushes AI agents beyond basic function completion to full research repo modification and maintenance. For general readers, you can understand it as an open-book test that asks AI to redo a paper's experiments, with passing standards higher than the original work itself.

The biggest difficulty for this type of benchmark lies in validation. To confirm the output fully outperforms the original author's code, clear, unified evaluation criteria are required that cover correctness, performance and reproduction cost. The original post has more detailed notes on the scoring rules. My first reaction after reading through the benchmark was: 5 hours? Is that even enough time for me to fully grasp the entire repository structure?

Source: BAIR: Berkeley AI Research Blog.

Read the original post

via AIHOT · Link

发布时间: 2026-12-02 17:00