The first exam for code agents in the physical world: frozen robot tasks from many benchmark suites, each answered with a program and verified in a separate sandbox. Runs on Harbor.
Python ai-agentsbenchmarkcoding-agentsembodied-aievaluationharborllm-agentsrobot-learningroboticssimulation
"""Oracle (standard): the privileged oracle's recorded control steps, submitted through the client, one row per control
step. No privileged information at run time; the rows were recorded offline."""
import json
from pathlib import Path
import numpy as np
from rcb_client import Robot
r = Robot()
spec = r.spec()
dt = spec["control_dt"]
rows = max(1, int(spec["max_chunk_s"] / dt) - 1)
actions = np.load(Path(__file__).with_name("oracle.npy")).astype(np.float64)
cam = next(iter(spec["cameras"]))
for i in range(0, len(actions), rows):
res = r.submit("joint_position", actions[i : i + rows], dt=dt, interpolate="hold", cameras=[cam], video="none")
print(f"chunk {i // rows}: steps={res.meta['control_steps']} done={res.meta['done']} reason={res.meta['reason']}")
if res.meta["done"]:
break
print("status:", json.dumps(r.status()))