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.

5.9 KB
Raw Blame
{
 "id": "picture_hang",
 "title": "Hang a large picture on two wall hooks",
 "description": "A fixed dual-arm robot (Tianji Marvin) with a dexterous hand on each arm lifts a free 2 kg 52 x 52 cm framed print from a console, carries it to the wall, engages both of its passive D-rings on the two installed brass wall hooks, releases it and withdraws; the picture must hang level and still from both hooks.",
 "instruction": "Hang the framed picture on the two wall hooks. The free 2.0 kg frame (52 x 52 x 6 cm) stands upright on a console; two brass picture hooks are installed on the wall and two D-rings on passive hinges are screwed to the back of the frame. Lift the frame off the console with both hands, engage BOTH D-rings on their matching hooks (left ring on the left hook, right ring on the right hook), then let go: the picture must hang still and level from both hooks with no hand touching it. Success requires, in this order: (1) lift-off: the frame origin (the centre of its bottom edge) at least 0.02 m above its start height z = 0.72 m and no contact with the console; (2) engagement: both rings threaded on their own hooks (the hook's load saddle passes through the ring's D loop, with the ring between the hook's upturned lip and the wall; a ring resting on top of the lip does not count) and each ring touching its hook; (3) a released hang for 50 consecutive controls (1 s): both rings threaded, each hook carrying at least 20 % of the frame's weight vertically through its ring and both hooks together at least 85 %, no hand touching the frame, no frame contact with the console or the floor, the frame's top edge level within 3 degrees, its tilt from upright at most 0.10 rad, its centre-of-mass speed at most 0.02 m/s and its angular speed at most 0.15 rad/s. The episode ends with success at that moment; one engaged hook, or rings left on the hook lips, never counts. The episode ends immediately with failure, checked after every 2 ms physics substep, when the frame touches the floor, when its origin leaves the workspace box x in [0.20, 0.76] m, y in [-0.45, 0.45] m, z in [0.60, 1.30] m, when it tilts more than 0.6 rad from upright, when after lift-off its origin falls more than 0.01 m below its start height, when after both rings were engaged no hand touches the frame while a ring is not threaded (it fell off a hook), when an arm, torso or stand link of the robot touches anything (only the hands may make contact), or when the physics becomes unstable; and when after lift-off the frame is held by nothing (no hand contact, no console contact and not hanging threaded on both hooks with both rings touching them): at the end of any control, or at any substep where its centre of mass is also moving down faster than 0.2 m/s (dropped, even if caught again, released early, dangling from one hook or resting on the hook lips). Later actions cannot undo a failure. Only the robot's actuator targets (14 arm joints and the fingers of both hands) are allowed; no grasp welds, scripted object motion or forces on the frame. The episode allows at most 3000 controls at 50 Hz; reaching that limit without success is a failure.",
 "difficulty": "hard",
 "category": "bimanual-manipulation",
 "release_status": "provisional",
 "physics_dt": 0.002,
 "control_dt": 0.02,
 "max_steps": 3000,
 "robot_base": {
  "pos": [
   0.18,
   0.0,
   0.2
  ],
  "yaw": 0.0
 },
 "cameras": {
  "overview": {
   "pos": [
    -0.62,
    -1.95,
    1.62
   ],
   "xyaxes": [
    0.87289,
    -0.48792,
    0.0,
    0.11464,
    0.20509,
    0.97201
   ],
   "fovy": 45
  },
  "front": {
   "pos": [
    -0.35,
    1.75,
    1.55
   ],
   "xyaxes": [
    -0.89951,
    -0.4369,
    0.0,
    0.10875,
    -0.2239,
    0.96853
   ],
   "fovy": 45
  },
  "side": {
   "pos": [
    0.12,
    -1.15,
    1.42
   ],
   "xyaxes": [
    0.89907,
    -0.43781,
    0.0,
    0.11247,
    0.23096,
    0.96644
   ],
   "fovy": 45
  },
  "hook_closeup": {
   "pos": [
    0.7,
    -0.43,
    1.43
   ],
   "xyaxes": [
    0.98268,
    -0.18531,
    0.0,
    0.05739,
    0.30431,
    0.95084
   ],
   "fovy": 32
  }
 },
 "predicate": {
  "lift_clearance_m": 0.02,
  "thread_tolerance_m": 0.0005,
  "min_hook_share": 0.2,
  "min_total_share": 0.85,
  "max_roll_deg": 3.0,
  "max_tilt_rad": 0.1,
  "max_speed_m_s": 0.02,
  "max_angular_speed_rad_s": 0.15,
  "hold_steps": 50,
  "fail_tilt_rad": 0.6,
  "below_support_m": 0.01,
  "workspace": {
   "min": [
    0.2,
    -0.45,
    0.6
   ],
   "max": [
    0.76,
    0.45,
    1.3
   ]
  },
  "fall_speed_m_s": 0.2
 },
 "start": [
  0.5,
  0.0,
  0.72
 ],
 "initial_targets": {
  "sharpa": {
   "SHOULDER_PITCH_L_J1_target": 1.6559220649629909,
   "SHOULDER_ROLL_L_J2_target": 0.7825148449457775,
   "ELBOW_PITCH_L_J3_target": -1.4056268738853603,
   "ELBOW_YAW_L_J4_target": -2.2101338300542035,
   "WRIST_PITCH_L_J5_target": -0.828278006671139,
   "WRIST_YAW_L_J6_target": 0.3364949787986437,
   "WRIST_ROLL_L_J7_target": -0.9094516705293015,
   "SHOULDER_PITCH_R_J1_target": -1.6541914268113553,
   "SHOULDER_ROLL_R_J2_target": 0.7749699117970009,
   "ELBOW_PITCH_R_J3_target": 1.407408953369677,
   "ELBOW_YAW_R_J4_target": -2.2098813302174145,
   "WRIST_PITCH_R_J5_target": 0.8222198111517985,
   "WRIST_YAW_R_J6_target": 0.34136707717156045,
   "WRIST_ROLL_R_J7_target": 0.9146964574221651
  },
  "wuji": {
   "SHOULDER_PITCH_L_J1_target": 1.6559220649629909,
   "SHOULDER_ROLL_L_J2_target": 0.7825148449457775,
   "ELBOW_PITCH_L_J3_target": -1.4056268738853603,
   "ELBOW_YAW_L_J4_target": -2.2101338300542035,
   "WRIST_PITCH_L_J5_target": -0.828278006671139,
   "WRIST_YAW_L_J6_target": 0.3364949787986437,
   "WRIST_ROLL_L_J7_target": -0.9094516705293015,
   "SHOULDER_PITCH_R_J1_target": -1.6541914268113553,
   "SHOULDER_ROLL_R_J2_target": 0.7749699117970009,
   "ELBOW_PITCH_R_J3_target": 1.407408953369677,
   "ELBOW_YAW_R_J4_target": -2.2098813302174145,
   "WRIST_PITCH_R_J5_target": 0.8222198111517985,
   "WRIST_YAW_R_J6_target": 0.34136707717156045,
   "WRIST_ROLL_R_J7_target": 0.9146964574221651
  }
 }
}