Evaluating Coding Agents on Robotic Tasks: Why Open-Book Is Easier Than Closed-Book
This article examines a large-scale benchmark framework that tests general-purpose coding agents on simulated robot manipulation and locomotion tasks. It introduces three evaluation modes—privileged (open-book), standard (closed-book), and core tests—and analyzes why performance drops significantly when agents must rely only on sensor observations. The study finds that allowing unlimited resets improves scores more than providing perfect state information, highlighting reset cost as a fundamental constraint in embodied AI. Practical implications for benchmark design and agent development are discussed.
From the Digital World to the Physical World: Capabilities Do Not Transfer Automatically
Coding agents have become quite proficient at software engineering tasks: fixing bugs, writing tests, and refactoring codebases. These tasks share common characteristics—the environment is digital, repeatable, and fully observable. An agent can repeatedly read code, run tests, and roll back commits, with almost no cost of failure.
Robot tasks, however, follow entirely different physical constraints:
- Limited perception: An agent cannot read the environment like a file. It must infer the world state through indirect channels such as cameras, joint encoders, or torque sensors.
- Irreversible actions: Once a robotic arm knocks over a cup, there is no “git revert” to undo it.
- Time waits for no one: The physical environment keeps evolving. A flying ball does not pause while the agent reasons about its trajectory.
- High cost of trial and error: Every environment reset costs both time and energy.
This raises a fundamental question: What robotic tasks can a general-purpose coding agent actually accomplish? Under which physical constraints does it succeed, and where does it systematically fail?
Designing a Unified Benchmark
A recent joint research effort from multiple universities introduced a large-scale embodied evaluation framework that connects various coding agents to simulated robot environments for unified assessment. Its design choices are worth noting:
Scale and coverage. The framework includes 1,156 tasks and 2,288 tests, spanning 35 task sets, 23 simulators, and 47 robot embodiments. These fall into eight categories: single-arm, dual-arm, dexterous hand, humanoid, mobile robot, quadruped, aerial vehicle, and musculoskeletal models. The scope extends well beyond classic “desktop pick-and-place” to include untying knots, assembling furniture, flipping pages with a dexterous hand, copying drawings, catching thrown balls, and full competitive games.
Openness in control methods. The framework does not dictate how an agent must control the robot—only interfaces are provided. The agent can decide for itself: issue step-by-step commands directly, write closed-loop control programs, or even train its own policy and deploy it if computing resources are available. This mirrors real-world development scenarios and tests an agent’s “engineering decision-making ability,” not just its planning ability.
One command to start the exam. The evaluation infrastructure is highly standardized: swapping the model under test or the agent framework requires only minor parameter changes. This design greatly lowers the cost of horizontal comparison and reflects a general best practice for maintainable evaluation systems—decoupling the “subject under test” from the “evaluation pipeline.”
Three Modes: Quantifying the Gap from Real Robots
The most valuable insight of this work is the use of three evaluation modes to characterize the boundaries of an agent’s capabilities, compared across the same set of 391 core tasks:
| Mode | Information Condition | Reset Permission | Best Agent Score |
|---|---|---|---|
| Privileged (open-book) | Full simulator state available | Unlimited resets | ~80% |
| Standard (closed-book) | Sensor observations only | No resets by default | ~47% |
| Core tests | 456 standard-mode tasks | — | ~half solved |
This 33-percentage-point gap is itself a diagnostic report:
Open-book mode answers “can it think?” With a god’s-eye view of the complete state, the agent’s planning and reasoning abilities are fully unleashed. The 80% score shows that its high-level decision logic is largely sound.
Closed-book mode answers “can it do?” With only sensor observations, the agent must perform its own state estimation: inferring object pose from images, and contact state from joint feedback. The sharp drop in score indicates that the bottleneck lies not in planning but in perception and state estimation—without accurate perception, the entire downstream decision chain is built on faulty premises.
Failure Attribution: Resets Matter More Than State
The research team ran a controlled experiment on the strongest model, and the conclusion is quite revealing: between the two conveniences—privileged state and reset permission—adding “unlimited resets” improves the score more than adding “perfect state.”
This overturns an intuitive assumption. People usually think agents fail because they “cannot see the true state.” But the experiment shows that allowing the agent to “try, fail, and restart” yields a larger benefit. The explanation is that embodied tasks are fundamentally sequential decision problems. When an intermediate step goes wrong, the ability to cheaply return to the initial condition determines search efficiency. The difficulty of resetting states in real robot training—especially for manipulation tasks—has long been a core pain point in sim-to-real transfer. This experimental result confirms its importance from an evaluation perspective.
Additionally, the team manually annotated 6,027 failures from 10 agents stage by stage. They found that different agents often fail at the same step—indicating that failures are not random but are determined by common task difficulties (such as contact-rich manipulation or long-horizon adversarial interactions). This points to shared bottlenecks that future methods need to overcome.
Implications for Practitioners
- Do not judge embodied capability by a single score. Perception, planning, control, and trial-and-error conditions should be measured separately. Controlled condition experiments like “open-book/closed-book” are an effective way to locate bottlenecks.
- Infrastructure unification determines benchmark credibility. Task scale, simulator diversity, one-command execution, and parameterized switching are all prerequisites for reproducible evaluation.
- Reset cost is a first-class constraint in embodied tasks. Whether in evaluation or real-robot training, reducing reset cost (via automated reset mechanisms or resettable simulations) should be a high priority.
- Giving agents tools beats giving them answers. In the football-class tasks, agents with access to computing resources and training libraries tended to train their own policies—suggesting that “letting agents build capabilities themselves” may suit them better than “providing more prior information.”
Overall, the ~47% closed-book score indicates that the strongest current coding agents still have a significant distance to cover before reliably operating in the physical world. But the layered evaluation framework offers a diagnostic structure that allows every incremental step on that path to be precisely measured.
