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

Sort the blocks by colour (Unitree G1, fixed pelvis, Pink IK) — standard mode

The task of embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged, on the same frozen scene. You drive a Unitree G1 humanoid with three-finger hands, its pelvis fixed, its arms and waist under EmbodiedSWE's Pink IK, as if it were real hardware: the simulator runs in a service you cannot open, and you get its client, one episode and no reset. The client's docstring is its manual (/opt/tools/rcb_client.py); r.spec() gives the numbers.

The task

3 coloured wooden blocks (45 mm cubes) lie scattered on a work table: 1 red, 1 blue, 1 green. On the table are 3 marked coloured zones, one per colour (red and blue and green). Goal: sort every block into the zone whose colour matches it — put each block fully onto its matching-colour zone. A block left off the zones, or placed on the wrong colour's zone, does not count.

Success, exactly: each of the three 45 mm blocks (red, blue, green) has its centre within 55 mm horizontally of the centre of its own colour's zone, its centre height within 20 mm of resting on the table (table top 0.70 m + 22.5 mm, i.e. between 0.7025 and 0.7425 m), and moves slower than 0.05 m/s. The zone centres judged are this episode's, in the world frame: red (-0.1130, -0.3295) m, blue (-0.0143, -0.3168) m, green (0.1234, -0.3211) m; the coloured mats are drawn at (-0.11, -0.33), (0, -0.33) and (0.11, -0.33) m, so a judged centre is up to 20 mm off its mat's centre [scene._zones: the nominal zone_pos shifted by up to +/-15 mm per axis at reset]. Not true at the start (blocks lie behind the zones).

This robot

  • Action: ee_pose only, 28 values: the world poses of the left and right wrist_yaw_link (x y z qw qx qy qz each), then 14 hand joint targets (rad). Rows are streamed at the 60 Hz control rate with your dt; spec["action_types"]["ee_pose"] has the layout, the controller and the joint limits. Coordinates are the simulator's world frame (metres, z up; spec["world"]).
  • Cameras (RGB 640×480, depth on request): overview (static) and head (on the torso, where the real G1 carries its depth camera). One call returns at most 240 images (max_frames_per_call, PROTOCOL §3 "Images per call": cameras × the frames captured, the first, one every round(60 / video_fps) control steps and the last, a per-frame depth one more image; video="none" captures only the first and the last); a larger request is refused (400) before anything runs. A call that names no cameras gets overview, head at 3 frames per second, so every call up to max_chunk_s / max_watch_s fits.
  • The episode ends after the first call at whose end the success condition holds (judged on the live simulator), when your time is up, on a simulator error, or after 400,000 control steps (1.9 h of simulated time, reason step_guard); it is graded as it stands then. Simulated time advances only inside your calls.
  • The service answers one request at a time: while a long call runs, every other request waits, so a client-side timeout means "busy", not "crashed".
  • Leave your scripts in /app/output/ for the record.

External material

You may install packages you need (pip, apt), and you may read anything installed in your container, the simulator's and this benchmark's own source code included. Please solve the task yourself: do not search the web for, or download, a ready-made solution to it, such as published or reference solutions, recorded demonstrations, or policies trained for it. This is an honour rule; trials are reviewed. The network reaches your model's API and the package registries (PyPI, Debian / Ubuntu archives) only.

Resources

Your container: 8 CPUs, 24 GiB of memory, 1024 processes and threads and 10 GiB of disk (new files under /app, /tmp and /root). Your container has no GPU. The simulator runs in its own container and does not count against these. CPU only slows you down; a process that goes over any other cap can be killed. Usage and caps: /run/rcb-limits/usage.json.

Time limit

You have 14400 seconds to complete this task. Do not cheat by using online solutions or hints specific to this task.

This is wall-clock time from the start of your session; the time you wait for the simulator service counts. When it is up you are stopped without warning and the episode is graded as it stands at that moment. The service's time_left_s counts the same limit from your first request to the service, so it never runs out before your time does: your real time left is time_left_s minus the time you spent before that request. Plan by it. Your session started when you received this task. /run/rcb-limits/usage.json, rewritten every few seconds, gives the time left on this limit (time_left_s) and its end (deadline_utc), counted from a little before your session started, so it never gives you more time than you have: read it (or run date) before you decide that time is short, never guess. Waiting counts too: a tool call that sends input to a process that keeps running (an interactive interpreter, a simulator loop, a server) can wait for the whole wait or yield time you give it even when the answer is printed at once, so give such calls a short wait and poll again if the output is not complete, or run one-shot scripts that exit when they are done. Installing packages is not cheating (## External material above).