← Kunjun Li

Benchmark · December 2026

RoboDocker: Can agents maintain a robot simulator?

A benchmark built on the real robotics stack: MuJoCo, MuJoCo Warp, LeRobot. In five hours, agents made the code up to 4.85× faster than the engineers who wrote it. Told only "this code has defects", fifteen runs produced one perfect score.

The same workload at three measured speeds. One solve of 4,096 worlds of a Go2 quadruped on rough ground takes the starting code 86.8 ms, the upstream human reference 0.993 ms, and the best GPT 6.2 Astra run 0.239 ms. Each panel replays the same rollout one step per measured solve, slowed 15×. The picture is a MuJoCo render of the workload's scene, not the agent's own output.

TL;DR

Each task gives an agent a repository from the robotics stack (MuJoCo, MuJoCo Warp, LeRobot) and five hours. There is no spending cap and no network. The agent may check its work a limited number of times on public workloads. Its score comes from one final evaluation on public plus held-out workloads, after it stops.

We ran GPT 6.2 Astra in Codex, Claude Opus 5.5 in Claude Code and Gemini 4 Neon in Antigravity, each at its highest reasoning setting. Every gap below is a gap between a model and its harness together.

Speed

Faster than upstream, on every task

We took mature upstream code, removed its performance work, and asked the agent to get the speed back. The human reference is the upstream code itself.

Speed relative to the human reference

Best run per model. 1× matches upstream; higher is faster. Each panel has its own scale.

Three speed tasks. Speed is the human reference's time divided by the agent's, a geometric mean over the final workloads.

The solver task started 19 to 222 times slower than upstream, a gap our notes said "took upstream a year". Opus matched upstream on its first check, 27 minutes in, by putting the whole solve into one CUDA kernel. GPT finished 4.85× faster than upstream.

What each agent did with its five hours on the solver

Practice score at each check. 50 is the human reference; the line ends where the agent stopped.

Five real runs. Opus passes the human within 45 minutes and hands in before the halfway mark. Gemini checks rarely and works to the end. GPT keeps finding speed for the full five hours in one run and stops at two in the other, with the better result.

The CPU task has the opposite problem. The physics engine is off limits, so every valid run landed between 1.10× and 1.36×. A task with that little headroom cannot separate models.

No-hint speed

Speeding up code with no target

Here the brief names no target and gives no hints. Any speedup counts, as long as the output stays bit-identical.

We ran GPT 6.2 Astra once on each of five codebases. It passed the human reference on every one.

5 of 5
codebases faster than the human reference
6.22×
largest gain, on VAMP planning
40%
found on C MuJoCo, where we had estimated 7% of headroom

Speed relative to the human reference, no hints

One run per task. Only GPT ran these.

Past the reference on all five. Speed is the human reference's time divided by the agent's; output is bit-identical in every run.

With a stopwatch to chase, speed is the easy part.

Correctness

Twice as fast, and zero

Output has to stay correct, and the check does not bend. Gemini's second render run was about twice as fast as upstream in practice. On a held-out scene, 0.0604% of depth pixels were out of tolerance against a limit of 0.06%, and the run scored zero. Its first CPU run also scored zero, for one result that was not bit-identical.

The render run that counted. On the cluttered-table workload (2,048 worlds × 4 cameras per frame) Gemini's first run rendered a frame in 9.0 ms, against 12.7 ms for the upstream reference and 271 ms for the starting renderer. Same rollout in each panel, one pose per measured frame, slowed 2.6×.

A fast run that fails the check is worth nothing.

Audit

Finding defects without a hint

We first told the agent the symptom. Opus scored 100 on all eight such tasks, in 11 to 68 minutes each, so we took the hint away. We quietly revert a batch of real upstream fixes and delete the tests that expose them. The agent is not told where the defects are, what kind, or how many.

Defect groups fixed, no hints

Best run per model, as a share of all defect groups.

Three no-hint audits, fifteen runs. The RoboDojo task uses the eight real defects from What does RoboDojo really simulate? Gemini's 100% there is a single run.

GPT led both MuJoCo Warp audits. Gemini fixed all eight RoboDojo defects in 88 minutes, the only perfect score. Opus stopped early every time: on the 18-group task it had 10 groups by its second check and gained nothing in the next nine.

More defects did not make a task harder. On four further audits with up to 30 groups, GPT scored 90 to 100. What survives five hours is a defect that neither a systematic comparison with the reference nor a careful read turns up.

What a planted defect looks like

Each clip runs one scene twice in MuJoCo Warp: once with a single defect from the 18-group audit, once with the upstream fix. The fixed side matches C MuJoCo.

Balls sink into a solid block. A contact normal is flipped for shallow overlaps, so the force pulls the balls 70 mm in. Every model fixed this one early.
A pendulum that ignores gravity. One missing line leaves a stale value in the integrator when the model has no constraint capacity. Opus never fixed it; GPT did, late in its runs.
Beads fall through a pin. The sphere–capsule test misplaces the contact on capsules a few millimetres long. Slowed about 80×. Opus missed it in both recorded runs: its sweeps used ordinary-size shapes.
A sensor that reports the wrong direction. The arrows are the contact normals a sensor returns. With the defect they flip whenever sorting reorders the two contacts, half the time here. The motion itself is identical.

The hint sets the difficulty. The number of defects does not.

Audit × speed

Fix it and speed it up

The newest tasks plant defects in code that has also lost its performance work. One judge counts fixes and another times the code. The agent sees a single combined number.

Two audit × speed tasks

Speed counts only workloads with correct output.

Three different trades on MuJoCo Warp. GPT took the speed, Gemini fixed the most and broke six workloads, Opus kept everything correct and fixed half.

No run fixed every defect and matched the human's speed on every workload.

What's next

Agents can speed up the simulator. They cannot yet vouch for it.

Give an agent a stopwatch and it beats the people who wrote the code. Every valid speed run did, with or without a target. Take the stopwatch away and ask only whether the code is right, and fifteen runs produce one perfect score.

The bottleneck has moved from writing fast code to knowing it is correct.

That gap is what RoboDocker measures, and it is where we are taking it next.