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.4 KB
Raw Blame

abc-sim-nuts-bolts-i00-privileged

Benchmark ABC Sim
Mode privileged
Twin abc-sim-nuts-bolts-i00-standard
Simulator / robot mujoco / i2rt-yam-bimanual
Family / instance nuts_bolts / 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 sort_nuts_and_bolts (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)): Sort the parts: the nuts into the teal bin and the bolts into the orange bin. Success: every nut is in one bin and every bolt in the other, at the same time (the rule also accepts the bins swapped); a part is in a bin when its centre is inside the bin's interior region (between its walls, from just above its floor to below its rim). The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success. 9 nuts and 10 bolts lie on the table with two bins, a teal one and an orange one (loose objects, turned at some angle). 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. Long horizon: 19 small parts, each a separate grasp (nuts are flat rings, bolts thin cylinders), placed into two bins. The action is joint-level (two 6-joint arms and two grippers; no motion primitives), and the goal has to hold, so passing through it does not count.

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, 2872 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 36a10f65fd90f73b, 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 sort_nuts_and_bolts held 30 control steps

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.