Source-linked AI summary

When the World Is the Test Suite: Agentic Intelligence for the Physical World

Kaixin Li, Meng Luo, Yanlin Li, Yuchen Tian, Xiang Liu, Xiangru Jian, Yan Yang, Zhiheng Xi, Yang Zhang, Ziyang Luo, Mingfei Cheng, Hongzhan Lin

arXiv:2611.22291v1cs.ROcs.AIcs.SE

TL;DR

Physical-world programs lack the cheap, repeatable test suites common in software, and evidence from execution can be costly or unreliable. This article organizes the field around how agents write, test, and learn from programs, comparing them by actuator distance and evaluation source. Its synthesis finds that programs lead end-to-end policies when task structure changes, while demonstration-trained policies retain an in-distribution advantage in most comparisons.

  • Problem

    Physical programs must be judged through costly evidence that may itself be wrong, making trustworthy evidence about their behavior a central concern.

    Source: §1 · p. 3, §6.3 · pp. 53, 55
  • Method

    The article surveys the writing, testing, and learning loop and compares programs by their distance from the actuator and what judges them.

    Source: §1 · p. 5, §2.4 · p. 13
  • Results

    Programs lead end-to-end policies when task structure changes, while demonstration-trained policies retain an in-distribution advantage in most comparisons; contact-rich results depend on the backbone model and interface.

    Source: §8 · p. 60
  • Takeaways & Limitations

    Programs can persist as experience because they can be rerun, inspected after failure, repaired, and stored.

    Source: §8 · p. 60

    Evaluation reports inconsistently state resource costs and judge error, leaving unclear whether higher success reflects a better method or a larger budget and how reported success compares with actual task success.

    Source: §6.3 · pp. 53, 55

Abstract

from arXiv · show

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 as much as how they are written. This paper examines this emerging area, agentic intelligence for the physical world, by treating the world as the program's test suite. We organize the discussion around three questions: how agents write programs for the physical world, how these programs are tested, and how agents learn from the results. We first trace how language models for robots and software engineering agents came together, ask which software testing practices carry over to physical tests, and describe each program by where it sits relative to the actuator and by what judges it. For writing, we cover programs that act as robot policies and programs that support policy learning by producing rewards, tasks, and training worlds. For testing, we examine what physical trials cost, what traces, learned judges, simulators, and formal checks can establish in their place, and what safety requires beyond task success. For learning, we discuss how tested programs are retained as experience, in skill libraries and in model weights. Finally, we turn to benchmarks and evaluation practice and outline open challenges. Writing programs is becoming cheap, while trustworthy evidence about what they do remains costly. Progress will therefore depend on a physical counterpart of continuous integration: verification cheap enough to run often, reliable enough to trust under search, and maintained alongside the experience it validates.

1 Introduction

Coding agents now use execution feedback to inspect, repair, and reuse programs for physical tasks, but obtaining trustworthy evidence about their behavior is costly and can be unreliable. This article frames its review around how such programs are written, tested, and learned from, and how their evidence is judged.

1 Introduction

  • Execution feedback is valuable: robotics systems report success rates above demonstration-trained end-to-end policies on manipulation benchmarks with task perturbations, and validated programs can generate successful training trajectories.The debugging loop runs a program, inspects failure, revises it, reruns it, and keeps what works (Yang et al., 2024b; Wang et al., 2025; Jimenez et al., 2024).Source: §1 · p. 3
  • Physical-task checks may require observations, simulator state, or another trial, while their cost and reliability depend on how they are made.A lifted pot may still not have reached the burner or be upright and stable, and judging the lift depends on observation and the success criterion.Source: §1 · p. 3
  • ASPIRE’s execution engine and skill library together raise LIBERO-PRO macro-average success from 14% to 62%, with evolutionary search adding 10 percentage points; a full Eurekaverse run costs about 15 US dollars and 24 hours on eight A6000 GPUs.Execution records perception and control calls, exposes images before and after them, and reruns candidate repairs; Eurekaverse feedback can require training a policy on generated environments.Source: §1 · p. 3
  • Trustworthy evidence is a limiting factor because physical-world judges can be wrong: the best of thirteen VLM detectors reaches 0.77 macro-averaged balanced accuracy on FailBench manipulation outcomes.OpenRUA analysis finds about a quarter of failed episodes involve a success condition absent from the instruction or a predicate that contradicts it (Chu et al., 2026).Source: §1 · p. 4
  • The review distinguishes its focus on evidence for individual physical-world programs from reviews centered on robot capabilities, code generation, verifiers, or agent code more generally.Its scope includes programs that can be read, traced, and repaired, as well as the evidence that judges them.Source: §1 · p. 4
  • The article compares programs by their position relative to the actuator and their judge, and surveys testing practices, retained experience, evaluation gaps, and open problems.It identifies cost, variance, judge visibility, judge error, and the simulation-to-reality link as quantities current reports rarely state.Source: §1 · p. 5

2 The Physical World as a Test Suite

This section examines how physical execution, simulation, and trained-policy behavior serve as evidence for model-written programs, and what makes such tests reliable. It traces the agents’ emergence and frames evaluation around program role, actuator relationship, judge, and agent access to that judge, noting that overlapping evaluation categories carry distinct assumptions and limitations.

