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

abc-sim-chess-i00-privileged

Benchmark ABC Sim
Mode privileged
Twin abc-sim-chess-i00-standard
Simulator / robot mujoco / i2rt-yam-bimanual
Family / instance chess / 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 set_up_chess_pieces_on_board (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)): Put the 6 pieces that stand next to the board (3 black pawns, a black bishop, the black king, the black queen) on their starting squares: the squares of the standard starting position left empty. Success: each of those pieces stands on a starting square of its own kind that is to be filled: its centre within 0.028 m (half a square) of the square's centre in the board's plane, at most 0.05 m above the board, and upright (tilted at most 32 deg). Disturbing the other pieces does not fail the task. The goal must hold for 30 consecutive control steps (1.02 s); the episode then ends in success. A chess board lies on the table with the pieces on their starting squares, except 6 pieces -- 3 black pawns, a black bishop, the black king, the black queen -- which stand on the table next to the board. 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. Small, tall pieces placed precisely next to standing neighbours, and knowing the standard starting position (which square each kind takes). 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, 1872 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 65f14022364f054f, 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 set_up_chess_pieces_on_board 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.