MirrorCode is a benchmark developed by Epoch AI and METR to test AI's capabilities on long-horizon coding tasks. Unlike common benchmarks (such as fixing bugs or implementing a single feature), MirrorCode requires AI to rebuild an entire program end-to-end in a sandbox without source code, internet access, or cheating avenues, and the output must exactly match the original program on end-to-end tests, including hidden tests.
The benchmark includes 25 target programs covering Unix tools, data serialization and querying, bioinformatics, interpreters, static analysis, cryptography, compression, and more. Task sizes range from 'small' to 'large', with the largest task costing $2,600 per run and requiring 19 days of continuous AI work.