2.1 Scope and Definitions

  • The survey counts editable, reusable artifacts with executable semantics—including generated tasks and worlds—as programs, but excludes one-shot tool calls and skill documents.Parsing or compilation alone does not establish task success: ViLaIn’s generated problems are syntactically correct at least 99% of the time, yet only 58% in its hardest domain yield a plan accepted by a symbolic validator (Shirai et al., 2024).Source: §2.1 · pp. 7–8

2.2 From Language Models to Coding Agents

  • Robot language models moved from selecting skills to writing action programs, then to generating training objectives and worlds, retaining experience, and revising code through execution feedback.General-purpose coding agents entered robot execution environments in 2026, connecting program generation to repeated testing and repair.Source: §2.2 · pp. 8–10

2.3 From Software Tests to Physical Tests

  • Physical testing needs explicit success criteria, repeatability, reset procedures, budgets, containment, and observability; software testing practices transfer, but do not resolve these demands.OpenRUA traces failures to unstated or contradictory success criteria, while RAPID infers phase-level predicates from a human demonstration before writing primitives (Liu et al., 2026i).Source: §2.3 · pp. 10–11
  • A successful physical episode establishes only that a program worked once; repeated trials are needed to estimate reliability across initial conditions, contact, and sensing or actuation noise.In fixed deterministic simulation with fixed seeds and memory, reruns reproduce the same rollout but add no new samples.Source: §2.3 · p. 12
  • Unlimited saved-state resets raise GPT-6 Astra’s success on Embodied First Exam’s 391 core tasks from 28% to 53%, but saved-state starts account for 66% of successes.Hardware lacks such checkpoints and requires engineered resets; physical evaluation can also consume robot time, supervision, or manual recovery, while some trials cannot be reset.Source: §2.3 · p. 12
  • Process isolation does not contain robot-side hazards, and privileged simulator state can aid debugging while differing from hardware observations and inviting exploitation.In Embodied First Exam, exact-state queries yield 45% success and queries with resets yield 68%, against 77% with full simulator access; resets solve 36% of sensor-only failures (Wang et al., 2026g).Source: §2.3 · p. 12

2.4 Program Roles and Evaluation Sources

  • Programs may act through robot primitives, shape training objectives or worlds, or orchestrate learned policies; each is compared by its distance from actuators and by its judge.The framework also records whether agents can inspect or query the judge, since access changes what a score establishes.Source: §2.4 · p. 13
  • Programs farther from actuators can affect more downstream actions or policies, but evaluation cost depends on the computation between the program and its observable effect.Language to Rewards can be evaluated within an episode, whereas Eureka requires training a policy for each reward candidate and Eurekaverse trains policy populations for generated curricula (Yu et al., 2023; Ma et al., 2024b; Liang et al., 2024b).Source: §2.4 · p. 13
  • Privileged predicates and formal checks can be precise but misstate the task or rely on limited specifications, while jointly generated checks can share a model’s misreading.Learned judges depend on task and available observations; humans can resolve ambiguity but need a clear protocol, and outcome checks assess whether the intended physical result occurred.Source: §2.4 · p. 13
  • The evaluation taxonomy separates model-generated checks and makes outcome evaluation explicit, while grouping judges by humans, rules and formal methods, learned models, and internal signals (Wan et al., 2026).Categories can overlap: human or learned judges may assess outcomes, and generated checks may read privileged state.Source: §2.4 · p. 14
  • For agents repairing their own programs, a result paired with a useful trace can help locate failures and guide the next edit.The evaluation categories are grouped by judgment source, but feedback must also support repair.Source: §2.4 · p. 14
  • A success rate means different things when based on an agent-readable privileged predicate versus a hidden check of the physical outcome.Interpretation also depends on where the program sits relative to the actuator and which judge produced the result.Source: §2.4 · p. 14

3 Writing Programs for the Physical World

Programs persist beyond a single action: they can be rerun, inspected, repaired, and stored. The section compares their benefits and costs across programs that act on robots and programs that shape policy learning.

3 Writing Programs for the Physical World

  • Programs can be rerun, inspected after failure, repaired, and stored, giving agents behavior that persists.Source: §3 · p. 14
  • Reported comparisons favor programs when task structure changes.Source: §3 · p. 14
  • The primitives supplied by a designer bound what a program can do, while repeated model calls add time and cost.Source: §3 · p. 14
  • Programs either act on the robot through primitives or learned policies, or shape policy learning through objectives, worlds, demonstrations, or simulated bodies.Source: §3 · p. 14

3.1 Programs as Robot Policies

This section examines how robot-policy programs are structured and developed, including revision during execution and offline development, and how their results compare with learned policies. It covers reported strengths and variable performance across tasks and settings, while noting that differences in baselines, evaluation scope, and pre-evaluation development make studies difficult to compare.

3.1.1 Primitive Interfaces and Program Structure

  • GenCHiP’s compliant action spaces improve policy generation by more than three times on the Functional Manipulation Benchmark and four times on the NIST Task Board, while Language to Rewards solves 90% versus 50% for its baseline.CaP-X finds performance improves with higher-level primitives, yet its single-pass programs do not match human-written programs averaging 88.5% on its single-turn tiers (Fu et al., 2026).Source: §3.1.1 · p. 14
  • OpenRUA reaches 99.0% on CaP-Bench by having an agent write much of its own measurement, image-processing, and control code, while a skill library helps weaker models but can constrain stronger ones.With Claude Sonnet 5, OpenRUA scores 24.0% on two LIBERO-10 perturbation cells versus 72.5% with Opus 5; on 100 perturbed tasks, library-selected skills raise a weaker model from 11% to 63%, while skill-only execution lowers the strongest from 92% to 61% (Chu et al., 2026; Han et al., 2026).Source: §3.1.1 · pp. 14–15
  • Program form and runtime delegation matter: multi-file repositories outperform behavior trees and finite-state machines in one ablation, while generated code can delegate geometric search and checking to solvers or interpreters.RHO reports 70.00% for multi-file repositories, 33.86% for behavior trees, and 18.14% for finite-state machines, with different backend models for the latter rows; Code-as-Symbolic-Planner reports a 24.1% average gain over best baselines, and NeSyRo reports 57.5% versus 10.6% success and 7 versus 53 irreversible actions (Elmaaroufi et al., 2026; Chen et al., 2025a; Ahn et al., 2025).Source: §3.1.1 · p. 16

