MiMo-V2.5-Pro long-horizon runs: compiler, video editor, analog LDO
- Source
- x.com
- Publisher
- Xiaomi
- Date
MiMo-V2.5-Pro is built for long-horizon, high-difficulty tasks. On a real compiler project from Peking University, one of China’s top universities, MiMo-V2.5-Pro autonomously built a complete SysY compiler in Rust from scratch — including lexer, parser, AST, Koopa IR codegen, RISC-V backend, and performance optimization. A project that typically takes PKU computer science students several weeks was completed in just 4.3 hours. Across 672 tool calls, it achieved a perfect 233/233 on the hidden test suite. Even its first compile passed 137/233 tests — a 59% cold-start pass rate, pointing to a strong overall design before iterative debugging began.

Context
Xiaomi reports that its MiMo-V2.5-Pro model wrote a complete compiler in Rust from scratch for Peking University's Compiler Principles course project, and passed all 233 tests in the course's hidden test suite after 4.3 hours and 672 tool calls. A compiler turns source code into instructions a processor can run, and this one covered every stage: splitting source text into tokens, parsing it into a syntax tree, translating that into Koopa, the course's intermediate representation, generating code for RISC-V processors, and optimizing the result. Xiaomi's blog post breaks the score into 110 tests for the intermediate representation, 103 for the RISC-V backend and 20 for performance.
The run matters because a compiler is a long task in which each stage depends on decisions made in earlier ones, and the score comes from the course's hidden test suite rather than tests the model could see. Xiaomi says the first compile already passed 137 of 233 tests, 59 percent, which it reads as a sound overall design before began. The blog also records a setback: at turn 512 a refactoring pass broke two tests in one stage, and the model diagnosed the failures, recovered and still finished at 233, which Xiaomi presents as the kind of self-correction long tasks reward.
This is still one run that Xiaomi chose to publish; the blog links no logs or code from it, and it names no for the compiler task. The comparison with students, who Xiaomi says typically need several weeks, is Xiaomi's characterization rather than a measured contest on the same project. The same blog describes two more long runs on the same terms: a desktop video editor of 8,192 lines built over 1,868 tool calls and 11.5 hours, and a voltage-regulator circuit design in TSMC's 180-nanometer that met all its target metrics after about an hour in an ngspice simulation loop with Claude Code as the .
- Debugging — Following a failure back along the data path to the place where the data first goes wrong.
- Harness engineering — Designing the full environment and feedback system around an agent.
- Process — A running instance of a program, with its own working memory, open files and identity.
- Harness — The software that sends a model its context, recognizes tool calls, runs or refuses them, returns results and keeps the record.




