gotree · Research

Reimplemented the gotree bioinformatics toolkit from its executable alone

View JSON
gotree: A 16,900-line Go toolkit rebuilt from its binary and tests; earlier Opus models fell short.
Image: Epoch AI · METR, CC BY

What was done

In Epoch AI's MirrorCode results, Claude Opus 4.6 reimplemented gotree, a bioinformatics toolkit of about 16,900 lines of Go, from its executable and tests alone, passing 2,000 of 2,001 tests. Earlier Opus models scored 15 to 63%.

In MirrorCode, a benchmark from Epoch AI and METR, Claude Opus 4.6 reimplemented gotree, a bioinformatics toolkit of 16,905 lines of Go. It could run the original program but could not read its source. Its Python version passed 2,000 of 2,001 end-to-end tests. Earlier Opus models scored 15% to 63% on the same task.

How it was done

Each MirrorCode task asks an agent to rebuild a command-line program so its output matches the original exactly. The agent can run the original program with any arguments but has no access to its source code or the web. It gets documentation on the program and its file formats, plus a set of visible tests. Hidden variants of those tests catch hard-coded answers. Each run had a budget of one billion tokens, which Epoch estimates at about $550. Opus 4.6 used 280M tokens over 2,989 messages on gotree.

Results

Opus 4.6 passed 2,000 of 2,001 tests (99.95%). The one failure was a hidden gotree cut date test. The tests cover 48 of gotree's 74 commands. Its Rust version was 7,644 lines and its Python version 5,360. Opus 4 passed 15%, Opus 4.1 24% and Opus 4.5 63%. Four researchers estimated a skilled engineer would need 2 to 17 weeks without AI. Opus 4.6 did not solve Pkl, a larger 61,461-line target. Epoch calls the results preliminary and says memorisation cannot be fully ruled out. Tom Adamczewski (Epoch AI) and David Rein (METR) led the work.

Discussion

Your library

Sources

Sources reviewed · Added

An AI model drafted this entry from the sources above. Checked against the sources on 13 Oct 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.

The weekly dump: new projects, once a week