3.1.2 Online Revision and Offline Development

  • Within-episode code revision can improve recovery when program logic fails: VLCP achieves 35.1% success versus 3.5% when queried only once per episode, while URAI’s per-tool-call agents reach 56% pooled versus 24% for an advance-written program.Both VLCP conditions receive sensor feedback; repeated model calls add time and cost, and monitoring checks are less effective for force failures without visible displacement (Naouali et al., 2026; Ge et al., 2026; Zhou et al., 2025a).Source: §3.1.2 · p. 17
  • Offline development amortizes deliberation, with frozen programs succeeding across simulation and hardware studies, though outcomes depend on task, development budget, and evaluation conditions.RAX averages 78.3% on its largest-budget RoboDojo tasks versus 24.9% for the best demonstration-trained leaderboard policy, but uses different layouts and evaluation; ACE-CaP-0’s frozen programs succeed in 221 of 240 hardware trials across eight tasks (Huang et al., 2026a; CaP Team et al., 2026).Source: §3.1.2 · pp. 17–18

3.1.3 Orchestration of Learned Skills

  • Programs can orchestrate frozen learned policies through executable memory, recovery code, or typed tool calls, with reported gains on memory-dependent and perturbed tasks.HyMeS raises success from 41.3% to 60.1% on a 12-task protocol and from 25.7% to 57.1% on a real arm; Zetta reports 71.13% versus 32.00% for the frozen π0.5, and Pigey raises success over six LIBERO-PRO cells from 12.8% to 53.3% (Zhao et al., 2026d; Ding et al., 2026; Galanti et al., 2026).Source: §3.1.3 · pp. 18–19
  • Skill composition remains fragile because skills may encounter states unlike their curated starting states, motivating explicit readiness checks, recovery, and verified boundaries between subtasks.On BEHAVIOR-1K, isolated picking reaches 96.5% success but chained tasks average 19.5% reference-plan progress; BATON raises average success on 26 long-horizon RoboMemArena tasks from 23.1% to 63.5% (Rui et al., 2026; Xu et al., 2026b).Source: §3.1.3 · pp. 19–20

3.1.4 Comparison with End-to-End Policies

  • Comparisons with end-to-end policies favor programs on some task changes, but LIBERO-PRO’s instruction-file mismatch inflates the apparent gap and aligned re-evaluations narrow it.On task perturbations, the benchmark’s own evaluation gives OpenVLA, π0, and π0.5 scores of 0.00 to 0.01; RoboDuo’s aligned evaluation reports 11.2% to 60.6% for its π0.5 checkpoint and 0% to 18% for reproduced X-VLA (Zhou et al., 2025b; Wang et al., 2026e).Source: §3.1.4 · p. 20
  • On GemBench long-horizon tasks, 3D-LOTUS++ reaches 17.4% versus 0.3% for 3D-LOTUS, while SafeHarness leaves obstacles undisturbed in 91.9% of SafeLIBERO episodes versus 17.1% for 𝜋0.5.The GemBench gain reflects combined changes to planning, object grounding, and the motion policy; SafeHarness’s safety comes from harness structure, not code generation alone. RoboHarness also reaches a mean q-score of 44.5%, versus 34.8% for G0.5 and 31.6% for the challenge winner’s entry.Source: §3.1.4 · pp. 20, 22
  • Demonstration-trained policies often lead on in-distribution tasks, but program methods can match or exceed them in other settings, including pushing, perturbed layouts, and demonstration-derived code.Fine-tuned OpenVLA averages 65.0% on eight LIBERO tasks versus 52.4% for RoboPro; on Push-T, tuned code succeeds on 97.2% of 200 seeds versus 62.5% for the Diffusion Policy checkpoint. Demo2Code raises Robotouille’s unit-test pass rate from 0.29 to 0.59.Source: §3.1.4 · pp. 22, 25
  • Contact-heavy results vary with the backbone model, sensing, and control access; FORCA’s force-aware programs open a drawer and turn a handle in 10 of 10 trials each, versus 4 and 1 without force data.Other reported cases include ASPIRE’s nut-assembly score rising from 0.09 with Opus 4.6 to 98% with Opus 5 and 100% with Opus 5.5, and OpenRUA succeeding in every CaP-Bench nut-assembly trial; these comparisons do not isolate all system differences.Source: §3.1.4 · pp. 22, 25
  • Hybrids improve on a learned policy or agent in some settings, while frontier models acting through tools can lead on selected benchmarks but remain weak on precision, long-horizon, or contact tasks.Harness VLA reaches 82.4% on LIBERO-PRO versus 50.0% for its frozen VLA; EBench reports 53.0% and 56.0% when calling learned models versus 46.7% under direct control. Show-Harness reaches 89.0% on ten real-robot receptacle tasks, while GPT-6 Astra’s RoboDojo results vary by task type.Source: §3.1.4 · pp. 22–23
  • Comparisons remain conditional: VLA baselines, averaging scopes, and program-development budgets differ, and code-versus-VLA LIBERO-PRO results cover only position and task perturbations.The authors call for matched comparisons across all perturbation types and interfaces, and for learned skills with declared, checked postconditions so that chained-skill handoffs can be tested.Source: §3.1.4 · pp. 23–25, Figure 7 · p. 24
  • Programs can accommodate new goals, step orders, and constraints, while learned policies may better absorb sensorimotor variation in their training distribution; position-perturbation results are mixed.The section cautions that reported program advantages on LIBERO-PRO may be smaller than published VLA rows suggest, and that robustness to rewording is weak evidence of linguistic generalization.Source: §3.1.4 · pp. 24–25

