AI
MirrorCode benchmark tests how large a software project AI can build from scratch
A new benchmark co-developed with METR challenges AI models to reimplement entire programs end-to-end, revealing that large language models can now tackle weeks-long coding projects.
Artificial intelligence has been advancing rapidly through software engineering benchmarks, but most have focused on narrow tasks—squashing bugs or adding single features. A new benchmark called MirrorCode sets out to measure something much harder: whether AI can reconstruct complete, complex programs from scratch.
What MirrorCode tests#
The benchmark asks AI models to reimplement 25 different programs entirely, without access to the original code. The reimplementation must produce identical output to the real program on all end-to-end tests, including tests the AI never encounters during development. The programs span diverse domains: Unix utilities, data serialization tools, bioinformatics software, interpreters, static analysis systems, cryptography libraries, and compression tools.
Why this benchmark matters differently#
Three qualities set MirrorCode apart. First, it provides realistic computational budgets—some of the largest tasks spent $2,600 and gave the AI 19 days of continuous work, rather than the $1–10 many existing benchmarks allow. Second, the tasks are genuinely difficult but solvable; a human engineer could likely spend months on the hardest ones. Third, the evaluation is carefully designed to resist gaming—models work in a sandbox with no internet access, no access to the original codebase, and encounter hidden test cases they cannot memorize their way around.
Early results show real progress#
The latest results demonstrate that AI is already capable of solving substantial long-horizon coding challenges. For instance, Claude Opus 4.7 successfully reimplemented gotree, a bioinformatics toolkit written in Go with approximately 16,000 lines of code and over 40 commands. The model completed the task in 14 hours for a cost of $251—a job estimated to take a human developer between 2 and 17 weeks.
Important caveats and limitations#
Since MirrorCode tasks involve reimplementing publicly available open-source software, AI models likely encountered parts of these codebases during training, which could inflate performance through memorization. However, the benchmark includes screening to detect this effect. Models succeeded on programs that passed memorization checks and struggled with those showing signs of memorization, suggesting genuine capability rather than lookup behavior. That said, the researchers acknowledge they cannot fully rule out memorization's contribution.

