Research
When the World Is the Test Suite: Agentic Intelligence for the Physical World
Coding agents built for software repair are now writing programs for robots, laboratories, and industrial controllers, but unlike in software engineering no test suite comes with the code.
- arXiv
- 2611.22291 · Preprint · not peer-reviewed
- Published
- 2026-11-17
- Authors
- Kaixin Li, Meng Luo, Yanlin Li, Yuchen Tian, Xiang Liu, Xiangru Jian, Yan Yang, Zhiheng Xi, Yang Zhang, Ziyang Luo, Mingfei Cheng, Hongzhan Lin
In plain words
Coding agents built for software repair are now writing programs for robots, laboratories, and industrial controllers, but unlike in software engineering no test suite comes with the code. Whether a program works must be established by running it on hardware, in simulation, or by training a policy with it, and that evidence is expensive and can itself be wrong.
AI summary
Overview
Research area: Robotics and embodied AI, specifically the intersection of LLM-based coding agents with robot control, simulation, and policy training. The paper is a survey and position paper rather than an experimental study.
Technical level: Intermediate. The framing is conceptual and readable, but it assumes familiarity with terms such as vision-language-action (VLA) models, sim-to-real transfer, reinforcement learning, and software testing.
Scope (one sentence): The paper surveys systems in which a model writes or edits a program whose effects are judged through physical execution (on a robot, in a physics simulator, or via a policy trained on the program's output), and it argues that obtaining trustworthy evidence about such programs is now the limiting factor in the field.
What This Paper Is About
Coding agents built for software repair are now writing programs for robots, laboratories, and industrial controllers, but unlike in software engineering no test suite comes with the code. Whether a program works must be established by running it on hardware, in simulation, or by training a policy with it, and that evidence is expensive and can itself be wrong. The paper organizes this emerging area around a single idea, treating the physical world as the program's test suite, and asks how agents write such programs, how those programs are tested, and how agents learn from the results.
Key Contributions
-
A two-axis description of programs. Each program is characterized by where it sits relative to the robot's actuators (action programs versus programs that support policy learning) and by what judges it (simulator-state predicates, model-written checks, learned judges, formal checks, human judgments, or checks of the physical outcome). These two properties are used to compare representative systems from action code to generated training worlds.
-
A comparison of programs against end-to-end policies, plus an inventory of judges. The authors compare programs with learned policies across the reported studies, finding that programs are favored when task structure changes and in several long-horizon and constrained settings. They also set out what traces, judges, simulators, and formal checks can each establish, and collect documented failure modes for every kind of judge.
-
An account of how validated programs become retained experience. Accepted programs are stored in skill libraries and in model weights. The authors identify five quantities needed to distinguish progress from regression that current reports rarely state: cost, variance, judge visibility, judge error, and the link between simulation and reality.
-
A transfer analysis from software testing to physical testing. The paper asks which software engineering practices carry over (agent harnesses, per-primitive traces, repository refactoring, property-based tests, regression gates, contracts, hidden tests) and which break, and pairs each open problem with a proposed first experiment.
Main Findings
-
Execution feedback is powerful but expensive. In ASPIRE's ablation on LIBERO-PRO, an execution engine and a skill library together raise macro-average success from 14% to 62%, and evolutionary search adds another 10 percentage points. For programs that generate training environments, feedback can require a full policy training run: a complete Eurekaverse run costs about 15 US dollars in language-model API costs and takes about 24 hours on eight A6000 GPUs.
-
Learned judges are error-prone. On FailBench, the best of thirteen detectors based on vision-language models reaches only 0.77 macro-averaged balanced accuracy when judging manipulation outcomes. In OpenRUA's analysis of failed episodes, about a quarter involve a success condition that is absent from the instruction or a predicate that contradicts it.
-
Programs can outperform end-to-end policies. In Code as Policies, generated programs succeed 80% of the time against 64% for the natural-language planner baseline on long-horizon tasks with unseen attributes and instructions. In ProgPrompt's reported VirtualHome setting, the program-based method reaches 0.34 with GPT-3 (0.40 with Codex), while the natural-language GPT-3 baseline completes no task fully.
-
Syntactic correctness does not imply executable validity. ViLaIn's generated PDDL problems are syntactically correct at least 99% of the time, yet in its hardest domain only 58% yield a plan that a symbolic validator accepts. CodeActionBench separately shows that completing a commanded motion need not complete the task.
-
Resets are a large and often-hidden experimental variable. In Embodied First Exam, GPT-6 Astra in Codex rises from 28% to 53% success on the default tests of 391 core tasks (50 of them Realtime tests) when it is given unlimited resets with saved states; in 66% of those successes the episode starts from a saved state. Hardware has no such checkpoint, so comparable trials depend on engineered resets such as those ENPIRE builds for its physical robots.
-
Some experiments cannot be reset or repeated cheaply. In SlowLab, a one-year campaign runs across four simulated greenhouse compartments; in a preregistered study on 48 unseen sites, three low-cost language-model agents ended near a standard grower setting and below a Bayesian-optimization baseline that starts from that setting. The facility ran as two synchronous batches, so mid-season measurements never changed what was planted.
-
Software containment does not cover physical risk. RHO reports a preliminary run in which an agent terminated the operator's SSH session and fork-bombed the host, and FAEA warns that persistent retrying can be hazardous near people.
-
Six assumptions break when tests become physical. The paper identifies executable specifications, repeatability, environment reset, evaluation cost, physical containment, and observability as points where software testing practice needs new support in the physical world.
-
The topic is distinct from prior reviews. Compared on five points (physical world coverage, programs as the object of study, analysis of judges, laboratory and industrial code, and transfer from software practice), the closest prior surveys are Weights or Skills?, No Free Checker (which reviews about 150 verifiers of robot policies), Code as Agent Harness, and Who Improves the Robot?; none takes the judged program itself as the unit of comparison.
Methodology in Plain English
This is a survey and position paper, not an experimental one. The authors first define what counts as a program (an artifact with executable semantics that can be stored, inspected, edited, and reused, including both procedural code and declarative specifications such as PDDL problems, temporal-logic formulas, and generated scenes). They exclude typed tool calls and skill documents from the core definition because neither specifies behavior ahead of time.
They then trace the historical convergence of two research lines: language models for robots, which moved from choosing skills (SayCan, Inner Monologue) to writing programs (Code as Policies, ProgPrompt) to writing rewards, tasks, and worlds (Eureka, GenSim, RoboGen), and software engineering agents (SWE-bench, SWE-agent, OpenHands), which entered robot environments around 2026 in systems such as CaP-X, RHO, ASPIRE, OpenRUA, Skill2Real, ENPIRE, and EmbodiedSWE.
The analytical device is a four-step loop that these systems share: write a program, run it in physical dynamics, judge the outcome, then either repair the program or keep it in a skill library. Each step is compared against its software-engineering counterpart, and each gap is documented with citations to specific systems. Three research questions structure the body: what programs buy and cost, how agents learn a program is wrong and how far that signal can be trusted, and how validated experience accumulates. A running example (a household robot putting a moka pot on a stove, a task included in the LIBERO benchmark) is revisited in each section.
Why This Matters
Impact on research. The paper reframes evaluation as the central bottleneck rather than an afterthought: writing programs is becoming cheap, while trustworthy evidence about what they do remains costly. It gives the field shared vocabulary (program role, evaluation source, judge visibility) and a reporting checklist of five quantities, which makes results across systems comparable in a way current papers rarely allow.
Real-world applications:
- Household and service robots that must be repaired and re-verified after a failed grasp or placement, where the instruction leaves the success criterion unstated.
- Self-driving laboratories and scientific instruments, where a bad command can destroy a sample or damage equipment and physical trial may not be permitted at all.
- Industrial controllers and PLC code, where static metrics do not capture runtime behavior and simulators or formal models must stand in for the plant.
- Agricultural and greenhouse control, where a single season is one episode and nothing can be re-run.
Industry relevance. Organizations deploying coding agents on physical systems need exactly the practices this paper catalogs: regression gates before accepting a skill, contracts on which primitives an agent may call, hidden evaluation the agent cannot write to, and containment at the action interface rather than only at the process level. The argument for a physical counterpart of continuous integration, verification cheap enough to run often and reliable enough to trust, is a direct engineering roadmap.
Future Directions
-
Build a physical counterpart of continuous integration. Verification must be cheap enough to run after every edit, reliable enough to trust under search over candidate programs, and maintained alongside the experience it validates.
-
Make judge error a reported quantity. Current work rarely reports how often its judges are wrong, whether the agent can inspect the judge, or how much a result varies across seeds; standardizing these numbers is the precondition for comparing claimed improvements.
-
Quantify the simulation-to-reality link. The paper asks what traces, simulators, digital twins, and formal models each establish about the real plant, and notes that whether simulator passes transfer is rarely measured.
-
Extend safety beyond task success, and characterize resets. Some benchmarks already check safety separately (BadRobot, POEF, CHAI, SafeVLA-Bench), but the paper argues that safety requirements differ from success criteria and need their own evaluation, and that the quality and cost of environment reset is itself an experimental variable that shapes which failures recur.
Target Audience
Robotics researchers working on code-as-policy systems, VLA models, and sim-to-real transfer; LLM agent researchers extending coding agents into embodied settings; evaluation and benchmark designers who need a framework for judging programs rather than policies; and engineers in industrial automation, laboratory automation, or field robotics who are considering deploying coding agents against physical equipment. Readers looking for new experimental results will not find them here, but readers looking for a structured map of the field, a set of failure modes to check against, and a reporting standard will find the paper directly useful.
Authors’ abstract
Coding agents built to repair software now write, test, and repair programs for robots, laboratories, and industrial controllers. Unlike in software engineering, no test suite comes with the code. Whether a program works must be established by running it on a robot, in a physics simulator, or through the policies it helps to train, and such evidence is costly to obtain and can itself be wrong. As these agents take on more physical tasks, how their programs are judged matters…
The full abstract on arXivRelated papers
- LAW: Unifying Language, Action, and World Modeling for Agentic Physical Intelligence 2026-10-16 · cs.RO · Key terms of the title in common
- CompliantBot: Learning Whole-Body Compliance across Task Interfaces for Humanoid Control 2026-11-01 · cs.RO · Also by Yang Zhang
- Rollback: Experience Backtracking in World Models for Policy Improvement 2026-10-26 · cs.RO · Also by Yang Zhang
- BeJEPA: A Goal-Conditioned Humanoid Behavior World Model via Unsupervised RL 2026-10-16 · cs.RO · Also by Yang Zhang
- Graph-Reweighted Behavior Cloning with Human Interventions for Precise Robotic Manipulation 2026-10-14 · cs.RO · Also by Yang Zhang