3.2 Programs for Policy Learning

Programs for policy learning encode rewards, tasks, demonstrations, environments, and assets, and their effects often require testing through trained policies. The section contrasts reported gains with limits in reward evaluation, task verification, and transfer.

3.2.1 Reward Functions and Training Objectives

  • Reward-design loops return training feedback to revise objectives, but matched-budget comparisons find few methods clearly separated and identify four helpful design choices.Eureka’s rewards outperform human experts on 83% of tasks across 29 environments, with 52% average normalized improvement; BIRD finds REvolve strongest on every suite but HumanoidBench, while most other differences overlap.Source: §3.2.1 · p. 26
  • In DrEureka, the best randomized policy reaches 1.83 m/s against 1.32 m/s for the human-designed reward, while simulation-only Eureka fails to walk on the real Go1.Without DrEureka’s physics prior, 15 of 16 randomization configurations produce jerky or unsafe hardware policies; the safety instruction addresses over-exertion risk.Source: §3.2.1 · p. 26
  • Reward scores can favor unintended behavior: all nine BIRD policies exceeding 75% of reference reward on HumanoidBench walking and crawling were judged unnatural by two raters.Approaches to make requirements more explicit include learned temporal-logic specifications, generated task curricula, and code that writes reference trajectories; CurricuLLM reports 0.46 m/s tracking error against 0.41 m/s for a human-designed reward and 1.13 m/s for a single zero-shot reward.Source: §3.2.1 · pp. 26–27

3.2.2 Training Environments, Demonstrations, and Assets

  • Generated tasks need checks beyond syntax and runtime: GenSim adds subgoal demonstrations and an LLM critic, while generated-task pass rates among three human reviewers ranged from 41% to 80%.GenSim2 reports primitive-task runtime success of 0.94 and solution success of 0.78, against 0.94 and 0.58 for RoboGen.Source: §3.2.2 · p. 27
  • Task feasibility does not establish intended meaning: Video2World’s best agent reaches 25.5% success on 222 instances, against 58.8% for a human-assisted reference using extra source information.Gym-Anything for Robotics found a real defect in about three quarters of 25 generated simulations, and its verifier must be a deterministic function of simulation state.Source: §3.2.2 · pp. 27–28
  • Curriculum systems can adapt difficulty, but their progress measures need independence from the learner; SimWorld Studio reaches 90% success against 72% with fixed training difficulty on an external benchmark.Repair must recheck feasibility and intent because making a task feasible can also alter its difficulty or meaning; driving-scene systems report different results, including ChatScene’s 4.3% collision rate against 13.5% for its strongest generation baseline.Source: §3.2.2 · p. 28
  • Generated success checks can label demonstrations and determine what behavior enters training data; PyRUA-DataFarm policies succeed in 93 of 100 trials against 84 for policies trained on teleoperated episodes.PyRUA-DataFarm freezes the success judge before writing the expert, tests the expert on held-out initial states, and independently reviews rendered episodes.Source: §3.2.2 · p. 28
  • Asset and body programs require physical checks as well as syntax checks, while open problems include independent checks for generated tasks and broader testing of physics randomization.Artisan reduces collision rate under single-joint motion from 45.5% under Articraft to 1.7%; only a few reward-generating systems also generate physics randomization ranges.Source: §3.2.2 · p. 29

4 Testing Programs Against the Physical World

Evaluation results depend on what the check observes, which failures it detects, and its cost. The section frames evaluation as both producing a result and determining what that result can support.

4 Testing Programs Against the Physical World

  • A successful-looking final image can miss a tilted pot, so the check’s observations and definition of success constrain what its result establishes.The section first considers the cost of obtaining a result, then how it is interpreted, checked, and used to constrain execution.Source: §4 · pp. 29–30

4.1 Cost of Evaluation

Evaluation paths range from code checks to episodes and policy training, with different costs and units. Screening and reuse can reduce that burden, but cheap proxies may be unreliable, and evaluating a whole training stack widens what must be judged.

