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.
toilet — i15 — PRIVILEGED MODE
You control a simulated adult human body in a furnished house (HumanCLAW: Habitat-Sim with Half-Physics, an HSSD scene). The body moves only by motion skills: walk, turn, side step, step back, steps up or down, sit, and stop. Task (HumanCLAW's own words): Find the toilet and move until your body is touching the target, with zero distance to the target object. Finally, sit on the toilet.
Scoring
HumanCLAW's InteractSR: the episode ends with a stop, after at least one sit, and the pelvis touches the toilet's mesh on the last frame of the last motion (any toilet in the scene counts). Ending without a stop (running out of the 100 actions) fails.
Actions
An action is a row [action_id, value]:
| id | action | value |
|---|---|---|
| 0 | walk forward | stride in m: 0.2, 0.4 or 0.6 (nothing else) |
| 1 | stop | 0. Ends the episode: you declare you are done. Only a stop can succeed |
| 2 | turn in place | signed degrees, + left (counter-clockwise seen from above), - right; |value| clamped to [10, 120]; 0 is refused |
| 3 | climb up one step | 0 |
| 4 | sit down | target pelvis height in m, clamped to [0.15, 0.85] |
| 5 | step back | m, clamped to [0.10, 0.60] |
| 6 | side step | signed m, + left, - right; |value| clamped to [0.10, 0.50]; 0 is refused |
| 7 | walk down one step | 0 |
Each action except stop is one 0.5 s motion of the whole body (15 frames at 30 Hz), generated by HumanCLAW's motion model and played out under physics: the body ends up close to, not exactly at, what was asked, and it can bump into furniture (which can move). An episode allows 100 actions, the stop included: the 100th action ends it whatever it is.
Deliverable
Leave three files under /app/output/. Only the first is scored.
| file | what goes in it |
|---|---|
trajectory.npz |
actions: a float array (T, 2), T <= 100, the episode's actions in order (Env.save() writes it). The verifier replays it from the frozen start twice, each time in a fresh process, and scores 1 iff both replays succeed under the rule above and end in the same state |
gen.py |
the script that produced it; it must run and reproduce trajectory.npz, reading nothing but /app/instance.json and files under /app/output/ |
NOTES.md |
at most 20 lines: your final approach and why it works, and what you tried that failed |
Write trajectory.npz as soon as you have any trajectory, and overwrite it whenever you have a better one: the
time limit ends without warning.
Tooling (already installed; python from any directory)
from hc_tools import Env
env = Env() # the frozen episode, on the GPU (~30 s to build)
env.step(0, 0.4) # one action; returns env.state()
env.state() # position, heading_deg, pelvis_rise_m, actions_used/left, done, success,
# body_target_distance_m, sits_so_far, pelvis_touches_target
env.targets() # the target objects' centres and bounding boxes, the rule
env.shortest_path([x, y, z], agent_radius=0.35) # Habitat navmesh path from the body to a point
# (agent_radius: a navmesh for a wider body; the default is narrow)
env.rgb() # the head camera's image
env.reset() # back to the frozen start (a fresh simulator), any number of times
env.save("/app/output/trajectory.npz")
python /opt/tools/hc_tools.py replay /app/output/trajectory.npz runs what the verifier runs (add --video out.mp4 to watch it). The motion model's noise is seeded at every reset, so the same actions from the start give
the same episode on this machine's GPU (the verifier replays here); check it with two replays. The source of every module is in /opt/humanclaw/src/humanclaw_bench
and /opt/tools.
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: 6 CPUs, 8 GiB of memory, 1024 processes and threads, 10 GiB of disk (new files under /app, /tmp and /root) and one GPU, 8 GiB of its memory. 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 3600 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 a simulator takes to start counts. When it is up you are stopped without warning and only what is in /app/output/ at that moment is graded, so save a deliverable as soon as you have one and overwrite it whenever you have a better one. 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).