Embodied Capability Evaluation for Coding Agents: Understanding the Gap Between Privileged and Standard Settings

    A unified benchmark for coding agents connected to simulated robots reveals how physical constraints change performance. Across 1,156 tasks, 2,288 tests, 23 simulators, and 47 robot types, the evaluation compares privileged access to full simulator state with standard sensor-only execution. The results show a substantial performance drop under limited observation and no-reset conditions, highlighting persistent challenges in perception, closed-loop control, recovery, long-horizon planning, and safety.

    Embodied Capability Evaluation for Coding Agents: Understanding the Gap Between Privileged and Standard Settings

    1. From Writing Code to Driving the Physical World

    The evaluation of coding agents is entering a new phase. In the past, benchmarks focused mainly on code generation, bug fixing, tool use, and long-context reasoning in digital environments. Once an agent is connected to a simulated robot through programming interfaces, the central question changes from “Can it generate correct code?” to “Can it reliably achieve a goal under physical constraints?”

    Robot tasks involve continuous state transitions, limited observations, potentially irreversible actions, and tightly coupled failure causes. A planning error, an incorrect control parameter, or an inaccurate state estimate at any stage can cause the entire task to fail.

    This creates a need for a unified embodied evaluation framework. Such a framework can connect different coding agents to the same set of simulated robot tasks and compare their abilities in planning, control, debugging, and policy learning under controlled conditions.

    The value of this framework is not limited to producing a leaderboard. It should answer three practical questions:

    • Under which physical constraints can an agent complete a task?
    • At which stages does it tend to fail?
    • How large is the capability gap between privileged conditions, where the agent can access complete state information, and standard conditions, where it must rely only on sensors?

    2. A Unified Test Suite: Scale, Diversity, and Difficulty

    A credible embodied benchmark first needs a sufficiently large task space. This framework contains 1,156 tasks and 2,288 tests across 35 task suites, 23 simulators, and 47 robot types. The robots fall into eight categories:

    • Single-arm robots
    • Dual-arm robots
    • Dexterous hands
    • Humanoid robots
    • Mobile robots
    • Quadrupeds
    • Aerial vehicles
    • Musculoskeletal models

    This scale moves the evaluation beyond simple tabletop pick-and-place tasks and covers a much broader range of physical interaction patterns.

    Task diversity is equally important. In addition to 26 task suites adapted from existing benchmarks, the researchers created nine new suites containing 411 tasks. These include scenarios such as:

    • Untying knots
    • Assembling flat-pack furniture
    • Turning pages with a dexterous hand
    • Tracing a drawing with a brush
    • Catching a thrown ball
    • Playing a complete game of table tennis or fencing
    • Completing a task using only a target image
    • Identifying and refusing dangerous requests
    • Deploying a controller in a simulator with unknown dynamics

    Together, these tasks evaluate fine-grained manipulation, long-horizon planning, visual understanding, safety constraints, policy generalization, and transfer across different dynamics.

    The difficulty of the benchmark is also reflected in its results. Frontier coding agents solved only about half of the 456 core tests in the standard setting. This shows that the ability to generate code does not automatically translate into reliable control of physical entities. Embodied tasks place much higher demands on state perception, closed-loop control, and error recovery.

    3. Multiple Evaluation Modes: Measuring the Distance to Real-World Deployment

    The framework defines multiple evaluation modes, creating a progression from privileged conditions to standard conditions.

    In the privileged mode, the agent can read the complete simulator state and reset the environment an unlimited number of times. In the standard mode, the agent must rely only on sensor observations and, by default, cannot reset the environment.

    The privileged mode is similar to an open-book examination: the agent has access to more hidden information and can repeatedly retry after failure. The standard mode is closer to real deployment, where observations are incomplete, failures can be costly, and reset opportunities are limited.

    On the same set of 391 core tasks, frontier agents solved 80% in the privileged mode but only 47% in the standard mode.

    This comparison is significant. It indicates that many tasks are manageable when information is complete and trial and error is inexpensive. However, performance drops sharply when the agent must operate with restricted observations and cannot freely reset the environment.

    For developers, this means that evaluation should not focus only on peak performance under favorable conditions. It should also measure robustness under limited observation and potentially irreversible failure. In real-world deployment, the main challenge is often not generating an individual action. It is maintaining consistent long-horizon behavior while state-estimation errors accumulate, recovering from anomalies, and adapting after failure.

    4. Unified Infrastructure for Reproducible and Scalable Evaluation

    Without shared infrastructure, embodied evaluation can easily become fragmented. Each team may use its own scripts, and each task may expose a different interface, making results difficult to reproduce.

    This framework uses a unified entry point. Switching models or agent execution frameworks requires only configuration changes. The agent itself decides how to control the robot: it may issue commands directly, write a control program, or train a policy.

    This design separates the evaluation protocol from the agent implementation, making cross-agent comparisons easier.

    The abstraction can be represented with the following pseudocode:

    1. enum EvalMode { PRIVILEGED, STANDARD, INTERMEDIATE }
    2. interface EmbodiedTask {
    3. reset(mode): State
    4. step(action): Observation, Reward, Done
    5. success(): bool
    6. }
    7. for task in benchmark:
    8. state = task.reset(mode)
    9. while not done:
    10. action = agent.plan(observation, mode)
    11. observation, reward, done = task.step(action)
    12. record(task, agent, mode, success, failure_stage)

    This abstraction requires consistent task interfaces, observation packaging, action spaces, success criteria, and failure records.

    In production-oriented implementations, general infrastructure such as object storage, container platforms, logging, and monitoring services from Baidu AI Cloud can be used to build a reproducible evaluation pipeline. Task configurations and trajectory artifacts can be stored centrally, evaluation jobs can be scheduled in parallel, and failure logs and metrics can be collected consistently.

    The key goal is not any particular tool. It is to create a closed loop in which configurations are versioned, trajectories can be replayed, and failures can be attributed to specific stages.

    5. Failure Analysis: Accurate Perception Does Not Guarantee Effective Action

    A single score is not enough to guide improvement. The system labels 6,027 failures from 10 agents by execution stage and finds that different agents often fail at the same step.

    This suggests that embodied tasks contain shared bottlenecks. Failures may result from:

    • Misunderstanding the goal
    • Choosing an incorrect grasp pose
    • Losing an accurate state estimate after contact
    • Failing to satisfy a prerequisite during long-horizon planning

    One particularly notable finding comes from controlled comparisons: adding reset capabilities is more beneficial than adding precise state information.

    In other words, seeing the state accurately does not necessarily mean acting effectively. Complete state information can reduce perceptual ambiguity, but an agent may still fail if it lacks recovery, retry, and policy-adjustment capabilities. By contrast, allowing reasonable resets or retries can significantly improve closed-loop execution.

    Another observation comes from ball-related tasks. When general-purpose computing resources and training libraries are available, agents are more likely to train a policy themselves rather than rely exclusively on manually written control code.

    This indicates that an evaluation framework should allow agents to choose between different solution paths, such as writing a controller or learning a policy, instead of imposing a single control method.

    6. Practical Lessons for Developers

    First, evaluation should distinguish between privileged and standard conditions. Reporting only the best-case score can overestimate an agent’s capabilities. Results should also be reported under limited observation, restricted resets, and potentially irreversible failure.

    Second, task suites should include multiple robot forms and long-horizon scenarios rather than focusing only on tabletop manipulation.

    Third, failure attribution should be structured by execution stage. Perception, planning, control, and recovery should be measured separately so that the source of a failure can be identified.

    Fourth, the infrastructure should support configuration switching, trajectory replay, and parallel scheduling. Without these capabilities, evaluation results are difficult to reproduce.

    Fifth, safety-related tasks should be included. For example, agents should be tested on whether they can identify and refuse dangerous requests, reducing the risk of unsafe actions in physical environments.

    7. Conclusion

    Embodied evaluation tests programming ability under physical constraints. The combination of thousands of tasks, diverse robot types, multiple evaluation modes, and systematic failure analysis shows that frontier coding agents already possess some ability to solve embodied tasks.

    However, the substantial gap between privileged and standard modes reveals persistent weaknesses in robust perception, closed-loop control, error recovery, and safety constraints.

    For developers, the better strategy is not to optimize for a single high score. It is to build an embodied evaluation system that is reproducible, diagnosable, and iterative, so that every failure can provide actionable evidence for the next round of improvement.