4.1 Cost of Evaluation

  • Parsing code, running an episode, and training a policy answer different questions and incur different costs, while reported budgets use different units.A full Eurekaverse search costs about 15 US dollars in language-model API fees and roughly 24 GPU-hours, comprising five iterations with eight parallel policy-training runs each.Source: §4.1 · p. 30, Figure 10 · p. 31
  • Candidate screening and reuse reduce evaluation demands, and InterEvolve reaches 86.5% success against 18.0% for a calibrated human-written reward at 2.1 single-GPU hours per task family.CARD uses about a tenth of the environment steps and performs worse, though by less than the compute gap; ORSO reports up to eight times less computation.Source: §4.1 · p. 30
  • Short-training proxies can be unreliable before a policy passes a task-dependent competence threshold, so compute savings may sacrifice reliability during pruning.RHyVE makes this limitation explicit; a proxy must be judged by how well it predicts later outcomes, not only by its cost.Source: §4.1 · p. 31
  • When agents edit the whole training stack, even successful execution of environment code may fail to yield a successful policy, and edits can change the measurement that judges them.Across five Isaac Lab tasks, Claude Code’s environments run without error in 9 of 10 runs on Ant, Humanoid, and Lift, but none yields a successful policy; ARPG yields successful policies in 9, 4, and 4 runs respectively.Source: §4.1 · p. 31

4.2 Traces and Judges

Traces connect failures to operations, while judges decide whether outcomes count as success; neither alone guarantees a trustworthy result. The section compares feedback designs and judge types, highlighting errors that can distort selection, training, and retained experience.

4.2.1 Execution Traces and Failure Diagnosis

  • ASPIRE’s execution engine and skill library together raise LIBERO-PRO macro-average success from 14% to 62%, and evolutionary search raises it to 72%, though the ablation does not isolate trace contributions.The engine records call arguments, returns, status, keyframes, perception overlays, grasp candidates, object poses, and planning results, then reruns candidate repairs.Source: §4.2.1 · p. 32
  • Feedback format matters: REFLECT’s failure explanation raises execution-failure correction success from 41.9% to 79.1%, while a controlled study finds semantic-skill reports outperform motion- or episode-level reports.PyRUA-REAL reports 54.2% held-out success with video and joint trajectories, 45.8% with numeric states, and 15.3% with basic outcome reports.Source: §4.2.1 · p. 32
  • Fly-by-Code writes diagnostic programs to seek evidence when feedback is inconclusive, reaching 75% success against 31.7% with terminal feedback alone and 48.3% with traces.Other debugging systems insert probes, generate recovery programs, flag unsafe motion from traces, or check traces against temporal-logic properties; template-feedback results show no detected benefit from matching feedback to the observed failure label.Source: §4.2.1 · pp. 32–33
  • A trace can narrow a repair by locating a failed call, but that call may reflect an earlier error; learned policies lack a comparable sequence of named operations.Whether an outcome is acceptable still requires a judge, since an execution log can look the same for a flat or tilted pot.Source: §4.2.1 · p. 33, §4.2.2 · p. 33

4.2.2 Task Success Assessment

  • Simulator-state predicates inspect internal state, but their implementation or success definition can be wrong; an audit of seven benchmarks reports 22 bugs and four design limitations.Harnesses restrict agent access to ground truth in different ways, and reading criteria code helped a learner on tasks where criteria disagreed with instructions but did not improve performance under instruction-aligned criteria.Source: §4.2.2 · pp. 33–34
  • When the same model writes a task and its check, the two can share a misreading; on a physical battery-disassembly task, 11 of 13 failures in one interface mode were false success reports.Generated success snippets also label demonstrations, while CodeActionBench scores whether completion claims are correct, overclaimed, underclaimed, or absent.Source: §4.2.2 · p. 34
  • Learned judges can mistake failures for success, and judge-guided selection can favor candidates that exploit recurring blind spots.On FailBench, the best of 13 VLM detectors reaches 0.77 macro-averaged balanced accuracy and none exceeds 0.60 on contact-intensive assembly; a reward model’s AUROC is 0.37 for wrong-object failures versus successes, despite 0.81 overall.Source: §4.2.2 · pp. 34–36
  • Judge errors can persist as experience: one SEAR agent’s verifier was wrong on 91% of 699 later rollouts after calibration on sixteen episodes, and its run scored 4.6%.Other learned judges report high accuracy in particular settings, but errors include false positives, sensitivity to instruction wording, and influence from misleading log text.Source: §4.2.2 · pp. 35–36

4.3 Checks in Place of Physical Trials

Simulation, learned predictors, and formal checks can provide evidence when physical trials are costly or restricted, but each supports claims bounded by its judge, model, or specification. The section contrasts these checks with real-world outcomes across robotics, laboratories, and industrial control.

4.3.1 Simulation as a Proxy for Reality

  • ReSkill succeeded in 72 of 80 trials in rebuilt scenes and 62 of 80 on the real robot across eight tasks.Agentic RSR reports real success on 8 of the 10 tasks solved in reconstructed scenes; Code as Policies’ reported real-to-sim success ratio is 51.1%, not a paired comparison.Source: §4.3.1 · p. 36
  • Simulation can screen candidate code before risky trials, but offline evidence can mislead: an endoscopy controller supported by replay completed none of 16 physical attempts.SimEX instead uses a small number of physical trials to correct its simulator, which then diagnoses failures and screens repairs.Source: §4.3.1 · p. 36
  • Learned code predictors can flag errors without execution, but their agreement with execution must be established, especially when they share assumptions with the generator.Systems include a text-based robot-code simulator, a model trained on execution traces, and Chain of Code, which emulates functions an interpreter cannot run.Source: §4.3.1 · p. 37

