Embodied Benchmarks for Coding Agents: 80% Open-Book vs. 47% Closed-Book

    Coding agents have advanced quickly in code generation, tool calling, and multi-step orchestration, but robot control raises a different bar: agents must interpret sensor input, decide under partial observability, decompose high-level plans into executable actions, and recover after failure. This article walks through a unified, reproducible, attributable embodied evaluation framework across four layers — benchmark design, evaluation modes, infrastructure, and failure analysis — and explains what the headline gap (80% in a privileged mode versus 47% in a standard mode on the same 391 core tasks) means for developers and engineering teams. It also covers the task and test counts, the eight robot morphologies, the two-parameter configuration and single-command workflow, per-stage failure labeling across 6,027 failures, and practical recommendations for adopting mode-aware reporting and staged root-cause analysis.

    Coding agents are making rapid progress in code generation, tool invocation, and complex workflow orchestration. Once the setting shifts to robot control, however, the problem is no longer just “write correct code.” An agent has to interpret sensor input, make decisions under partial observability, break a high-level plan into executable actions, and recover after failure. To answer the question of how far coding agents are from genuine embodied intelligence, a unified, reproducible, and attributable large-scale evaluation system is far more useful than isolated demos. This article examines one such embodied evaluation framework across four dimensions — benchmark design, evaluation modes, infrastructure, and failure analysis — and discusses what it offers developers and engineering teams.

    1. A Unified Benchmark: Scale, Diversity, and Difficulty

    The most immediate value of this evaluation system is a single, unified benchmark that is large, varied, and hard. It contains 1,156 tasks and 2,288 tests, spanning 35 task suites, 23 simulation environments, and 47 robots. Here, “one test” means one task evaluated once under one evaluation mode, so the test count is not the task count but the number of evaluation instances produced by combining tasks with modes. This design avoids the bias of demoing a handful of tabletop pick-and-place tasks and reduces the influence of task selection on the conclusions.

    Robot morphologies are grouped into eight categories: single-arm, dual-arm, dexterous hand, humanoid, mobile robot, quadruped, aerial, and musculoskeletal models. The classification matters because the demands on perception, planning, control, and safety constraints differ sharply across forms. Single-arm tasks emphasize grasping and placement; dual-arm tasks involve coordination; dexterous hands focus on fine manipulation; humanoids and quadrupeds stress balance and gait; mobile robots center on navigation; aerial robots require high-dynamic control; musculoskeletal models come closest to complex biomechanical control. The unified benchmark folds these differences into one evaluation vocabulary, so agent capabilities can be compared side by side.

    The difficulty should not be underestimated either. Among 456 core tests in the standard mode, the strongest coding agent solves only about half. That exposes a clear gap between “can write code” and “can control a robot.” Coding ability translates into tool use, policy authoring, and training-script generation, but embodied tasks additionally require the agent to handle noise, latency, partial observability, and action error inside a closed loop. The point of a unified benchmark is to quantify that gap rather than hide the overall shortfall behind a few success stories.

    2. Multi-Mode Evaluation: Measuring the Distance to Deployment with “Open-Book” and “Closed-Book”

    The framework defines three evaluation modes that form a gradient from privileged state to restricted perception. The most revealing comparison uses the same 391 core tasks: in the privileged mode, the agent can read the full simulation state and reset without limit; in the standard mode, it relies only on sensor input and cannot reset by default. The result is that the strongest coding agent solves 80% in the privileged mode and only 47% in the standard mode. Those 33 percentage points say more than any single aggregate score.

    The privileged mode is best understood as open-book debugging: the agent sees the complete state and can retry repeatedly after failure, which makes it easier to localize problems and revise a policy. The standard mode is closer to closed-book deployment: the agent has only limited sensor observations, no unlimited trial and error by default, and must complete perception, decision-making, control, and recovery within one continuous interaction. The 80% open-book figure suggests strong reasoning and policy-generation potential; the 47% closed-book figure is a reminder that state-estimation error, action uncertainty, reset cost, and recovery capability are the real bottlenecks in deployment.

    Multi-mode evaluation is not a scoring game but a diagnostic tool. Differences for the same task across modes help developers locate the source of failure: insufficient perception, inaccurate state estimation, inadequate control precision, or a missing recovery strategy. Reporting only privileged-mode scores tends to overstate deployment capability; reporting only standard-mode scores makes it hard to pinpoint what to improve. Together, they produce a complete picture of the path from “can figure it out” to “can actually do it.”

    3. Unified Infrastructure: One Command and Two Parameters

    Another contribution is a unified evaluation infrastructure. Switching models or agent frameworks requires changing just two parameters, and a single command starts the run. How the agent controls the robot is left to the agent itself: it can issue commands directly, write control programs, or train a policy. This design decouples model capability from the evaluation environment, so different agents are compared under identical observation, action, reset, and logging semantics.

    A sample configuration:

    1. benchmark:
    2. suite: core-391
    3. mode: standard
    4. agent:
    5. framework: <agent-adapter>
    6. model: <model-endpoint>
    7. control: direct | program | train_policy
    8. runtime:
    9. sensors: default
    10. reset: false

    A sample command:

    1. evaluate --config bench.yaml --agent <adapter> --model <endpoint>

    What matters in this abstraction is not the command line itself but the adapter layer: how the observation space is exposed, how the action space is constrained, how reset semantics are defined, how failure stages are labeled, and how trajectories are archived. Only when these interfaces are stable does swapping models or frameworks stop being a rebuild from scratch. On the deployment side, evaluation scheduling can run on a general-purpose container platform, trajectories and failure labels can be archived to object storage, and run logs can go to a logging service; on Baidu AI Cloud, for example, general product categories such as the container platform, object storage, and logging service can carry these responsibilities. This makes batch runs easier and keeps experiments reproducible and resource consumption auditable.

    4. Systems Analysis: Beyond Scores, Find the Failure Causes

    The system reports more than scores; it also performs systematic analysis. A controlled experiment on a strong coding agent showed that adding resets helped more than adding exact state. The engineering implication is significant: seeing accurately is not the same as acting accurately. Full state lowers the difficulty of perception, but without a recovery mechanism a single action error can still fail the task; allowing resets or giving the agent a recovery policy lets it return through trial and error to a state where execution can continue. For real robots, resets are expensive, so failure detection and recovery should be cultivated explicitly in both training and evaluation.

    A second analysis labels 6,027 failures from 10 agents stage by stage. Different agents often fail at the same step, which suggests the common bottlenecks lie not in a defect unique to one model but in task-stage interfaces, the mapping from perception to action, the timing of tool use, or the structure of control programs. Per-stage labeling breaks “failure” into actionable diagnostic items such as the perception stage, planning stage, control stage, recovery stage, and training-policy stage. For developers this is more instructive than a single score: if most failures cluster in the recovery stage, prioritize checkpoints and retry strategies; if they cluster in the control stage, inspect the action space and controller parameters.

    In the soccer tasks, when the environment provides an acceleration card and a training library, agents usually train a policy themselves. This suggests the evaluation environment should let agents choose a control paradigm rather than only emit low-level actions. Direct commands suit simple closed loops, control programs suit explainable pipelines, and trained policies suit continuous-control tasks that need extensive trial and error. A framework that offers a unified entry point for all three paths better reflects the real engineering capability of coding agents.

    5. Practical Recommendations for Developers

    First, evaluate early and fix the reporting conventions. Distinguish privileged from standard mode, and task suites from test instances; never let open-book scores stand in for deployment capability. Second, treat the reset mechanism as a capability to be designed. Recoverable policies, state checkpoints, failure detection, and retry logic belong in the agent’s policy space. Third, unify the observation, action, reset, and logging interfaces and keep the adapter layer thin so models and frameworks can be swapped easily. Fourth, establish a per-stage failure-labeling standard, cluster common failures by stage, and optimize accordingly. Fifth, let agents choose autonomously among direct commands, control programs, and trained policies, and provide sandboxes, resource quotas, and log auditing. Sixth, version configurations, record random seeds, and archive trajectories to keep experiments reproducible.

    Conclusion

    For coding agents to enter the physical world, code-generation ability alone is not enough; they must also prove themselves under a unified benchmark, multi-mode evaluation, and systematic failure analysis. The 80% open-book and 47% closed-book results are not an endpoint but a roadmap: they show that state visibility and reset mechanisms materially affect performance, and that real deployment tests closed-loop perception, control, and recovery. For developers, adopting unified evaluation infrastructure early, reporting results per mode, and attributing failures stage by stage is how “can write code” gradually becomes “can get things done.”