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.

2.2 KB
Raw Blame
{
 "task_text": "Rotate Valve: A valve is mounted on the front face of a wall in front of the hovering aerial manipulator: a large red wheel disc on a short shaft, with a handle bar sticking out of the disc's face toward the robot. Turn the valve: rotate the wheel clockwise, as seen from the robot's side of the wall, by at least 170 degrees from its starting angle. Success: Success when the valve has turned clockwise by at least 17/18 pi = 2.96706 rad (170 degrees; valve_target_angle): the unwrapped angle of the revolute joint base_to_shaft, counted from its 0 rad at the reset, is >= 2.96706 rad. Positive is the right-hand rotation about the shaft axis base_link +z, which points into the wall (world +x): clockwise when viewed from the robot's side, so a handle starting straight below the hub first moves toward world +y (the robot's left) and at 170 degrees is 10 degrees short of straight up. The joint has no limits, and PhysX reports its position wrapped into [-pi, pi] (s.objects() shows that raw value): AM-Bench's check compares that raw value, which a counter-clockwise turn of 190 degrees would also bring to +170 degrees, so the tooling (and the grader, with the same tooling) gives the check the unwrapped angle instead, the sum of the joint's per-step changes since the reset, readable as s.valve_angle() (rad). Only a clockwise turn counts; turning the wheel back counter-clockwise subtracts. AM-Bench also reports a subtask criterion valve_engaged (joint position >= 0.05 x 17/18 pi = 0.1484 rad); it is informational only. Evaluated after every control step (decimation 1, so after every 1/120 s physics step) on the simulated state; no hold time is required. The episode terminates at the first step where it holds. Otherwise it is truncated by the time limit: episode_length_s = 20 s, i.e. max_episode_length = 2400 control steps; AM-Bench raises the time-out when episode_length_buf >= max_episode_length - 1, i.e. at the 2399th step.",
 "episode": "one episode, no reset: it ends at the first control step where AM-Bench's success check holds, when the task's episode length of 20 s of simulated time runs out (AM-Bench's time-out, at control step 2399), when your time is up, or on a simulator error; the simulated clock advances only with the control steps you run"
}