4.3.2 Verification Without Unrestricted Physical Trials

  • Formal checks offer precise guarantees only relative to a specification and system model, and their timing determines whether they accept proposals, intervene during execution, or explain outcomes afterward.RoboGuard’s temporal-logic controller reduces unsafe plan execution under worst-case jailbreaks from over 92% to below 3%.Source: §4.3.2 · p. 37
  • On Planetarium, only 24.8% of GPT-4’s zero-shot PDDL descriptions are semantically correct; AutoTAMP’s corrections improve hard-constraint task success from 42.7% to 87.7%.Stable requirements such as geofences and workspace bounds are easier to specify than the intent of a new instruction, provided state estimates and control interfaces support the check.Source: §4.3.2 · pp. 37–38
  • When physical trials are restricted, release evidence often combines checks because static validity, controller execution, modeled plant behavior, and physical safety address different parts of the system.Table 6 catalogs checks used before release across laboratory automation, industrial control, robotics, and code models.Source: §4.3.2 · p. 38, Table 6 · p. 39
  • Laboratory systems check protocols with simulators, digital twins, rules, runtime monitoring, or authorization tokens; AEGIS reaches an adjusted F1 of up to 0.968 on 24 protocols.The OT-2 simulator accepted scripts in 12 of 17 sessions, but one error-free longer script circumvented errors rather than performing the instructed operations.Source: §4.3.2 · p. 38
  • On 65 SemaPLC project tasks, live-runtime trace scores average 52.2 for SemaPLC versus 22.4–31.4 for baselines, while static scores fall within 10 points.A commissioning study’s external acceptance layer rejected all fabricated plans on 21 unanswerable tasks routed to a small local model.Source: §4.3.2 · pp. 38–39

4.4 Safety Beyond Task Success

Task completion does not establish safety: evaluations find unsafe successful behavior, failures to gather required evidence before acting, and attacks that exploit different control channels. The section reviews defenses and identifies gaps in evaluating judges and complete testing loops.

4.4 Safety Beyond Task Success

  • Tabletop policies with over 90% success are unsafe in 18–28% of episodes, and 38–56% of successful RoboCasa rollouts violate a safety clause.A direct-control model’s real-robot tests were halted after unsafe actions damaged hardware.Source: §4.4 · p. 39
  • In every tested SafeActBench configuration, including Claude Code and Codex, many actions were attempted before the required investigation was complete.Agents that reliably approve valid actions given complete evidence succeed far less often when they must gather evidence and act themselves.Source: §4.4 · p. 39
  • Physical attacks can exploit instructions, perception, action composition, or multi-agent prompt propagation, while defenses remain specific to the attacks they address.RoboGuard lowers RoboPAIR success from 81.11% to 31.11% but leaves conceptual deception at 94.44%.Source: §4.4 · pp. 39–40
  • Across seven frontier models, refusal of harmful instructions falls from 73% for user-framed text to 25% for Code-as-Policies and 18–19% for direct pose or joint commands.On a real arm, GPT-6 Astra refused none of 15 hazardous joint-target trials and completed the harm in four; it declined all 15 when asked beforehand in text.Source: §4.4 · p. 40
  • External action gates can block unsafe commands, but evaluation results describe the model and guard together, so reports should include how often the guard intervened.In 110 geofence-violation trials, DroneServer blocked the commands the model did not decline, and no aircraft left the permitted zone.Source: §4.4 · p. 40
  • Open problems include measuring accepted changes that fail independent checks and testing outcome judges against text injected into the scene.The paper also calls for judges to be evaluated on programs produced by search, not only on fixed episodes.Source: §4.4 · p. 41

5 Learning from the Physical World

This section examines how experience from physical-world programs is retained in skill libraries and model weights, including how validation and available data shape what is reused. It also identifies evaluation needs for measuring whether retained experience remains useful as conditions change.

5.1 Skill Libraries

  • For the moka-pot program, approaching from a different angle fixed the repair on debug seeds and then held-out seeds, making it worth keeping for handled-object tasks, though changes may require a new approach or implementation.Source: §5.1 · p. 41

5.1.1 Skill Acquisition and Validation

  • Libraries store executable skills, programs, or guidance, and practice with retained experience can raise success, as AMP1 rises from 26.4% zero-shot to 84.1%.AMP1 runs practice five times per task and evaluates the run with the highest success on a separate seed (Chen et al., 2026a).Source: §5.1.1 · p. 43
  • Skill acceptance ranges from outcome judges and privileged state checks to human review, held-out comparisons, and multi-criteria checks; Skill2Real rises from 27.50% to 78.75% on a real UR5e.VASO model-checks plans against temporal-logic safety specifications, reporting 96.8% compliance with generated state mappings and 97.2% with handcrafted mappings; its guarantee depends on the mapping being correct (Yang et al., 2026e).Source: §5.1.1 · pp. 43–44
  • ASPIRE’s LIBERO-PRO Long zero-shot success rises from 0.047 with an empty library to 0.305 with 90 source tasks, while one perturbed task falls from 0.68 to 0.26.In a separate campaign, a complete library raises the 20-task suite from 74.6% to 82.2% on the same held-out seeds, though one task remains at 0% (Lu et al., 2026).Source: §5.1.1 · p. 43, Figure 12 · p. 44

5.1.2 Skill Maintenance and Transfer

  • Library activity does not guarantee progress: one 123-round RoboCasa report records 847 proposals but no target-task success in 486 rollouts, while staleness and retirement remain under-studied.The report also describes a perception skill growing to 3,056 lines with 33 thresholds and 113 human harness repairs (Wang, 2026).Source: §5.1.2 · pp. 45–46
  • Transfer studies cover new robots, models, and tasks, measuring both adaptation cost and resulting success; reused code may require embodiment-specific rewrites, while guidance can reduce search.For example, ASPIRE guidance cuts tokens on all three YAM tasks, while success gains vary; RECENT’s whole-skill regeneration ablation drops success from 83.33% to 26.67% (Choi et al., 2026b).Source: §5.1.2 · pp. 46–47

