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.
embodied-olympics juggling-feet — instance i00
You control a simulated Unitree G1 humanoid robot (29 joints, 1.32 m tall, 33 kg; the Embodied Olympics simulator on MuJoCo) via Python. Task: Juggle the football with your feet: drop it from between your palms and keep it in the air for ten foot touches in a row, each one sending the ball up above your knees, without it touching the ground or any other part of you.
This is a fixed instance: the same venue and start every time. You may reset and retry as many times as you want. Your deliverable is one replayable trajectory, not a general policy.
The venue
You stand on level grass in the middle of a 5.0 m x 5.0 m grid marked by white lines, facing along one side. Your upper arms hang, your forearms point forward and are turned so that the palms face each other; the ball is pressed between them, its centre about 0.85 m above the ground and 0.33 m ahead of your pelvis. The start command keeps that squeeze (the joint table's start angles are where the arms stand with the ball between the palms; the command is a little further in: the difference is the squeeze).
Frame: metres; the origin is on the floor under your pelvis at the start, +x is the way you face at the start, +y is to your left, +z is up; the floor is z = 0.
The rules
Rule book: Ontario Soccer, OPDL Player Technical Benchmark Exercises (2015): Ball Mastery, juggled on the instep (the exercise list's 'one attempt on each instep', the warm-up's 'instep right juggling' and 'instep left juggling'): the ball starts in the hands, the player works in a 5 m x 5 m grid and has 60 seconds, the maximum number of consecutive juggles is recorded, and the ground, another surface or stepping out of the grid stops the count; the test sets no pass mark, so the family's standard is 10 consecutive foot juggles (the first milestone of youth juggling ladders and the standard of the existing juggling family). IFAB Laws of the Game 2025/26 for the ball (Law 2: size 5, 68-70 cm round, 410-450 g) and for handling (Law 12: the hand or the arm). Where this task departs from it:
- The test's either-instep attempts are one attempt here in which either foot may play, in any order.
- The foot is the robot's ankle-roll link, the shoe-like part below the ankle joint: its sole, its top (the instep and laces), its sides, toe and heel; the robot has no separate toes and no laces, so the whole part counts. The G1's collision hull of the lower leg is wider and deeper than its shin and covers the instep: a ball lying on the top of the foot touches it. A contact with the lower leg's hull therefore counts as the foot where its point lies over the foot (between 0.08 m behind and 0.15 m ahead of the ankle joint along the foot) and at most 0.12 m above the ankle joint (measured along the foot's up direction: where the ball's equator is when it lies on the instep, plus 1 cm); a contact higher up the leg is the shin, the knee or the thigh: another surface, which the test's count does not allow.
- A counter's eye is replaced by numbers: contacts less than 0.05 s apart are one touch, a touch may last at most 0.05 s (a juggle is a strike, the ball may not rest, be cushioned or be balanced on the foot; a real instep kick's contact lasts about 0.01 s, Nunome et al. 2006, J. Sports Sci. 24: 11-22, and the robot's strikes last 0.011-0.013 s), and a touch counts when the ball's centre has then risen at least 0.22 m (one ball diameter) above where it was when the touch began and the whole ball has risen above the robot's knee height (0.36 m above the ground standing), before anything touches it again.
- A juggle is a strike: so that a ball that merely bounces off a still foot is not juggling, a touch must send the ball off with at least 0.95 of the speed it arrived with (a still foot returns at most the ball's own restitution, 0.85, and a raised leg held by its motors about 0.55); a touch that does not is not counted, and is not a fault.
- The ball's contact with the foot keeps the ball's own restitution (0.85, from the rule book's drop test): the robot's foot is rigid, like the metal pendulum with which Andersen, Kristensen and Sorensen (Football Science 5: 45-50, 2008) measured 0.82, and the compliance of a human foot and ankle (whose kicks they and earlier studies measured at 0.45-0.65) is here the compliance of the robot's own joints: a raised leg held by its motors returns about 0.55 of the ball's speed.
- The ball starts pressed between the robot's two open palms in front of its hips (the robot has flat palm pads, no fingers and no grip): only the arms' squeeze and friction hold it, and it slips out when they press too little. The drop is the hands' own movement (the palms parting); a referee's eye for 'the ball has left the hand' is replaced by a number: the ball touches no part of the robot for 0.03 s, and the drop is the end of its last contact. Before the drop only the hands may touch the ball (a ball held against the body, an arm or a leg is not in the hand). The palm pads' contact with the ball is that of a ball on a human hand (a ball thrown at a still palm keeps 0.10 of its speed, as a volleyball dropped onto a supported, relaxed hand does: Ivanova, ISBS 2000); every other contact keeps the ball's rule-book rebound. No wind.
A size-5 football (0.22 m across, 0.43 kg, in air) starts pressed between your two open palms; you stand in the middle of a square grid 5.0 m on each side, marked on the grass. Your hands have no fingers and no grip (the grip columns of the action rows do nothing in this task): only the squeeze of your arms and friction hold the ball, and it slips out when they press too little. Until the drop only your hands (the palm pads and the wrists) may touch the ball. The drop: the ball has touched no part of you for 0.03 s; it is the end of the ball's last contact with a hand. A hand or an arm may still be in contact with the ball for 0.15 s after the drop (the ball leaving the hand); after that a hand or an arm on the ball is a handball. From the drop on, only your feet may touch the ball: a foot is the part below the ankle joint (sole, instep, sides, toe and heel); a contact with your lower leg also counts as the foot where it lies over the foot (from 0.08 m behind to 0.15 m ahead of the ankle joint along the foot) and no more than 0.12 m above the ankle joint (along the foot's up direction), because your leg's collision shape covers the instep; the leg above that (shin, knee, thigh), the trunk, the head and the arms are other surfaces. A touch is a contact of the ball with a foot (contacts less than 0.05 s apart are one touch). It counts when, before anything touches the ball again, the ball's centre has risen at least 0.22 m above the height it had when the touch began and the whole ball (its lowest point) has risen above 0.36 m, your knee height; and when the ball left the touch with at least 0.95 of the speed it had when the touch began (both taken at the height where the touch began): a ball that only bounces off a still foot leaves slower, and such a touch is not counted, and is not a fault. You succeed at the moment the tenth touch counts. You fail if the ball touches the ground (before the drop too), if a part of you other than the hands touches it before the drop, if a hand or an arm touches it later than 0.15 s after the drop, or at all while a foot touches it or before a foot's touch has counted or been judged a bounce, if any part of you other than a foot touches it, if both feet touch it at once (the ball trapped), if one touch lasts longer than 0.05 s (the ball resting, rolling or balanced on a foot), if the ball is touched again before a touch has counted or been judged a bounce, if a foot (its ankle) leaves the grid, if you fall (your pelvis lower than 0.35 m above the ground, or any part of you other than the feet on the ground; standing on one foot is not a fall), or after 60 s.
A referee decides this from the simulator's state after every physics step (1 ms): the events that must happen, in
order, are touch 1 → touch 2 → touch 3 → touch 4 → touch 5 → touch 6 → touch 7 → touch 8 → touch 9 → touch 10. The attempt ends at the success (that moment is the success), at the first rule violation,
or after 60 s (6000 control steps). s.status() shows the referee's record at any time:
stages, failed (the rule that ended the attempt), metrics, events.
Deliverable
Leave three files under /app/output/. Only the first is scored; the other two are how a human reads your work
afterwards, so keep them short and factual.
| file | what goes in it |
|---|---|
trajectory.npz |
the trajectory, written with s.save_trajectory() (below): actions, one sim row of 151 floats per control step. Replayed open-loop from the frozen start in two fresh processes, one row per control step until the referee ends the attempt; scored 1 if both replays succeed and end in the same state, else 0. The rows must reach the success: when they run out the attempt is judged as it stands. At most 6000 rows are used; every one of them must be finite, also those after the attempt's end (a file with a NaN or an infinite value scores 0) |
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, the approaches that failed and what each told you, and what you downloaded or installed, if anything |
The tooling also appends its own log, rcb_session_log.jsonl, to /app/output/: leave it there and do not set
RCB_SESSION_LOG.
Write trajectory.npz as soon as you have any trajectory at all, and overwrite it (with gen.py and NOTES.md to
match) whenever you have a better one. The time limit (## Time limit) ends without warning; a run
that ends with no file scores zero. Do not stop early: keep improving until the time is up.
Tooling (already installed; run python from any directory)
from rcb_rfo import Session
s = Session() # /app/instance.json; under a second
s.action_types # every action type: dim, layout, lower, upper, meaning (table below)
typ, row = s.hold() # the row that keeps the command in force with zero velocity (stand still)
done = s.step("walk", row) # one control step (10 ms) of one row; True once the attempt is over
s.rows # the sim rows of every step since the last reset: what save_trajectory() writes
s.status() # the referee: success, done, failed, stages, progress, metrics, events
s.state() # privileged state: pelvis (x, y, z, yaw), centre of mass, joints, the palms,
# what each hand holds, and the task's objects under "task"
s.world # everything: s.world.m, s.world.d (MuJoCo model and data), s.world.robot
# (addresses, limits), s.world.ref (the referee), s.world.task (the rules)
s.image("head_left") # a camera's RGB image (270 x 480; the cameras: `head_left`, `head_right`, `venue`)
s.proprio() # the robot's own sensors as one row (s.ep.proprio_layout)
s.reset() # back to the frozen start (unlimited, instant); clears s.rows
s.replay() # what the verifier does with s.rows, here, in a fresh world
s.save_trajectory() # writes the SCORED file /app/output/trajectory.npz from s.rows
The simulator is deterministic on the CPU: the same rows from the frozen start give the same state, so a trajectory you
generate closed-loop (reading s.state(), s.world) replays exactly. python /opt/tools/rcb_rfo.py replay --instance /app/instance.json --traj /app/output/trajectory.npz --out /tmp/r.json runs the verifier's replay from the shell. The
world's source is in /opt/tools/rfo/ (the robot and action layer world.py, the referee's toolkit referee.py) and
this task's rules, as code, in /opt/tools/rfo_task.py; the robot library (model, meshes, limits, the walking and
running policies' weights) is in /opt/roboolympics/. You may build your own copies of the world to plan or learn in.
Actions
One row is one control step (10 ms; the physics runs at 1 kHz). Every row ends with grip_left, grip_right.
| type | row (then grip_left, grip_right) |
floats | who drives what |
|---|---|---|---|
stand |
waist 3 + arms 14 joint targets | 19 | the platform holds the legs in the stance; you give the waist's 3 and the arms' 14 joint targets (rad) |
walk |
vx, vy, wz + waist 3 + arms 14 joint targets |
22 | Unitree's walking policy drives the legs from the velocity command (vx forward, vy to the left, m/s; wz turning left, rad/s; the robot's own frame); you give the waist and arm joint targets |
run |
vx, vy, wz |
5 | the running policy drives all 29 joints from the velocity command (it swings the arms) |
run_arms |
vx, vy, wz + arms 14 joint targets |
19 | the running policy drives the legs and the waist; you give the 14 arm joint targets |
joints |
all 29 joint targets | 31 | you give all 29 joint targets (rad); the default PD gains, no feed-forward |
lowcmd |
all 29 joints × (q, dq, tau, kp, kd): 29 targets, then 29 velocities, 29 torques, 29 kp, 29 kd |
147 | Unitree's LowCmd for all 29 joints: position targets (rad), velocity targets (rad/s), feed-forward torques (N m), kp, kd; the motor torque is kp (q - q_measured) + kd (dq - dq_measured) + tau, evaluated at 1 kHz |
walk_falcon |
vx, vy, wz + waist 3 + arms 14 joint targets (as walk) |
22 | FALCON's walking policy (LeCAR-Lab, trained with arm motions and forces on the hands; it also nudges the wrists) drives the legs from the velocity command (vx forward, vy to the left, m/s; wz turning left, rad/s; the robot's own frame); you give the waist and arm joint targets |
walk_agile |
vx, vy, wz + waist 3 + arms 14 joint targets (as walk) |
22 | AGILE's velocity-height walking policy (NVIDIA WBC-AGILE, trained while the arms and the waist moved) drives the legs from the velocity command (vx forward, vy to the left, m/s; wz turning left, rad/s; the robot's own frame); you give the waist and arm joint targets |
Velocity commands are in the robot's own frame (vx forward, vy to its left, m/s; wz turning left, rad/s). Bounds: walk |vx| ≤ 0.8, |vy| ≤ 0.5, |wz| ≤ 1.57; walk_falcon -0.8 ≤ vx ≤ 0.8, -0.5 ≤ vy ≤ 0.5, -1 ≤ wz ≤ 1; walk_agile -0.5 ≤ vx ≤ 0.8, -0.5 ≤ vy ≤ 0.5, -1 ≤ wz ≤ 1; run and run_arms 0 ≤ vx ≤ 5, |vy| ≤ 0.12, |wz| ≤ 0.5. Joint targets are absolute angles (rad). Values outside the bounds are clipped. grip_left, grip_right: ≥ 0.5 closes the hand's grip, < 0.5 opens it. At the start the robot is in stand mode, but not with the arms at rest (the venue text says how it starts): the joint table's last column has the angles in force. The stand row that keeps the start as it is: [0, 0, 0, -0.0309, -0.0352, -0.0438, 0.2274, -1.5483, -0.0591, -0.1964, -0.0309, 0.0351, 0.0438, 0.2273, 1.5483, -0.0591, 0.1964, 0, 0] (s.hold() returns it); a stand row with other angles or grips moves the arms or lets go.
Joint order everywhere (Unitree's SDK order), with each joint's range, speed limit, torque limit and default gains:
| # | joint | range (rad) | speed (rad/s) | torque (N m) | kp | kd | at the start (rad) |
|---|---|---|---|---|---|---|---|
| 0 | left_hip_pitch |
[-2.5307, 2.8798] | 32 | 88 | 700 | 12 | -0.1 |
| 1 | left_hip_roll |
[-0.5236, 2.9671] | 20 | 139 | 700 | 12 | 0 |
| 2 | left_hip_yaw |
[-2.7576, 2.7576] | 32 | 88 | 500 | 8 | 0 |
| 3 | left_knee |
[-0.0873, 2.8798] | 20 | 139 | 900 | 15 | 0.3 |
| 4 | left_ankle_pitch |
[-0.8727, 0.5236] | 37 | 50 | 300 | 6 | -0.2 |
| 5 | left_ankle_roll |
[-0.2618, 0.2618] | 37 | 50 | 300 | 6 | 0 |
| 6 | right_hip_pitch |
[-2.5307, 2.8798] | 32 | 88 | 700 | 12 | -0.1 |
| 7 | right_hip_roll |
[-2.9671, 0.5236] | 20 | 139 | 700 | 12 | 0 |
| 8 | right_hip_yaw |
[-2.7576, 2.7576] | 32 | 88 | 500 | 8 | 0 |
| 9 | right_knee |
[-0.0873, 2.8798] | 20 | 139 | 900 | 15 | 0.3 |
| 10 | right_ankle_pitch |
[-0.8727, 0.5236] | 37 | 50 | 300 | 6 | -0.2 |
| 11 | right_ankle_roll |
[-0.2618, 0.2618] | 37 | 50 | 300 | 6 | 0 |
| 12 | waist_yaw |
[-2.618, 2.618] | 32 | 88 | 400 | 10 | 0 |
| 13 | waist_roll |
[-0.52, 0.52] | 37 | 50 | 400 | 10 | 0 |
| 14 | waist_pitch |
[-0.52, 0.52] | 37 | 50 | 400 | 10 | 0 |
| 15 | left_shoulder_pitch |
[-3.0892, 2.6704] | 37 | 25 | 300 | 6 | -0.0309 |
| 16 | left_shoulder_roll |
[-1.5882, 2.2515] | 37 | 25 | 300 | 6 | -0.0352 |
| 17 | left_shoulder_yaw |
[-2.618, 2.618] | 37 | 25 | 300 | 6 | -0.0438 |
| 18 | left_elbow |
[-1.0472, 2.0944] | 37 | 25 | 300 | 6 | 0.2274 |
| 19 | left_wrist_roll |
[-1.9722, 1.9722] | 37 | 25 | 100 | 2 | -1.5483 |
| 20 | left_wrist_pitch |
[-1.6144, 1.6144] | 22 | 5 | 60 | 1 | -0.0591 |
| 21 | left_wrist_yaw |
[-1.6144, 1.6144] | 22 | 5 | 60 | 1 | -0.1964 |
| 22 | right_shoulder_pitch |
[-3.0892, 2.6704] | 37 | 25 | 300 | 6 | -0.0309 |
| 23 | right_shoulder_roll |
[-2.2515, 1.5882] | 37 | 25 | 300 | 6 | 0.0351 |
| 24 | right_shoulder_yaw |
[-2.618, 2.618] | 37 | 25 | 300 | 6 | 0.0438 |
| 25 | right_elbow |
[-1.0472, 2.0944] | 37 | 25 | 300 | 6 | 0.2273 |
| 26 | right_wrist_roll |
[-1.9722, 1.9722] | 37 | 25 | 100 | 2 | 1.5483 |
| 27 | right_wrist_pitch |
[-1.6144, 1.6144] | 22 | 5 | 60 | 1 | -0.0591 |
| 28 | right_wrist_yaw |
[-1.6144, 1.6144] | 22 | 5 | 60 | 1 | 0.1964 |
What the platform does and does not do for you:
standholds the legs at the standing pose with stiff gains and a gravity-support torque. It is not a balance controller: it does not step and it has no feedback. After an arm movement the body sways a few centimetres for a few seconds; a hard or fast swing of the arms, a push or a load can tip the robot over within a second or two.walkruns Unitree's own G1 walking policy (50 Hz) on the legs. At the largest forward command (0.8) it walks at about 0.6 m/s;vyup to 0.5 andwzup to 1.57 rad/s; it follows with lag and barely moves in its first second. At a zero command it marks time on the spot (the pelvis sways and drifts a centimetre or two per second) and recovers from small disturbances, whichstanddoes not. When the legs come to it from another mode it first blends them to the stance (0.3 s) and holds a zero command until the robot is steady (up to 2 s). It was trained with the arms at rest: moving the arms and the waist disturbs it.walk_falconandwalk_agileare two more walking policies for the G1's legs, with the same row aswalk(you keep the waist and the arms): FALCON (LeCAR-Lab, MIT; trained with arm motions and forces on the hands) and AGILE's velocity-height policy (NVIDIA WBC-AGILE, Apache-2.0; trained while the arms and the waist moved), the released weights run in numpy at 50 Hz on their own leg gains (kp 100 / 100 / 100 / 200 / 20 / 20 per leg). Both hold still and follow the command better thanwalkwhile the arms move or carry something; FALCON also adds a small correction to the wrists. FALCON zeroes speeds below 0.2 m/s and turns below 0.2 rad/s and stands with the pelvis at about 0.74 m; AGILE zeroes commands of norm below 0.1, stands lower (about 0.68 m) and barely turns on the spot below about 0.7 rad/s (walking at 0.2 m/s or more it turns as asked). Their command ranges are in the action table. A walker takes the legs at once, from where they are (its memory starts afresh);walk, the other walker andruntake them from it the same way. Going from a walker straight tostandusually ends in a fall (standholds Unitree's stance and does not balance): givewalka zero command for about 2 s first.runruns Embodied Olympics' athletics running policy (50 Hz) on all 29 joints:vxfrom 0 to about 4 m/s (it falls above that; the command changes at most 1.5 m/s per second),|vy|≤ 0.12 m/s,|wz|≤ 0.5 rad/s.run_armsgives you the arms while it keeps the legs and the waist; taking the arms away from its swing disturbs it. Switching tostand,walkorjointsabove about 0.6 m/s usually ends in a fall: slow down first (from 2.4 m/s that takes about 2 s and 2.3 m).joints/lowcmdare yours: each motor's torque iskp (q − q_measured) + kd (dq − dq_measured) + tau, evaluated at 1 kHz with your row held for its 10 ms, then limited by the motor's torque-speed curve and torque limit.jointsuses the default gains of the table and zerodqandtau;lowcmdtakes yours (kp up to 1000 / 500 / 400 and kd up to 20 / 15 / 10 for legs / waist / arms). Nothing balances the robot in these modes but your own targets.- Every joint target is clipped into the joint's range and moves at most the joint's speed limit × 10 ms per step
from the target in force. Joints a type does not name keep their targets. The speed limit is a limit on targets;
what bounds the joint itself is the motor's torque-speed curve (a
lowcmdfeed-forward torque can turn a joint up to about 1.15 times that speed, where the motor's torque has fallen to zero). - The hands have no working fingers here; each carries a fist pad (a box of 4.4 × 8 × 10 cm beyond the wrist, the
10 cm along the forearm). Nothing in this task is grippable:
grip_leftandgrip_righthave no effect. - A tool on a hand (a racket, a paddle, a club; where the task has one) is fixed to the wrist in place of the pad. It collides with the world, the ball and the rest of your own body.
- The air is real: balls and implements feel drag and, when they spin, lift.
- If the physics diverges (a numerical blow-up, typically from a violent joint command), the attempt ends as a failure: "the simulation became unstable".
External material
The network is open. You may install packages (pip, apt), and you may search for, download and use public tools, robot models and pretrained controllers (for example a published Unitree G1 walking, jumping or whole-body policy): finding existing work and adapting it to this robot is encouraged. Say in your notes what you used. You may read anything installed in your container, this benchmark's own source code included. The one thing not to look up is a ready-made solution to this exact task, such as this benchmark's reference solutions. This is an honour rule; trials are reviewed.
Resources
Your container: 8 CPUs, 16 GiB of memory, 1024 processes and threads and 10 GiB of disk (new files under /app, /tmp and /root). Your container has no GPU. 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 7200 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).