<!-- Canonical page: https://reversedwithai.com/p/mirrorcode-bioinformatics -->
Canonical page: https://reversedwithai.com/p/mirrorcode-bioinformatics

# Reimplemented the gotree bioinformatics toolkit from its executable alone

> A 16,900-line Go toolkit rebuilt from its binary and tests; earlier Opus models fell short.

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%.

## Key facts

- Target: gotree
- Category: Research and benchmarks
- Models: Claude Opus 4.6
- Outcome: Research
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: Epoch AI
- Added: 2026-10-13
- Updated: 2026-10-13
- Sources reviewed: 2026-10-13 (editor)

## What was done

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.

## Sources

- [Write-up](https://epoch.ai/publications/mirrorcode-preliminary-results)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Epoch AI (2026). Reimplemented the gotree bioinformatics toolkit from its executable alone. Reversed with AI. https://reversedwithai.com/p/mirrorcode-bioinformatics