5.2 Experience Distillation into Model Weights

  • Executions of generated code can train action policies: RobotGPT raises average success from 38.5% for ChatGPT-generated code to 91.5% for a policy trained on its trajectories.EmbodiedSWE’s policy trained on 500 simulated demonstrations grasps a lampshade in all ten real trials and unscrews the bulb in two, while the pretrained policy completes none of the stages (Shen et al., 2026).Source: §5.2 · p. 47
  • Models can also learn to write or operate programs: AgenticRoboRL reaches 71.0% on held-out LIBERO-PRO initial states, and CaPtain’s reinforcement learning raises success to 73.8% on held-out LIBERO initial states.Across these routes, training transfers ways of writing, correcting, or operating programs rather than stored skills; programs generate data and improved models support later program execution or generation, though only parts of this loop are demonstrated (Liu et al., 2026f; Fan et al., 2026b).Source: §5.2 · p. 48
  • For model-weight retention, GPT-3.5 achieved 35.1% task success with retrieved examples, 23.2% with fine-tuning, and 35.8% with both (Sarch et al., 2024).SHAPER beat supervised fine-tuning on the same 15 training episodes, reaching 34.50% versus 24.00% on 800 held-out VLABench episodes, but selected candidates on 24 validation episodes and did not report fine-tuning compute (Wang et al., 2026h).Source: §5.2 · p. 49
  • On robosuite, SEAR’s student policy reached 61.0% against the code baseline’s 97.1%, and on RoboLab it reached 47.2% against 68.0%; a moving camera reversed the gap, with code at 9% and the VLA at 69% (Wang et al., 2026n).The student was within two points of the code baseline on LIBERO and LIBERO-PRO, but the comparison used different training time on robosuite; matched-data and compute comparisons that also include skill documents remain open.Source: §5.2 · p. 49
  • On LIBERO-PRO Long, ASPIRE rose from 0.047 with an empty library to 0.305 with a full one, yet one task fell from 0.68 to 0.26 as the library grew from 50 to 90 source tasks.Removing validation cost 13 to 31 percentage points in reported ablations, although in one 123-round run the agent accepted 57 changes without ever succeeding on its target task.Source: §5.2 · p. 49
  • Reuse lowered adaptation cost more reliably than it raised success: ASPIRE cut tokens on all three real tasks with success gains ranging from none to 11 of 20, while RECENT favored rewriting only a skill’s binding to the body.Source: §5.2 · p. 49
  • Open evaluations should measure library staleness after controlled changes, compare append-only libraries with revision, merging, and retirement at matched size and cost, and compare code, skill documents, and weights at equal data and compute.Source: §5.2 · p. 49

6 Benchmarks and Evaluation Practice

Benchmarks for physical programs vary in what they expose, test, and report, while the reliability and cost of their judgments remain difficult to assess. The section reviews robot-code repair benchmarks and identifies evaluation gaps that limit comparisons and claims about real-world performance.

6.1 Benchmarks and Protocols

  • Benchmarks probe distinct controls, including hidden judges and completion claims, matched budgets, privileged versus sensor-only access, and long-horizon or industrial tasks.No benchmark among CaP-Bench, CodeActionBench, and RoboEval combines all three practices they illustrate.Source: §6.1 · p. 50
  • Firmware benchmarks test board behavior beyond plausible output, while partial-credit subgoals reveal progress that binary success can hide.Progress scores can reorder models relative to task success, and whether they distinguish code-writing agents with fewer trials remains an empirical question.Source: §6.1 · p. 52

6.2 Benchmarks for Robot Code Repair

  • Robot-code repair benchmarks cover repository tests, simulator execution, or both, but none combines issue-derived changes with checks of requested physical effects and preserved behavior.ROSTrans reports that 56.5% of samples build but fail runtime tests; Robo-SWE reports 45.8% to 56.5% task resolution while noting container tests do not guarantee robot behavior.Source: §6.2 · pp. 52–53
  • RoboBugBench’s shipped acceptance rule passes all 11 audited counterfeit patches; a distributional rule rejects four and none of five held-out correct fixes.The paper reports repair rates as bounds and notes that the oracle is limited by recorded telemetry.Source: §6.2 · p. 53

6.3 Limitations of Current Evaluation

  • Cost, variance, judge visibility or error, and simulation–reality links are often unreported; the review counts them only when evaluations state measurable evidence.The coding rules require stated resource units, judge error measured against a reference, and a spread or interval for uncertainty.Source: §6.1 · p. 51, §6.3 · pp. 53, 57
  • Success rates often omit the resources spent to obtain them, and reported effort may exclude rejected runs or collapse distinct human work into one number.ASPIRE’s real-robot Rubik’s Cube experiment still requires an operator to give task guidance, scramble the cube, and reset the scene.Source: §6.3 · pp. 53–54
  • Uncertainty depends on what is repeated, and informal stopping or selecting among noisy evaluations can inflate apparent gains.A Monte Carlo study found stopping a naive McNemar test when it first passes raises promotion of no-gain changes to 0.161, about three times its nominal level.Source: §6.3 · p. 54
  • Simulation–reality validity is unevenly demonstrated; accepted-episode failures and skill-library retention are rarely reported, despite their distinct roles in assessing progress.Paired real trials can estimate transfer, while retention measures whether earlier successful task–seed pairs remain successful after a library update.Source: §6.3 · pp. 55–57

