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.3 KB
Raw Blame
{
 "preset": "puzzle.coffee.franka.osc",
 "grader": "grader/coffee_service.py",
 "title": "Make and serve a capsule coffee (Franka, operational-space control)",
 "text": "A capsule coffee machine (0.17 x 0.64 x 0.40 m: a brew tower in front, its water tank behind) stands on a sturdy table with its spout facing -y. On its top: a SLIDING pod-bay cover with a raised grip ridge at its front edge (slide it toward the spout side to open — about 12 cm of travel), and behind the cover a green-capped START key that presses straight DOWN. Under the spout: a built-in cup platform. A green run lamp sits on the top's front rim. On the serving tray to the right: an empty green mug and a coffee capsule (burgundy dome, silver flange).\nThe machine runs itself by strict rules: it only brews with the cover CLOSED, a capsule seated in the bay, and the mug standing centred under the spout (within 5 cm of its axis) — otherwise START refuses. The brew then runs ~5 s while the run lamp glows and coffee streams into the mug; sliding the cover open mid-brew ABORTS it, and so does removing the mug (a spill) — start over. Pressing START mid-brew stops it. When the brew completes, the mug is filled — its contents turn dark.\nDo the full service: open the bay, drop the capsule in, close the bay, stage the mug, press START, WAIT out the brew, then set the filled mug back down upright on the serving tray.\nGoal: the mug filled by a completed brew and resting on the tray. The cover ridge, the capsule and the mug rim hold in a firm pinch: close the fingers across them and the grip locks; open wide to release.",
 "success": "Success, exactly: a brew has completed at some point in the run — after START was accepted (cover closed, capsule seated, mug under the spout), 600 physics substeps (5.0 s) elapsed with the cover never more than 10 mm open and the mug never leaving the spout spot (centre within 50 mm horizontally of the spout axis, bottom within 20 mm of the cup platform top, tilt <= 20 deg) and without a second START press — and now the green mug stands on the serving tray: centre within 159 mm horizontally of the tray centre, mug axis within 20 deg of vertical, mug bottom within 15 mm of the tray dish floor (20 mm above the table top), mug moving slower than 0.05 m/s. Not true at the start."
}