Skip to content

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.

3.8 KB
Raw Blame

abc-sim-ball-tray-i00-privileged

Benchmark ABC Sim
Mode privileged
Twin abc-sim-ball-tray-i00-standard
Simulator / robot mujoco / i2rt-yam-bimanual
Family / instance ball_tray / seed 0
Oracle full
Agent time budget 3600 s; tokens: protocol default (docs/protocol/running.md "Official runs")
Base image ghcr.io/mll-lab-nu/efe:abc-sim-0.1.0

Task

ABC Sim ball_tray_balancing (two I2RT YAM arms (6 revolute joints and a parallel two-finger gripper each) side by side at the near edge of a table, facing +x (the left arm is the one at +y)): Grab the tray by both handles -- the left gripper on one handle bar, the right gripper on the other -- and keep the ball on the tray. The moment both handle bars are touched by the fingers (one arm's fingers on each bar), an 11-second countdown starts and the ball gets a push every 0.5 s (a 0.1 s force in the tray's plane, up to ~0.18 m/s each, its direction drifting from push to push). Success: the countdown completes with the ball on the tray throughout and both handles held throughout (each bar touched by its arm's fingers within the last 0.1 s at every control step). Failure, which ends the episode: the ball leaves the tray (its centre outside the tray floor's central ~0.26 x 0.25 m area, or lower than 8 mm above the floor), or a handle is let go during the countdown. A flat tray with a handle bar along each side lies on the table with a small ball on it. The deliverable is one replayable trajectory (/app/output/trajectory.npz, (T, 14), one row per 0.034 s control step).

Difficulty

First-pass rating: hard. A bimanual grasp of both handles, then closed-loop balancing for 11 s against random pushes the agent cannot predict, with the ball's position known only from the cameras (standard modes). The action is joint-level (two 6-joint arms and two grippers; no motion primitives).

Reference solution

The commanded actions of one of upstream's validation demonstrations of this task, replayed from the frozen instance and cut at the success step: solution/oracle.npy, 453 rows (float32 values, so the standard twin's client sends the same rows), success after the last one. Replayed, checked and saved by solution/solve.sh.

Verification

/opt/abc-tools/grade.py in a separate sandbox without network: two replays of /app/output/trajectory.npz, each in a fresh process (side by side), from the verifier's own copy of the instance (tests/instance.npz; the rebuilt start state is checked against its recorded hash); pass iff both episodes end in success in the same state (deterministic). nop: no trajectory, reward 0.

Resources

Caps per container (PROTOCOL §6).

Container CPUs Memory Processes GPU memory Disk
main (the agent's) 4 16 GiB 8192 5 GiB 10 GiB
verifier 4 8 GiB no cap 5 GiB no cap
  • GPU: any NVIDIA GPU, held by main.
  • Recommended GPU: any NVIDIA GPU with EGL (RTX 4090 / L4).

Details

Upstream ABC Sim, abc_sim of github.com/amazon-far/abc @ d0832d1 (Apache-2.0; assets CC BY 4.0 / MIT), on MuJoCo 3.6.0
Instance the scene of one of upstream's validation demonstrations (its assembled scene XML, initial qpos and randomization record); the model-side state its randomizer sets outside the XML written into the scene; state hash 6cdaa86a450092e7, checked on every load
Actions 14 joint-position targets per control step (0.034 s, 17 physics substeps of 2 ms)
Success the upstream evaluator ball_tray_balancing held 30 control steps (ball tray: its own rule, tasks/abc-sim/README.md)

Provenance

The frozen instance (instance.npz) and the reference solution (solution/oracle.npy) were made at generation time from an upstream validation demonstration; see tasks/abc-sim/README.md.