7 Challenges and Future Directions

The paper proposes four directions: match program and policy representations to the changes a task requires, build reliable and efficient verification, maintain experience as a tested library, and strengthen reproducible evaluation with real-world validity checks.

Program representation and policy integration

  • Place explicit program logic where it can absorb changes in task structure, step order, or constraints; leave contact-rich behavior to policies, optimizers, or force and compliance primitives.Offline development can prepare logic in advance, reserving runtime model calls for cases the stored program does not cover.Source: §7 · pp. 57, 59
  • Comparing programs, skill documents, and fine-tuned weights at matched data and compute would show what each preserves, costs to reuse, and how readily it can be revised.This would extend SEAR’s comparison of code teachers and VLA students.Source: §7 · p. 59

Verification reliability and efficiency

  • A physical counterpart to continuous integration would trace outcomes, judge them with known error rates and costs, and rerun regression tests after each program or library change.Trace representation, judge choice, and check order are separate design choices; checks may run in parallel or in a cheap-to-expensive cascade.Source: §7 · p. 59

Continual learning and skill maintenance

  • Treat skill libraries as maintained codebases by attaching tests, versions, provenance, and retirement criteria, then measure retention after updates and staleness after controlled world changes.Comparing library maintenance with an append-only library at matched data and cost would test whether revision preserves more useful experience.Source: §7 · pp. 57, 59, 60

Evaluation reproducibility and real-world validity

  • Shared protocols should report seeds, budgets, splits, costs, and paired real trials, while using sequential tests and simulation-plus-real intervals to assess reproducibility and validity.The proposed experiments call for separate reporting of model calls, GPU time, robot time, and human intervention.Source: §7 · pp. 57, 60

8 Conclusion

The conclusion frames physical execution as the test suite for programs that agents write, test, and retain. It finds that programs can outperform end-to-end policies when task structure changes, but trustworthy evidence remains the central constraint.

Conclusion

  • The paper compares programs by their distance from the actuator and by what judges them, following the loop of writing, testing, and learning.Programs can be rerun, inspected when they fail, repaired, and stored as experience.Source: §8 · p. 60
  • Programs lead end-to-end policies when task structure changes, while demonstration-trained policies retain an advantage in distribution in most reported comparisons.Results for contact-rich behavior depend on both the backbone model and the sensing and control access exposed by the interface.Source: §8 · p. 60
  • Every kind of judge has documented failure modes, and current reports rarely provide the evidence needed to distinguish gains from regressions.The conclusion calls for measuring independently rejected accepted episodes and retained earlier successes after library updates at matched budgets.Source: §8 · p. 60

A Representative Systems by Program Role and Evaluation Source

Table 9 classifies representative systems by each program’s role relative to the actuator and by the source that evaluates success. It also marks whether reported evaluations include quantitative hardware results, demonstrations or individual runs only, or no physical execution.

A Representative Systems by Program Role and Evaluation Source

  • Role codes place programs as action (ACT), orchestration (ORCH), objective (OBJ), or world (WORLD), while evaluation source identifies what decides reported success.The table separately marks hardware evaluation as quantitative, demonstrations or individual runs only, or none reported.Source: A Representative Systems by Program… · p. 82, Table 9 · p. 82
  • Neighboring artifacts include versioned procedural documents, which the table places by the role they support rather than treating them as programs.The table’s asterisk denotes neighboring systems whose artifacts are typed tool-call sequences or documents.Source: A Representative Systems by Program… · pp. 82–83, Table 9 · p. 82
  • OBJ examples include DrEureka and BIRD reward programs, plus Eureka and Text2Reward reward functions judged through policy fitness or simulator success criteria.The table also lists dense reward programs evaluated through trained policies and human feedback, and reward loops under matched budgets.Source: A Representative Systems by Program… · p. 83
  • WORLD examples span generated tasks and scenes in GenSim, RoboGen, and Eurekaverse, and terrain or expert programs in RoboTwin 2.0 and AnyTask.Articulate-Anything is listed as Python compiling to URDF, with ground-truth link and joint thresholds and a render critic guiding refinement.Source: A Representative Systems by Program… · p. 83
  • Other WORLD entries include AnyTask’s expert programs for data, reset and success code, and Articulate-Anything’s Python-to-URDF artifact.The table lists repeated simulation runs with a VLM observer for AnyTask, and ground-truth link and joint thresholds for Articulate-Anything.Source: A Representative Systems by Program… · p. 83
  • ACT examples include Voyager’s Minecraft skills, LRLL’s simulator-gated skill library, and Skill2Real’s code skills with frozen-skill real-success evaluation.Their listed evaluators include game-state counts, simulator task success, and benchmark plus real success, respectively.Source: A Representative Systems by Program… · p. 83
  • The table also includes laboratory and industrial ACT systems, from Coscientist’s experiment code to PLC code evaluated through model checking, runtime traces, or plant simulation.CLAIRify is listed with verifier-valid plans and chemist ratings; LLM4PLC with compiler pass rate and expert scores; SemaPLC with model checking and live-runtime trace comparison; and PLCWorld with closed-loop plant simulation.Source: A Representative Systems by Program… · p. 83
Loading 2611.22291v1…