93% of tests still pass after a rewrite in another language

Best published result
48%
Same AI model, no Bosun
74%
Bosun
93%

RepoMod-Bench: 21 open-source codebases, each rewritten in another language and graded by a hidden test suite. We ran all 21 three times, unattended.

8x

faster legacy migration or more

4x faster than standard agentic coding tools.

10+

languages: 4GL family, C, C++, C#/.NET, COBOL, Go, Java, JavaScript, TypeScript, Oracle Forms, Perl, PHP, Python, Rust

If it builds on Linux, we can port it.

93%

of tests still pass after rewriting 21 codebases in another language. Best published result: 48%.

Half of the differences our proofs caught would have slipped past the tests.

Measured on RepoMod-Bench, a public benchmark of 21 codebases.

The setup

RepoMod-Bench asks an agent to port each repository to another language (C++ to Rust, Go to Python, JavaScript to Rust, and so on) and grades the result with a hidden test suite derived from the original’s own tests. Agents never see those.

The paper ran four agents, one run each with four hours per case. We ran the Parity workflow on all 21 cases with the same four-hour limit and one AI model throughout, a newer model than the paper’s.

So we also ran a control: one of the paper’s own agent setups, with the same command and prompt and its default configuration, and only the model swapped for ours. The control shows what the model alone adds to the paper’s result.

Our results take the best of three runs per case; the paper’s are its single runs. We tuned the workflow on three cases (lightningcss, wabt, hugo), froze it, and then ran the other eighteen.

Two cases, pdfcpu and uncrustify, are regraded: their hidden tests open sample files from inside the ported tree, and the task does not ask for those files. Graded as-is, the ports score 6% and 0%. With the sample files in place, the same frozen ports pass 82% and 48%.

The twelve large cases, by size

Repository Lines Bosun Same model, no Bosun
ledger C++ → Go 50K 97% 62%
wabt C++ → Rust 55K 100% 89%
taskwarrior C++ → Rust 55K 100% 69%
lightningcss Rust → Go 62K 93% 77%
bc C → Rust 117K 100% 100%
hugo Go → Rust 122K 76% 70%
jq-gojq C → Go 147K 100% 100%
pdfcpu Go → Rust 160K 82% 6%
uncrustify C++ → Rust 162K 48% 0%
prettier JavaScript → Rust 175K 55% 21%
verible C++ → Rust 191K 100% 0%
qalculate C++ → Go 211K 100% 64%

Method, cost and the data for all 63 runs: read the full write-up

The same approach on a legacy Oracle Forms application: see the Oracle Forms results