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.
Python ai-agentsbenchmarkcoding-agentsembodied-aievaluationharborllm-agentsrobot-learningroboticssimulation
EmbodiedSWE: 24 standard twins (all set) (#510)
Kangrui Wangec1b2426a0b3
diff --git a/README.md b/README.mdindex 7313a507e4..4bee116912 100644--- a/README.md+++ b/README.md@@ -88,7 +88,7 @@ Nine of the suites were written for this exam:### Before you run- **Host:** Linux x86_64 with git, [uv](https://docs.astral.sh/uv/) (it fetches a Python 3.12-3.14 for Harbor if needed) and Docker Engine with Compose v2 and BuildKit (the `buildx` plugin). Without Docker, e.g. on a Slurm cluster: rootless podman with `-e podman` ([docs/protocol/running.md](docs/protocol/running.md#without-docker-rootless-podman-eg-a-slurm-cluster)).-- **GPU:** the NVIDIA driver and the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) for every task that uses a GPU. An RTX-class GPU (with RT cores; not A100 or H100): AM-Bench, BEHAVIOR-1K, iSpatialGym, LabUtopia, ManiGuard, RoboARC, RoboDojo, RoboLab, YAMLab. Any NVIDIA GPU: ABC Sim, BiGym 2.0, DexToolBench, MolmoSpaces, Panda Dynamic Scenes, RoboPaint, RoboTwin 2.0, RoboWits. Some tasks: Embodied Olympics - Fun, Embodied Olympics - Match, HumanoidBench, KinDER, MuJoCo Playground, MyoSuite, roboEngineer. No GPU: AutoBio, DexHand, DexJoCo, Embodied Safety Exam, LIBERO-MAX, MetaWorld+, RoboCasa, RoboCasa-GR1, RoboCasa365, VLABench.+- **GPU:** the NVIDIA driver and the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html) for every task that uses a GPU. An RTX-class GPU (with RT cores; not A100 or H100): AM-Bench, BEHAVIOR-1K, EmbodiedSWE, iSpatialGym, LabUtopia, ManiGuard, RoboARC, RoboDojo, RoboLab, YAMLab. Any NVIDIA GPU: ABC Sim, BiGym 2.0, DexToolBench, MolmoSpaces, Panda Dynamic Scenes, RoboPaint, RoboTwin 2.0, RoboWits. Some tasks: Embodied Olympics - Fun, Embodied Olympics - Match, HumanoidBench, KinDER, MuJoCo Playground, MyoSuite, roboEngineer. No GPU: AutoBio, DexHand, DexJoCo, Embodied Safety Exam, LIBERO-MAX, MetaWorld+, RoboCasa, RoboCasa-GR1, RoboCasa365, VLABench.- **Disk:** a benchmark's public images take 1-30 GB, pulled on its first run; a benchmark that builds its image needs the free disk its row below states.- **API keys** for the agent's model in `.env` (step 1), or a subscription (step 3).@@ -141,7 +141,7 @@ harbor run -d embodied-first-exam --privileged -a codex -m openai/gpt-6-astra``````bash-# every task: 2224 task dirs (1137 tasks in their modes, 34 benchmarks)+# every task: 2272 task dirs (1161 tasks in their modes, 35 benchmarks)harbor run -d embodied-first-exam@all -a codex -m openai/gpt-6-astra```diff --git a/ci_checks/check-tooling-identity.sh b/ci_checks/check-tooling-identity.shindex 412d234d68..4ee51d694a 100755--- a/ci_checks/check-tooling-identity.sh+++ b/ci_checks/check-tooling-identity.sh@@ -1,6 +1,6 @@#!/usr/bin/env bash# Shared-source rules (PROTOCOL §1: copies of shared sources are byte-identical). Two parts:-# 1. BEHAVIOR-1K, RoboLab, RoboWits, ManiGuard, MolmoSpaces, MyoSuite, DexJoCo, DexHand, RoboARC, BiGym 2.0, YAMLab, RoboDojo, Panda Dynamic Scenes, AM-Bench, LabUtopia and AutoBio: within one benchmark (RoboARC's IKEA suite, roboarc-ikea-*, is a group of its own), every mode, every copy of a shared file is byte-identical+# 1. BEHAVIOR-1K, RoboLab, RoboWits, ManiGuard, MolmoSpaces, MyoSuite, DexJoCo, DexHand, RoboARC, BiGym 2.0, YAMLab, RoboDojo, Panda Dynamic Scenes, AM-Bench, LabUtopia, AutoBio and EmbodiedSWE: within one benchmark (RoboARC's IKEA suite, roboarc-ikea-*, is a group of its own), every mode, every copy of a shared file is byte-identical# (one source per benchmark, copied unchanged):# - the tooling module rcb_<sim>.py wherever it sits (privileged environment/ and tests/, standard environment/sim/);# - the standard agent side environment/rcb_client.py + rcb1.py and the sim service environment/sim/ (server.py,@@ -13,7 +13,7 @@# A change to one of them is rolled out to every task of the benchmark at once. Same approach as ci_checks/benchmarks/robopaint/advisory-tooling.sh.# Tasks the benchmark's own exporter wrote (task.toml [metadata] exporter: Embodied Olympics, PROTOCOL §3) are a group of their own,# one per exporter and [metadata] skill_in_loop.-# 2. The eai-standard/2.2 layer (every task whose metadata.protocol is 2.2: BEHAVIOR, RoboLab, RoboWits, RoboPaint, MolmoSpaces, MyoSuite, DexJoCo, DexHand, YAMLab, RoboDojo, LabUtopia, AutoBio): the+# 2. The eai-standard/2.2 layer (every task whose metadata.protocol is 2.2: BEHAVIOR, RoboLab, RoboWits, RoboPaint, MolmoSpaces, MyoSuite, DexJoCo, DexHand, YAMLab, RoboDojo, LabUtopia, AutoBio, EmbodiedSWE): the# agent's client environment/rcb_client.py + rcb1.py and the service's environment/sim/rcb_limited.py + rcb1.py +# run.sh are byte-identical to their source in embodied_first_exam/standard/ (docs/protocol/standard_mode.md), and the sidecar is# set up for crash recovery: `command: sh /srv/run.sh` (run.sh exits non-zero when the service crashes) and@@ -49,7 +49,8 @@ MODULE = {"behavior": "rcb_behavior.py", "robolab": "rcb_robolab.py", "robowits""pandadyn": "rcb_pandadyn.py","ambench": "rcb_ambench.py", "ispatialgym": "rcb_ispatialgym.py","roboarc-ikea": "rcb_ikea.py", # RoboARC's IKEA suite (roboarc-ikea-*)- "ese": "rcb_ese.py"} # ese-: Embodied Safety Exam+ "ese": "rcb_ese.py", # ese-: Embodied Safety Exam+ "embodiedswe": "rcb_embodiedswe.py"}SHARED = {"environment/rcb_client.py", "environment/rcb1.py", "environment/sim/server.py", "environment/sim/finalize.sh","environment/sim/run.sh", "environment/sim/rcb1.py", "environment/sim/rcb_limited.py", "tests/grade.py"}LAYER = {"environment/rcb_client.py": "rcb_client.py", "environment/rcb1.py": "rcb1.py", "environment/sim/rcb_limited.py": "rcb_limited.py",diff --git a/ci_checks/check-unit-tests.sh b/ci_checks/check-unit-tests.shindex 97a86795a0..623c8b19a6 100755--- a/ci_checks/check-unit-tests.sh+++ b/ci_checks/check-unit-tests.sh@@ -1,7 +1,8 @@#!/usr/bin/env bash# Unit tests of the repository's shared tooling, in two tiers.# 1. Standard library only: the runner's helpers (scripts/tests/), the usage gateway's raw log and budget stop, the-# runner's lane stop and infra rules (account_failure_check.py --selftest).+# runner's lane stop and infra rules (account_failure_check.py --selftest), and the EmbodiedSWE grader's rollout limit+# (a request outlasting it is a graded timeout, not infra; needs Landlock, skipped with a note otherwise).# 2. numpy + requests (no simulator, no image, no GPU): the eai-standard/2.2 and 2.4 layers' selftests on a stub# simulator (embodied_first_exam/standard/), the 2.1 service's first-attempt record on a toy simulator (v2_1/), and# the per-call image budget of the 2.1, 2.2 and 2.3 layers (frames_selftest.py). Run when both modules can be imported, skipped with a note otherwise;@@ -38,6 +39,7 @@ for t in scripts/usage_gateway/tests/test_rawlog.py scripts/usage_gateway/tests/run 300 "$t"donerun 120 scripts/account_failure_check.py --selftest+run 120 embodied_first_exam/benchmarks/embodiedswe/rollout_limit_selftest.pyif python3 -c "import numpy, requests" 2>/dev/null; thenexport PATH="$(dirname "$(command -v python3)"):$PATH" # run.sh starts `python`: the same interpreterfor t in embodied_first_exam/standard/selftest.py embodied_first_exam/standard/v2_4/selftest.py \diff --git a/ci_checks/ci_scope.py b/ci_checks/ci_scope.pyindex 87c78bd0fd..1210a4b755 100755--- a/ci_checks/ci_scope.py+++ b/ci_checks/ci_scope.py@@ -79,7 +79,7 @@ UNITS: dict[str, list[str]] = {"roboEngineer": ["images/control-transfer/", "images/quadrotor-landing/"],"ABC Sim": _own("abc-sim"),"Embodied Safety Exam": _own("ese"),- "EmbodiedSWE": _own("embodiedswe"),+ "EmbodiedSWE": _own("embodiedswe", "images/embodiedswe-standard-files/"),}HAND_UNITS = {k: list(v) for k, v in UNITS.items()} # the rows above, before the conventional paths below are added# images/ directories every benchmark builds on: a change to one runs the full suite (no unit owns it)diff --git a/docs/TAXONOMY.md b/docs/TAXONOMY.mdindex ab0377cc9d..d5cae99035 100644--- a/docs/TAXONOMY.md+++ b/docs/TAXONOMY.md@@ -5,7 +5,7 @@ Known values; a new value is added by pull request. See [protocol/README.md](pro| Field | Values ||---|---|| `task_type` | `trajectory` · `policy` |-| `protocol` | standard and standard-realtime modes only; the benchmarks that serve each value (generated: `python3 scripts/task_conventions.py taxonomy --write`). Standard: `eai-standard/2.1` (RoboTwin 2.0, DexToolBench, MuJoCo Playground (some tasks), KinDER, HumanoidBench, MetaWorld+, VLABench, RoboCasa-GR1, RoboCasa, RoboCasa365, LIBERO-MAX, BiGym 2.0, Embodied Olympics - Fun, Embodied Safety Exam, Panda Dynamic Scenes) · `eai-standard/2.2` (MuJoCo Playground (some tasks), RoboWits, RoboPaint, RoboLab, BEHAVIOR-1K, ManiGuard, MolmoSpaces, MyoSuite, DexJoCo, DexHand, YAMLab, RoboDojo, AM-Bench, iSpatialGym, LabUtopia, AutoBio, ABC Sim) · `eai-standard/2.4` (the operations capability: RoboARC) · `eai-policy/1.0` (a benchmark's own runtime: roboEngineer (some tasks)) · `eai-policy/1.1` (a benchmark's own runtime: roboEngineer (some tasks)) · `eai-standard-turn/1.0` (a benchmark's own runtime: Embodied Olympics - Match). Standard-realtime: `eai-standard/2.3` (MuJoCo Playground, HumanoidBench, MyoSuite, RoboCasa365, BiGym 2.0, Embodied Olympics - Fun, Embodied Safety Exam, Panda Dynamic Scenes, ABC Sim) · `eai-standard-realtime/1.0` (a benchmark's own runtime: Embodied Olympics - Match). The `eai-standard` versions are specified in [protocol/standard_mode.md](protocol/standard_mode.md); a benchmark's own runtime names its protocol (PROTOCOL §3) |+| `protocol` | standard and standard-realtime modes only; the benchmarks that serve each value (generated: `python3 scripts/task_conventions.py taxonomy --write`). Standard: `eai-standard/2.1` (RoboTwin 2.0, DexToolBench, MuJoCo Playground (some tasks), KinDER, HumanoidBench, MetaWorld+, VLABench, RoboCasa-GR1, RoboCasa, RoboCasa365, LIBERO-MAX, BiGym 2.0, Embodied Olympics - Fun, Embodied Safety Exam, Panda Dynamic Scenes) · `eai-standard/2.2` (MuJoCo Playground (some tasks), RoboWits, RoboPaint, RoboLab, BEHAVIOR-1K, ManiGuard, MolmoSpaces, MyoSuite, DexJoCo, DexHand, YAMLab, RoboDojo, AM-Bench, iSpatialGym, LabUtopia, AutoBio, ABC Sim, EmbodiedSWE) · `eai-standard/2.4` (the operations capability: RoboARC) · `eai-policy/1.0` (a benchmark's own runtime: roboEngineer (some tasks)) · `eai-policy/1.1` (a benchmark's own runtime: roboEngineer (some tasks)) · `eai-standard-turn/1.0` (a benchmark's own runtime: Embodied Olympics - Match). Standard-realtime: `eai-standard/2.3` (MuJoCo Playground, HumanoidBench, MyoSuite, RoboCasa365, BiGym 2.0, Embodied Olympics - Fun, Embodied Safety Exam, Panda Dynamic Scenes, ABC Sim) · `eai-standard-realtime/1.0` (a benchmark's own runtime: Embodied Olympics - Match). The `eai-standard` versions are specified in [protocol/standard_mode.md](protocol/standard_mode.md); a benchmark's own runtime names its protocol (PROTOCOL §3) || `simulator` | `robosuite` · `robotwin` (RoboTwin 2.0 = SAPIEN 3 + CuRobo) · `mujoco` · `kinder` (KinDER: MuJoCo and PyBullet) · `humanoidbench` (HumanoidBench: MuJoCo + dm_control) · `robowits` (RoboWits on Genesis) · `robolab` (NVIDIA RoboLab on Isaac Lab) · `behavior` (BEHAVIOR-1K: OmniGibson on Isaac Sim) · `maniskill` (ManiSkill 3 / SAPIEN: RoboPaint; Panda Dynamic Scenes, ManiSkill 3.0.1 / SAPIEN 3.0.3 with CPU PhysX at 1000 Hz) · `vlabench` (VLABench: MuJoCo + dm_control) · `maniguard` (ManiGuard: BEHAVIOR-1K 3.7.2, OmniGibson on Isaac Sim 4.5) · `molmospaces` (Ai2 MolmoSpaces: MuJoCo) · `myosuite` (MyoSuite: musculoskeletal models on MuJoCo) · `dexjoco` (DexJoCo: MuJoCo 3.4 + its gymnasium envs) · `bigym2` (BiGym 2.0: MuJoCo 3.8.1 with NVIDIA's GR00T-WBC lower-body policy in every step) · `roboarc` (RoboARC: MuJoCo 3.14.0, CPU float64, with the blanket cloth on a deterministic CUDA step; Nyx RGB) · `yamlab` (YAMLab on Isaac Lab / Isaac Sim 5.1, PhysX on the CPU) · `robodojo` (RoboDojo's simulation benchmark: its Isaac Lab 2.3 fork on Isaac Sim 5.1, PhysX with GPU dynamics, cuRobo IK) · `ambench` (AM-Bench: aerial manipulation on Isaac Lab / Isaac Sim 5.1, PhysX on the GPU, Pyroki floating-base IK, AM-Bench's multirotor controllers) · `ispatialgym` (iSpatialGym: its fork of BEHAVIOR-1K's OmniGibson on Isaac Sim 5.1, CPU PhysX) · `labutopia` (LabUtopia on Isaac Sim 6.1, CPU PhysX) · `autobio` (AutoBio: MuJoCo 3.3 with AutoBio's own thread, detent and liquid-surface mechanisms) · `embodiedswe` (EmbodiedSWE's robobench on Isaac Lab 2.3.2 / Isaac Sim 5.1, PhysX on the GPU). The simulator, not the image: benchmarks on one simulator may use different images and versions || `robot` | `franka-panda` · `aloha-agilex` · `aloha-2` (ALOHA 2, MuJoCo Menagerie: MuJoCo Playground, RoboARC (its IKEA suite's svallet too); AutoBio's own model) · `kuka-iiwa14-sharpa-ha4` · `tidybot-plus-plus` · `unitree-h1` · `unitree-h1hand` (H1 with two Shadow hands) · `sawyer` (Rethink Robotics Sawyer, as in Meta-World) · `marvin-bimanual` (RoboWits) · `franka-robotiq-2f85` (a Franka arm with a Robotiq 2F-85, the DROID setup: RoboLab, MolmoSpaces' FR3, RoboARC's Panda) · `ur5e-robotiq-2f85` (a UR5e with a Robotiq 2F-85; Embodied Safety Exam, AutoBio) · `r1pro` (BEHAVIOR-1K, iSpatialGym) · `franka-panda-omron` (RoboCasa's PandaOmron: Franka Panda on an Omron mobile base with a lift torso) · `fourier-gr1` (Fourier GR1 humanoid: two arms, waist and two Fourier dexterous hands, fixed base; RoboCasa-GR1) · `franka-panda-longfinger` (ManiGuard: Franka Panda with long fin-ray fingers) · `rainbow-rby1` (Rainbow Robotics RB-Y1: holonomic base, 6-joint torso, two 7-joint arms with parallel grippers; MolmoSpaces) · `myohand` (MyoSuite's MyoHand: a musculoskeletal human forearm and hand, 39 muscles) · `myoarm` (MyoSuite's MyoArm: a musculoskeletal human shoulder, arm and hand, 34 or 63 muscles) · `myoarm-torso` (MyoSuite's table-tennis player: torso, right arm and hand on a sliding pelvis) · `myoarm-mpl` (MyoSuite's MyoArm next to the Modular Prosthetic Limb, a motorized arm) · `myolegs` (MyoSuite's MyoLegs: a free-standing musculoskeletal torso and both legs) · `myoleg-osl` (MyoSuite's MyoLeg with an Open-Source Leg knee-ankle prosthesis) · `unitree-go1` (Unitree Go1 quadruped; MuJoCo Playground) · `boston-dynamics-spot` (Boston Dynamics Spot quadruped; MuJoCo Playground) · `google-barkour-vb` (Google Barkour vB quadruped; MuJoCo Playground) · `franka-allegro` (Franka Panda with a 16-DoF Allegro hand; DexJoCo) · `franka-allegro-bimanual` (two of them side by side; DexJoCo) · `franka-panda-bimanual` (two stock Franka Panda (FER) arms with their standard hands at one table, each with a rigid task tool on its hand where the task has one; Panda Dynamic Scenes; RoboARC's IKEA suite: MuJoCo Menagerie's Panda with its hand) · `sharpa-wave-floating` (a Sharpa Wave 22-DoF five-finger hand on a six-DoF actuated wrist stage, no arm; DexHand) · `marvin-bimanual-sharpa-wave` (two Tianji Marvin 7-joint arms on a fixed stand with a Sharpa Wave hand on each wrist; DexHand) · `sharpa-wave-floating-bimanual` (two Sharpa Wave 22-DoF hands, the right one genuine and the left its declared mirror image, each on its own six-DoF actuated wrist stage, no arms; DexHand) · `unitree-g1` (Unitree G1 29-DoF humanoid with its rubber hands, a switchable grip on each palm; Embodied Olympics' robot library with Unitree's limits and motor curves) · `unitree-h1-2` (Unitree H1-2, the adult-size 27-DoF humanoid, with the same grip; Embodied Olympics' tasks whose official venue needs an adult-size body) · `booster-t1`, `ssl-robot`, `foosball-rods` (the players of Embodied Olympics' exported soccer, wheeled-soccer and foosball matches) · `unitree-g1-dex1` (Unitree G1 29-DoF humanoid with Dex1-1 two-finger grippers; legs and waist driven by GR00T-WBC; BiGym 2.0) · `unitree-g1-dex3` (Unitree G1 29-DoF humanoid with Unitree's Dex3-1 three-finger hands, Isaac Lab's `G1_29DOF_CFG`; EmbodiedSWE: a fixed pelvis, or walking under a frozen locomotion policy) · `i2rt-yam-bimanual` (two I2RT YAM arms, 6 joints each, with parallel two-finger grippers on a workstation table; YAMLab) · `arx-x5-bimanual` (two ARX X5 arms, 6 joints each, with parallel two-finger grippers at a table; RoboDojo) · `ambench-fahexa` (AM-Bench's fully actuated hexarotor, six tilted rotors, carrying a 4-joint arm (three pitch joints, a roll joint) with a two-finger gripper) · `intel-aero-partial` (an Intel Aero quadrotor, partly calibrated, with the Neural Lander residual; roboEngineer) · `neural-fly-partial` (the Neural Fly airframe, approximated as a symmetric X quadrotor; roboEngineer) · `anycar` (the AnyCar 1/10 racing car: contact wheels, suspension, steering; roboEngineer) · `unitree-go2` (Unitree Go2 quadruped, MuJoCo Menagerie; roboEngineer) · `aloha-2-arm` (one arm of ALOHA 2 with its parallel gripper, fixed to a bench; AutoBio, whose two-arm tasks use `aloha-2`) · `ur5e-dexhand-2f85-bimanual` (two UR5e arms, one with a DexHand021 dexterous hand that holds a pipette, one with a Robotiq 2F-85; AutoBio) || `family` | free-form slug naming the scene/goal, shared by its instances (e.g. `stack_blocks_two`, `dextoolbench/brush/blue_brush/sweep_forward`) |diff --git a/embodied_first_exam/benchmarks/embodiedswe/rcb_embodiedswe.py b/embodied_first_exam/benchmarks/embodiedswe/rcb_embodiedswe.pyindex 473243549c..b09a5de969 100644--- a/embodied_first_exam/benchmarks/embodiedswe/rcb_embodiedswe.py+++ b/embodied_first_exam/benchmarks/embodiedswe/rcb_embodiedswe.py@@ -789,23 +789,42 @@ def run_solution(env, solution: Path, work: Path, on_step, deadline: float, log_time.sleep(0.2)threading.Thread(target=watchdog, daemon=True).start()t0 = None++ def ended(exc) -> None:+ """The solution's side of the pipe is gone: at the time limit (the watchdog killed it, or TERM) that is the+ rollout's timeout, a graded end like any other; otherwise the process ended by itself."""+ late = timer_fired.is_set() or TERM.is_set() or time.monotonic() > deadline+ out["solve_status"] = "timeout" if late else "process_ended"+ out["solve_error"] = None if late else f"connection: {exc}"++ def reply(msg) -> bool:+ """Answer the solution; False (and the end recorded) when it can no longer be answered: a solution killed at+ the time limit while its request was being served leaves a broken pipe, never a grader error."""+ try:+ wire.send(msg)+ return True+ except (BrokenPipeError, ConnectionError, OSError) as exc:+ ended(exc)+ return False+try:- wire.send({"op": "hello", "root": srv.handle_of(env), "protocol": "esw-proxy/1", "scratch": str(scratch)})- while True:+ ok = reply({"op": "hello", "root": srv.handle_of(env), "protocol": "esw-proxy/1", "scratch": str(scratch)})+ while ok:try:req = wire.recv()except (EOFError, ValueError, OSError) as exc:- out["solve_status"] = "timeout" if timer_fired.is_set() else "process_ended"- out["solve_error"] = None if timer_fired.is_set() else f"connection: {exc}"+ ended(exc)breakif not isinstance(req, dict):- wire.send({"error": "malformed request", "kind": "ValueError"})+ if not reply({"error": "malformed request", "kind": "ValueError"}):+ breakcontinueop = req.get("op")if op == "loaded":t0 = time.monotonic()out["load_s"] = round(t0 - t_start, 3)- wire.send({"value": None})+ if not reply({"value": None}):+ breakcontinueif op == "done":if req.get("sandbox_failed"):@@ -818,21 +837,24 @@ def run_solution(env, solution: Path, work: Path, on_step, deadline: float, log_breaktry:v = srv.handle(req)- wire.send({"value": v if op != "step" else None})+ msg = {"value": v if op != "step" else None}except StopRollout as exc:out["solve_status"] = str(exc)- wire.send({"error": str(exc), "kind": "RuntimeError", "stop": True})+ reply({"error": str(exc), "kind": "RuntimeError", "stop": True})+ out["solve_status"] = str(exc) # the step cap stands even if the answer cannot be sentbreakexcept (Refused, PermissionError) as exc:srv.n_refused += 1if len(srv.refusals) < 50:srv.refusals.append(f"{req.get('op')}:{req.get('name', '')}: {exc}"[:300])- wire.send({"error": str(exc), "kind": "PermissionError"})+ msg = {"error": str(exc), "kind": "PermissionError"}except Exception as exc: # noqa: BLE001 — the solve's error (a bad attribute, a bad index) is its own- wire.send({"error": f"{type(exc).__name__}: {exc}"[:4000], "kind": type(exc).__name__})+ msg = {"error": f"{type(exc).__name__}: {exc}"[:4000], "kind": type(exc).__name__}if time.monotonic() > deadline or TERM.is_set():out["solve_status"] = "timeout"break+ if not reply(msg):+ breakfinally:try:os.killpg(proc.pid, signal.SIGKILL)diff --git a/embodied_first_exam/benchmarks/embodiedswe/rollout_limit_selftest.py b/embodied_first_exam/benchmarks/embodiedswe/rollout_limit_selftest.pynew file mode 100644index 0000000000..c26d2e40df--- /dev/null+++ b/embodied_first_exam/benchmarks/embodiedswe/rollout_limit_selftest.py@@ -0,0 +1,88 @@+"""Self-test (CPU, no simulator): a solution still being served when the rollout limit passes is a graded timeout.++rcb_embodiedswe.run_solution serves the solution process over two pipes; at the deadline its watchdog kills the+process. A request still being answered then (a long env.step) used to end in BrokenPipeError on the reply, which the+rollout reported as the verifier's error (infra_error). Here a stand-in env whose step outlasts a 3 s limit checks+that run_solution returns solve_status "timeout" instead of raising, and that a solution that returns in time still+reports "returned". Needs Linux with Landlock ABI >= 4 (the solution's sandbox); otherwise it says so and passes.++ python3 embodied_first_exam/benchmarks/embodiedswe/rollout_limit_selftest.py+"""+from __future__ import annotations+import os+import subprocess+import sys+import tempfile+import time+from pathlib import Path++HERE = Path(__file__).resolve().parent+sys.path.insert(0, str(HERE))+os.environ.setdefault("ESW_BENCH_ROOT", "/nonexistent") # no robobench here: the stand-in server needs none+import esw_proxy # noqa: E402+import rcb_embodiedswe as R # noqa: E402+++class FakeServer:+ """The trusted side's request handler, without robobench: the env has one method, step, which sleeps `step_s`."""++ def __init__(self, env, on_step):+ self.env, self.on_step = env, on_step+ self.n_requests = self.n_refused = 0+ self.refusals: list = []++ def handle_of(self, obj) -> dict:+ return {"__h__": 0, "type": "BaseEnv", "callable": False}++ def handle(self, req: dict):+ self.n_requests += 1+ if req.get("op") == "step":+ return self.on_step(req.get("action"))+ raise R.Refused(f"not in this test: {req.get('op')}")+++def run(step_s: float, limit_s: float) -> dict:+ with tempfile.TemporaryDirectory() as d:+ d = Path(d)+ (d / "sol").mkdir()+ (d / "sol" / "solve.py").write_text("def solve(env):\n env.step([0.0])\n")+ R.Server = FakeServer+ return R.run_solution(object(), d / "sol", d / "work", lambda a: time.sleep(step_s),+ time.monotonic() + limit_s, d / "solve.log")+++def sandboxed_python() -> str | None:+ """An interpreter the solution's sandbox can read (its stdlib under one of esw_proxy.READ_TREES), or None."""+ for exe in (sys.executable, "/usr/bin/python3"):+ try:+ prefix = subprocess.run([exe, "-I", "-c", "import sys; print(sys.base_prefix)"], capture_output=True,+ text=True, timeout=30).stdout.strip()+ except OSError:+ continue+ if prefix and any(prefix == t or prefix.startswith(t + "/") for t in esw_proxy.READ_TREES):+ return exe+ return None+++def main() -> int:+ if not sys.platform.startswith("linux") or esw_proxy.landlock_abi() < esw_proxy.LANDLOCK_ABI_MIN:+ print("ok rollout limit: skipped (no Landlock ABI >= %d on this kernel)" % esw_proxy.LANDLOCK_ABI_MIN)+ return 0+ exe = sandboxed_python()+ if exe is None:+ print("ok rollout limit: skipped (no python whose stdlib the solution sandbox can read)")+ return 0+ sys.executable = exe # run_solution starts the sandboxed proxy with sys.executable+ t = time.monotonic()+ late = run(step_s=6.0, limit_s=3.0) # the step outlasts the limit: the solution is killed mid-request+ assert late["solve_status"] == "timeout", late+ assert late.get("solve_error") is None, late+ assert time.monotonic() - t < 30, "run_solution did not return promptly"+ ok = run(step_s=0.1, limit_s=60.0) # in time: returned+ assert ok["solve_status"] == "returned", ok+ print("ok rollout limit: a request outlasting the limit -> timeout (no broken pipe), in time -> returned")+ return 0+++if __name__ == "__main__":+ sys.exit(main())diff --git a/embodied_first_exam/benchmarks/embodiedswe/sim/esw_std.py b/embodied_first_exam/benchmarks/embodiedswe/sim/esw_std.pynew file mode 100644index 0000000000..9714a9496e--- /dev/null+++ b/embodied_first_exam/benchmarks/embodiedswe/sim/esw_std.py@@ -0,0 +1,768 @@+"""EmbodiedSWE standard mode: the robot side of the `sim` service (server.py). One class per kind of robot in the 24+tasks, all built on EmbodiedSWE's own env (rcb_embodiedswe.build: the preset, the seed, GPU PhysX):++- FrankaRig: one or two Franka Pandas under EmbodiedSWE's operational-space control (osc). An `ee_pose` row per arm is+ the pose target of the OSC's own control body (panda_hand) in the world frame plus the two finger position targets.+ Each control step turns the target in force into EmbodiedSWE's native OSC action (6 pose deltas in action units ++ 2 fingers) so that the target the controller latches IS the row's pose: the delta is (target - measured pose) /+ pos_scale (rot_scale), and the controller's own action smoothing (an EMA) is inverted with its own buffer. The torque+ law, its gains and its 100 N m clamp are EmbodiedSWE's, unchanged.+- G1Rig: the Unitree G1 with Dex3 hands under Pink IK (pink_ik: pelvis fixed; loco_pink_ik: walking, a frozen+ locomotion policy). The `ee_pose` row is EmbodiedSWE's native action: the two wrist poses (world frame), the 14 hand+ joint targets, and in loco mode the base command [vx, vy, wz, hip_height].++Each rig gives the service: the action layout and its interpolation, the native action for one control step, the+proprioception row (measured joints, velocities, efforts, tool poses, gripper openings), robot_spec, and a stateless+kinematic model (/kinematics: pinocchio on the kinematics URDF the robot's own Pink IK uses) whose frames are checked+against the simulator's link poses at start-up. Cameras (Cameras): the views EmbodiedSWE itself declares (the scene's+CAMERAS, its room's overview camera, the Franka's wrist camera) and, for the G1, which declares none, the real robot's+head camera mount; created right before the env's one sim.reset() so the frozen start state is unchanged."""+from __future__ import annotations++import math+import os++import numpy as np++W, H = 640, 480 # every camera's resolution (EmbodiedSWE's replay / VLA default)+G1_HEAD = {"link": "torso_link", "xyz": (0.0576235, 0.01753, 0.42987), "rpy": (0.0, 0.8307767, 0.0), "focal": 16.0}+FRANKA_TCP_Z = 0.1034 # panda_hand -> the centre between the fingertips, along the approach axis (m)+EE_BOX_M = 3.0 # an ee_pose position further than this from the robot's base on any axis is a 400+BENCH = os.environ.get("ESW_BENCH_ROOT", "/opt/embodiedswe")+++# ---------------------------------------------------------------- small math (wxyz quaternions)+def qnorm(q):+ q = np.asarray(q, dtype=np.float64)+ return q / max(1e-12, float(np.linalg.norm(q)))+++def qmul(a, b):+ w1, x1, y1, z1 = a; w2, x2, y2, z2 = b+ return np.array([w1 * w2 - x1 * x2 - y1 * y2 - z1 * z2, w1 * x2 + x1 * w2 + y1 * z2 - z1 * y2,+ w1 * y2 - x1 * z2 + y1 * w2 + z1 * x2, w1 * z2 + x1 * y2 - y1 * x2 + z1 * w2])+++def qconj(q):+ return np.array([q[0], -q[1], -q[2], -q[3]])+++def q2R(q):+ w, x, y, z = qnorm(q)+ return np.array([[1 - 2 * (y * y + z * z), 2 * (x * y - w * z), 2 * (x * z + w * y)],+ [2 * (x * y + w * z), 1 - 2 * (x * x + z * z), 2 * (y * z - w * x)],+ [2 * (x * z - w * y), 2 * (y * z + w * x), 1 - 2 * (x * x + y * y)]])+++def R2q(R):+ R = np.asarray(R, dtype=np.float64); t = np.trace(R)+ if t > 0:+ s = math.sqrt(t + 1.0) * 2; q = [0.25 * s, (R[2, 1] - R[1, 2]) / s, (R[0, 2] - R[2, 0]) / s, (R[1, 0] - R[0, 1]) / s]+ elif R[0, 0] > R[1, 1] and R[0, 0] > R[2, 2]:+ s = math.sqrt(1.0 + R[0, 0] - R[1, 1] - R[2, 2]) * 2; q = [(R[2, 1] - R[1, 2]) / s, 0.25 * s, (R[0, 1] + R[1, 0]) / s, (R[0, 2] + R[2, 0]) / s]+ elif R[1, 1] > R[2, 2]:+ s = math.sqrt(1.0 + R[1, 1] - R[0, 0] - R[2, 2]) * 2; q = [(R[0, 2] - R[2, 0]) / s, (R[0, 1] + R[1, 0]) / s, 0.25 * s, (R[1, 2] + R[2, 1]) / s]+ else:+ s = math.sqrt(1.0 + R[2, 2] - R[0, 0] - R[1, 1]) * 2; q = [(R[1, 0] - R[0, 1]) / s, (R[0, 2] + R[2, 0]) / s, (R[1, 2] + R[2, 1]) / s, 0.25 * s]+ q = qnorm(q)+ return q if q[0] >= 0 else -q+++def T_of(p, q):+ T = np.eye(4); T[:3, :3] = q2R(q); T[:3, 3] = p+ return T+++def pose_of(T):+ return list(np.asarray(T[:3, 3], dtype=np.float64)) + list(R2q(T[:3, :3]))+++def axis_angle(q):+ """The rotation vector (axis * angle, angle in [0, pi]) of a wxyz quaternion."""+ q = qnorm(q)+ if q[0] < 0:+ q = -q+ s = float(np.linalg.norm(q[1:])); ang = 2.0 * math.atan2(s, q[0])+ return np.zeros(3) if s < 1e-12 else q[1:] / s * ang+++def slerp(a, b, t):+ a, b = qnorm(a), qnorm(b); d = float(np.dot(a, b))+ if d < 0:+ b, d = -b, -d+ if d > 0.9995:+ return qnorm(a + t * (b - a))+ th = math.acos(d)+ return (math.sin((1 - t) * th) * a + math.sin(t * th) * b) / math.sin(th)+++def rpy2q(r, p, y):+ cr, sr, cp, sp, cy, sy = math.cos(r / 2), math.sin(r / 2), math.cos(p / 2), math.sin(p / 2), math.cos(y / 2), math.sin(y / 2)+ return np.array([cr * cp * cy + sr * sp * sy, sr * cp * cy - cr * sp * sy, cr * sp * cy + sr * cp * sy, cr * cp * sy - sr * sp * cy])+++def lookat_q(eye, target):+ """EmbodiedSWE's own look-at (data_engine/engine/replay.py _lookat_quat): +x forward, +z up, wxyz."""+ f = np.asarray(target, dtype=np.float64) - np.asarray(eye, dtype=np.float64); f = f / max(1e-9, float(np.linalg.norm(f)))+ up = np.array([0.0, 0.0, 1.0]); left = np.cross(up, f)+ if np.linalg.norm(left) < 1e-6:+ left = np.array([0.0, 1.0, 0.0])+ left = left / np.linalg.norm(left); u = np.cross(f, left)+ return R2q(np.stack([f, left, u], axis=1))+++def t2np(x):+ return x.detach().to("cpu").double().numpy()+++# ---------------------------------------------------------------- pinocchio models+class Chain:+ """A stateless kinematic model (pinocchio) of one robot's kinematics URDF. `frames` maps exposed names to URDF frame+ names (+ an optional fixed offset), all relative to `base_frame`; `joints` are the URDF joints the request's q sets+ (others stay 0)."""++ def __init__(self, urdf: str, base_frame: str, frames: dict, joints: list, ik_joints: list):+ import pinocchio as pin+ self.pin = pin+ self.m = pin.buildModelFromUrdf(urdf); self.d = self.m.createData()+ self.base = self.m.getFrameId(base_frame)+ self.frames = {k: (self.m.getFrameId(v[0]), v[1]) for k, v in frames.items()}+ for k, (fid, _) in self.frames.items():+ if fid >= len(self.m.frames):+ raise RuntimeError(f"kinematics: frame {frames[k][0]} not in {urdf}")+ self.joints = list(joints)+ miss = [j for j in joints if not self.m.existJointName(j)]+ if miss:+ raise RuntimeError(f"kinematics: joints {miss} not in {urdf}")+ self.qidx = [self.m.idx_qs[self.m.getJointId(j)] for j in joints]+ self.vidx = [self.m.idx_vs[self.m.getJointId(j)] for j in joints]+ self.ik_cols = [self.joints.index(j) for j in ik_joints]+ self.lo = np.array([self.m.lowerPositionLimit[i] for i in self.qidx]); self.hi = np.array([self.m.upperPositionLimit[i] for i in self.qidx])++ def _q(self, q):+ full = self.pin.neutral(self.m)+ for i, v in zip(self.qidx, q):+ full[i] = v+ return full++ def fk(self, q, names=None) -> dict:+ pin = self.pin+ pin.framesForwardKinematics(self.m, self.d, self._q(q))+ Tb_inv = np.linalg.inv(self.d.oMf[self.base].homogeneous)+ out = {}+ for k in (names or self.frames):+ fid, off = self.frames[k]+ T = Tb_inv @ self.d.oMf[fid].homogeneous+ if off is not None:+ T = T @ off+ out[k] = T+ return out++ def ik(self, targets: dict, seed, tol_p=1e-4, tol_r=1e-3, iters=300):+ """Damped least squares over the ik joints; targets {name: 4x4 in the base frame}. -> (q, {name: (pos_err, rot_err)})."""+ pin = self.pin+ q = np.array(seed, dtype=np.float64)+ cols = self.ik_cols+ for _ in range(int(iters)):+ full = self._q(q)+ pin.computeJointJacobians(self.m, self.d, full); pin.framesForwardKinematics(self.m, self.d, full)+ Tb = self.d.oMf[self.base].homogeneous; Rb = Tb[:3, :3]+ errs, Js, rep = [], [], {}+ for k, Tt in targets.items():+ fid, off = self.frames[k]+ Tf = np.linalg.inv(Tb) @ self.d.oMf[fid].homogeneous+ Tc = Tf @ off if off is not None else Tf+ ep = Tt[:3, 3] - Tc[:3, 3]+ er = axis_angle(R2q(Tt[:3, :3] @ Tc[:3, :3].T))+ rep[k] = (float(np.linalg.norm(ep)), float(np.linalg.norm(er)))+ J = pin.getFrameJacobian(self.m, self.d, fid, pin.ReferenceFrame.LOCAL_WORLD_ALIGNED) # world-aligned at the frame+ if off is not None: # the offset point's linear velocity: v + w x r+ r = Tf[:3, :3] @ off[:3, 3]+ rw = Rb @ r+ J = J.copy(); J[:3] = J[:3] - np.cross(rw, J[3:].T).T+ Jb = np.vstack([Rb.T @ J[:3], Rb.T @ J[3:]]) # into the base frame+ Js.append(Jb[:, [self.vidx[c] for c in cols]]); errs.append(np.concatenate([ep, er]))+ if all(p < tol_p and r < tol_r for p, r in rep.values()):+ return q, rep, True+ J = np.vstack(Js); e = np.concatenate(errs); lam = 1e-4+ dq = J.T @ np.linalg.solve(J @ J.T + lam * np.eye(J.shape[0]), e)+ n = float(np.linalg.norm(dq))+ if n > 0.2:+ dq *= 0.2 / n+ for i, c in enumerate(cols):+ q[c] = float(np.clip(q[c] + dq[i], self.lo[c], self.hi[c]))+ return q, rep, all(p < tol_p * 30 and r < tol_r * 30 for p, r in rep.values())+++# ---------------------------------------------------------------- cameras+GL2CV = np.diag([1.0, -1.0, -1.0, 1.0]) # OpenGL camera axes (x right, y up, z back) <-> OpenCV (x right, y down, z forward)+++class Cameras:+ """The service's cameras: Isaac Lab `Camera` sensors (rgb + z-depth, 640x480), made right before the env's one+ sim.reset(). Static views from EmbodiedSWE's declarations (the scene's CAMERAS at their nominal pose, on the work+ surface; the room's overview camera), aimed once the env exists; robot-mounted views are children of their link."""++ def __init__(self, views: list):+ self.views = views+ self.cams: dict = {}++ def make(self):+ import isaaclab.sim as sim_utils+ from isaaclab.sensors import Camera, CameraCfg+ for v in self.views:+ kw = dict(update_period=0.0, update_latest_camera_pose=True, height=H, width=W, data_types=["rgb", "distance_to_image_plane"],+ spawn=sim_utils.PinholeCameraCfg(focal_length=v["focal"], clipping_range=(0.01, 100.0)))+ if v.get("link_prim"):+ cfg = CameraCfg(prim_path=f"{v['link_prim']}/esw_{v['name']}",+ offset=CameraCfg.OffsetCfg(pos=tuple(v["pos"]), rot=tuple(v["quat"]), convention="world"), **kw)+ else:+ cfg = CameraCfg(prim_path=f"/World/esw_{v['name']}", **kw)+ self.cams[v["name"]] = Camera(cfg)+ return self++ def aim(self, env):+ import torch+ o = t2np(env.iscene.env_origins[0])+ if float(np.max(np.abs(o))) > 1e-9:+ raise RuntimeError(f"env origin {o.tolist()} is not the world origin: the service's frames assume it is")+ for v in self.views:+ if not v.get("link_prim"):+ self.cams[v["name"]].set_world_poses_from_view(torch.tensor([list(v["eye"])], device=env.device, dtype=torch.float32),+ torch.tensor([list(v["target"])], device=env.device, dtype=torch.float32))+++def _find_prim(stage, root: str, name: str) -> str:+ todo = [stage.GetPrimAtPath(root)]+ while todo:+ p = todo.pop(0)+ if not p.IsValid():+ continue+ if p.GetName() == name:+ return str(p.GetPath())+ todo += list(p.GetChildren())+ raise RuntimeError(f"camera mount: no prim {name} under {root}")+++def views_before_reset(scene, robot, room, stage) -> list:+ """EmbodiedSWE's declared views of this preset, read from the env under construction: the scene's CAMERAS+ (nominal pose, relative to the work surface; their randomisation bands are not used), the room's overview camera,+ then the robot's own (the Franka wrist camera robobench declares; the G1, which declares none, gets the real+ robot's head camera mount)."""+ views = []+ sz = float(getattr(getattr(scene, "cfg", None), "surface_z", 0.0) or 0.0)+ decl = getattr(type(scene), "CAMERAS", {}) or {}+ # robobench declares these views on the work surface (its replay adds surface_z), but wheel_carry's are already+ # world heights (their targets sit on its 0.694 m table tops): such declarations are used as they are+ if decl and sz > 0 and min(float(v["target"][2]) for v in decl.values()) >= 0.5 * sz:+ sz = 0.0+ for n, spec in decl.items():+ e, t = spec["eye"], spec["target"]+ views.append({"name": n, "eye": (e[0], e[1], e[2] + sz), "target": (t[0], t[1], t[2] + sz), "focal": float(spec.get("focal", 16.0)),+ "what": "static: EmbodiedSWE's own view of this scene"})+ if isinstance(room, dict) and room.get("camera"):+ views.append({"name": "overview", "eye": tuple(room["camera"][0]), "target": tuple(room["camera"][1]), "focal": 16.0,+ "what": "static: the room's overview of the workspace"})+ kind = type(robot).__name__+ if kind == "G1Robot":+ h = G1_HEAD+ views.append({"name": "head", "link_prim": _find_prim(stage, f"/World/envs/env_0/{robot.prim_name}", h["link"]), "link": h["link"],+ "arm": "", "pos": h["xyz"], "quat": tuple(rpy2q(*h["rpy"])), "focal": h["focal"],+ "what": "on the head (the G1's head camera mount on torso_link), looking forward and down; moves with the torso"})+ else:+ kids = list((getattr(robot, "robots", None) or {}).items()) or [("", robot)]+ for name, k in kids:+ spec = type(k).CAMERAS["wrist"]; pfx = f"{name}_" if name else ""+ views.append({"name": f"{pfx}wrist", "link_prim": _find_prim(stage, f"/World/envs/env_0/{k.prim_name}", spec["link"]),+ "link": spec["link"], "arm": pfx, "pos": tuple(spec["eye"]), "quat": tuple(lookat_q(spec["eye"], spec["target"])),+ "focal": float(spec["focal"]),+ "what": f"on the {name + ' ' if name else ''}gripper (EmbodiedSWE's Franka wrist camera); moves with the hand"})+ return views+++def calibrate(cams: Cameras, rig) -> dict:+ """Per camera: intrinsics, and its mount: a static camera's extrinsics, a mounted one's parent link and the fixed+ link_T_cam_cv, measured from the rendered sensor's pose and the link's pose (the cameras were just rendered)."""+ out = {}+ for v in cams.views:+ c = cams.cams[v["name"]]; d = c.data+ K = t2np(d.intrinsic_matrices[0])+ T = T_of(t2np(d.pos_w[0]), t2np(d.quat_w_ros[0])) # camera -> world, OpenCV axes+ m = {"K": K}+ if v.get("link_prim"):+ body = rig.body_ref(v)+ m["parent_body"] = body+ m["link_T_cv"] = np.linalg.inv(rig.link_T(body)) @ T+ m["mount"] = {"type": "link", "parent_link": v["arm"] + v["link"], "link_T_cam_cv": m["link_T_cv"].tolist()}+ else:+ m["world_T_cv"] = T+ m["mount"] = {"type": "static", "extrinsic_cv": np.linalg.inv(T)[:3].tolist(), "cam2world_gl": (T @ GL2CV).tolist()}+ out[v["name"]] = m+ return out+++# ---------------------------------------------------------------- Franka (one or two arms, osc)+class _Arm:+ def __init__(self, env, robot, prefix: str):+ self.env, self.robot, self.p = env, robot, prefix+ self.art = robot.articulation+ subs = robot.controller.controllers+ self.osc, self.grip = subs[0], subs[1]+ if type(self.osc).__name__ != "OperationalSpaceController":+ raise RuntimeError(f"expected EmbodiedSWE's osc controller, got {type(self.osc).__name__}")+ if getattr(self.osc.cfg, "unidirectional_rot", False):+ raise RuntimeError("unidirectional_rot is not supported by the ee_pose conversion")+ self.arm_ids = list(self.osc.joint_ids); self.finger_ids = list(self.grip.joint_ids)+ self.ee = int(self.osc._ee_idx)+ if self.art.body_names[self.ee] != "panda_hand":+ raise RuntimeError(f"the OSC drives {self.art.body_names[self.ee]}, not panda_hand")+ names = self.art.joint_names+ self.arm_names = [names[i] for i in self.arm_ids]; self.finger_names = [names[i] for i in self.finger_ids]+ self.base_T = T_of(t2np(self.art.data.root_pos_w[0]), t2np(self.art.data.root_quat_w[0]))++ def hand_pose(self):+ d = self.art.data+ return t2np(d.body_pos_w[0, self.ee]), t2np(d.body_quat_w[0, self.ee])++ def native(self, row):+ """9 values (pose target of panda_hand, world, + 2 finger targets) -> the 8-value native action whose latched+ OSC target is exactly that pose (the controller's EMA inverted with its own buffer)."""+ c = self.osc.cfg+ p, q = self.hand_pose()+ tq = qnorm(row[3:7])+ if float(np.dot(tq, q)) < 0:+ tq = -tq+ eff = np.concatenate([(np.asarray(row[0:3]) - p) / c.pos_scale, axis_angle(qmul(tq, qconj(q))) / c.rot_scale])+ if self.osc._prev_action is not None and c.ema_factor < 1.0:+ prev = t2np(self.osc._prev_action[0])+ eff = (eff - (1.0 - c.ema_factor) * prev) / c.ema_factor+ return np.concatenate([eff, np.asarray(row[7:9], dtype=np.float64)])++ def hold(self):+ p, q = self.hand_pose()+ ft = t2np(self.art.data.joint_pos_target[0, self.finger_ids])+ return np.concatenate([p, q, ft])+++class FrankaRig:+ kind = "franka"++ def __init__(self, env):+ self.env = env+ r = env.robot+ kids = list((getattr(r, "robots", None) or {}).items())+ self.arms = [_Arm(env, k, f"{n}_") for n, k in kids] if kids else [_Arm(env, r, "")]+ self.ctrl_hz = 1.0 / (env.dt * r.control_period); self.substeps = int(r.control_period)+ self.native_dim = int(r.action_dim)+ assert self.native_dim == 8 * len(self.arms), (self.native_dim, len(self.arms))+ L = []+ for a in self.arms:+ L += [a.p + k for k in ("x", "y", "z", "qw", "qx", "qy", "qz")] + [a.p + "finger_1", a.p + "finger_2"]+ self.layout = L; self.dim = len(L)+ self.quat_slices = [(9 * i + 3, 9 * i + 7) for i in range(len(self.arms))]+ self.pos_slices = [(9 * i, 9 * i + 3) for i in range(len(self.arms))]+ self.step_cols: list = [] # columns switched at the row (none here)+ urdf = os.path.join(BENCH, "robobench/robots/assets/franka/panda_kinematics.urdf")+ off = np.eye(4); off[2, 3] = FRANKA_TCP_Z+ frames = {f"panda_link{i}": (f"panda_link{i}", None) for i in range(8)}+ frames.update({"panda_hand": ("panda_hand", None), "tcp": ("panda_hand", off)})+ J = [f"panda_joint{i}" for i in range(1, 8)]+ self.chain = Chain(urdf, "panda_link0", frames, J, J)+ self.links = [a.p + f for a in self.arms for f in frames]+ self.tcp_frames = [a.p + "tcp" for a in self.arms]+ self.ee_frames = [a.p + "panda_hand" for a in self.arms]++ # actions+ def native(self, row):+ return np.concatenate([a.native(row[9 * i: 9 * i + 9]) for i, a in enumerate(self.arms)])++ def hold(self):+ return np.concatenate([a.hold() for a in self.arms])++ def check_rows(self, A):+ for ri, row in enumerate(A):+ for i, a in enumerate(self.arms):+ p = row[9 * i: 9 * i + 3]+ if float(np.max(np.abs(p - a.base_T[:3, 3]))) > EE_BOX_M:+ raise ValueError(f"ee_pose row {ri}: {a.p or 'the '}panda_hand position {[round(float(v), 4) for v in p]} is more than "+ f"{EE_BOX_M} m from the arm's base on an axis (metres, world frame)")+ if float(np.linalg.norm(row[9 * i + 3: 9 * i + 7])) < 1e-6:+ raise ValueError(f"ee_pose row {ri}: a quaternion (wxyz) of zero length")++ def body_ref(self, view):+ a = next(x for x in self.arms if x.p == view["arm"])+ return (a, a.art.body_names.index(view["link"]))++ def action_limits(self):+ out = {}+ for i, a in enumerate(self.arms):+ lim = t2np(a.art.data.soft_joint_pos_limits[0, a.finger_ids])+ for j in range(2):+ out[self.layout[9 * i + 7 + j]] = [round(float(lim[j, 0]), 5), round(float(lim[j, 1]), 5)]+ return out++ def controller_text(self):+ c = self.arms[0].osc.cfg+ return (f"EmbodiedSWE's operational-space controller latches that panda_hand pose as its target (its 6-D action = the pose error "+ f"in units of {c.pos_scale} m and {c.rot_scale} rad, its action smoothing inverted) and computes the joint torques toward it "+ f"every physics step (task stiffness {list(c.task_prop_gains)}, a nullspace pull towards the home posture, each torque "+ f"clamped to {c.torque_limit} N m); the two finger targets go to the fingers' position drives. A target far from the hand "+ "is pulled towards at the torque clamp: stream intermediate rows for a controlled motion")++ def after_replay(self, row):+ pass++ def link_T(self, body):+ a, idx = body+ d = a.art.data+ return T_of(t2np(d.body_pos_w[0, idx]), t2np(d.body_quat_w[0, idx]))++ # proprioception+ def proprio_spec(self):+ lay, g = [], {}+ def grp(name, cols, what):+ g[name] = [len(lay), len(cols), what]; lay.extend(cols)+ grp("joint_pos", [a.p + n for a in self.arms for n in a.arm_names + a.finger_names],+ "measured joint positions: panda_joint1..7 (rad), panda_finger_joint1..2 (m)" + (" (left arm, then right)" if len(self.arms) > 1 else ""))+ grp("tcp_pose", [f"{a.p}tcp_{k}" for a in self.arms for k in ("x", "y", "z", "qw", "qx", "qy", "qz")],+ f"measured fingertip-centre pose (panda_hand moved {FRANKA_TCP_Z} m along its approach axis), world frame, wxyz")+ grp("ee_pose", [f"{a.p}hand_{k}" for a in self.arms for k in ("x", "y", "z", "qw", "qx", "qy", "qz")],+ "measured panda_hand pose (the frame ee_pose actions command), world frame, wxyz")+ grp("gripper_opening", [f"{a.p}gripper_opening_m" for a in self.arms], "measured distance between the two finger pads (m), about 0.08 fully open")+ grp("finger_target", [a.p + n + "_target" for a in self.arms for n in a.finger_names], "the finger position targets in force (m)")+ grp("joint_vel", [a.p + n + "_vel" for a in self.arms for n in a.arm_names + a.finger_names], "measured joint velocities (rad/s, m/s)")+ grp("joint_effort", [a.p + n + "_effort" for a in self.arms for n in a.arm_names],+ "the joint torques the operational-space controller applies to panda_joint1..7 (N m, after its clamp)")+ return lay, g++ def proprio(self):+ out = {k: [] for k in ("jp", "tcp", "ee", "op", "ft", "jv", "ef")}+ for a in self.arms:+ d = a.art.data+ ids = a.arm_ids + a.finger_ids+ out["jp"] += list(t2np(d.joint_pos[0, ids])); out["jv"] += list(t2np(d.joint_vel[0, ids]))+ p, q = a.hand_pose(); T = T_of(p, q); Tt = T.copy(); Tt[:3, 3] = T[:3, 3] + T[:3, 2] * FRANKA_TCP_Z+ out["tcp"] += pose_of(Tt); out["ee"] += list(p) + list(qnorm(q) if q[0] >= 0 else -qnorm(q))+ fp = t2np(d.joint_pos[0, a.finger_ids]); out["op"].append(float(np.sum(fp)))+ out["ft"] += list(t2np(d.joint_pos_target[0, a.finger_ids])); out["ef"] += list(t2np(d.applied_torque[0, a.arm_ids]))+ return np.array(out["jp"] + out["tcp"] + out["ee"] + out["op"] + out["ft"] + out["jv"] + out["ef"], dtype=np.float32)++ # robot spec + kinematics+ def robot_spec(self):+ joints, gains = [], {}+ for a in self.arms:+ d = a.art.data+ lim = t2np(d.soft_joint_pos_limits[0]); vl = t2np(d.joint_vel_limits[0]); el = t2np(d.joint_effort_limits[0])+ st = t2np(d.joint_stiffness[0]); dm = t2np(d.joint_damping[0])+ for i in a.arm_ids + a.finger_ids:+ n = a.art.joint_names[i]; fing = i in a.finger_ids+ joints.append({"name": a.p + n, "type": "prismatic" if fing else "revolute", "unit": "m" if fing else "rad",+ "position_limits": [round(float(lim[i, 0]), 5), round(float(lim[i, 1]), 5)],+ "velocity_limit": float(vl[i]) if np.isfinite(vl[i]) and vl[i] > 0 else None,+ "effort_limit": float(el[i]) if np.isfinite(el[i]) and el[i] > 0 else None,+ "group": (a.p + "fingers") if fing else (a.p + "arm")})+ gains[a.p + n] = {"stiffness": float(st[i]), "damping": float(dm[i])}+ c = self.arms[0].osc.cfg+ return {"name": "franka-panda" + (" x2" if len(self.arms) > 1 else ""),+ "description": ("two " if len(self.arms) > 1 else "") + "Franka Emika Panda arm(s) with the parallel-jaw Franka Hand, fixed bases",+ "base": {"type": "fixed", "pose": pose_of(self.arms[0].base_T),+ **({"poses": {a.p.rstrip("_"): pose_of(a.base_T) for a in self.arms}} if len(self.arms) > 1 else {})},+ "joints": joints,+ "grippers": {a.p + "hand": {"joints": [a.p + n for n in a.finger_names], "opening_m": [0.0, 0.08],+ "command": "the two finger position targets of each ee_pose row (m each, 0 closed, 0.04 open); a PD drive "+ "tracks them, so a closed command on an object squeezes it", "tcp_frame": a.p + "tcp"}+ for a in self.arms},+ "controller": {"type": "EmbodiedSWE operational-space control (osc): joint torques from the pose error of panda_hand, "+ "shaped by the operational-space inertia, plus a nullspace posture term, clamped per joint",+ "control_hz": self.ctrl_hz, "physics_hz": 1.0 / self.env.dt, "gains": gains,+ "task_stiffness": list(c.task_prop_gains), "torque_limit_nm": float(c.torque_limit),+ "note": "the arm joints have no position drive (stiffness 0): the OSC torque moves them; the fingers are PD position drives"},+ "tcp": {a.p + "tcp": {"parent_link": a.p + "panda_hand", "link_T_frame": T_of([0, 0, FRANKA_TCP_Z], [1, 0, 0, 0]).tolist(),+ "definition": f"the centre between the fingertips: panda_hand moved {FRANKA_TCP_Z} m along its z (approach) axis; "+ "ee_pose rows command panda_hand itself"} for a in self.arms}}++ def kin_joint_names(self):+ return [a.p + n for a in self.arms for n in a.arm_names]++ def kinematics_spec(self):+ return {"endpoint": "/kinematics", "joint_names": self.kin_joint_names(), "frame": "world", "quaternion_order": "wxyz",+ "links": self.links, "tcp_frames": self.tcp_frames, "ee_frames": self.ee_frames, "ik_targets": self.ee_frames + self.tcp_frames,+ "ik": {"solver": "damped least squares (pinocchio, the arm's kinematics URDF)", "tol_pos_m": 1e-4, "tol_rot_rad": 1e-3, "max_iters": 300},+ "stateless": True, "note": "the arm model only (no collisions, no fingers); world frame: the arm's fixed base pose is applied"}++ def kinematics(self, req):+ out_frame = "world"+ if req["op"] == "fk":+ q = np.asarray(req["q"]); names = req.get("links") or self.links; poses = {}+ for i, a in enumerate(self.arms):+ Ts = self.chain.fk(q[7 * i: 7 * i + 7])+ for n in names:+ if n.startswith(a.p) and n[len(a.p):] in Ts:+ poses[n] = pose_of(a.base_T @ Ts[n[len(a.p):]])+ return {"ok": True, "op": "fk", "frame": out_frame, "poses": poses}+ if req.get("seed") is not None:+ seed = np.asarray(req["seed"], dtype=np.float64)+ else:+ seed = np.concatenate([t2np(a.art.data.default_joint_pos[0, a.arm_ids]) for a in self.arms])+ q = seed.copy(); err = {}; ok = True+ for i, a in enumerate(self.arms):+ tg = {n[len(a.p):]: np.linalg.inv(a.base_T) @ T_of(p[:3], p[3:]) for n, p in req["targets"].items() if n.startswith(a.p)}+ if not tg:+ continue+ qi, rep, oki = self.chain.ik(tg, seed[7 * i: 7 * i + 7], tol_p=req.get("tol_pos_m") or 1e-4, tol_r=req.get("tol_rot_rad") or 1e-3,+ iters=req.get("max_iters") or 300)+ q[7 * i: 7 * i + 7] = qi; ok = ok and oki+ err.update({a.p + k: {"pos_m": round(v[0], 6), "rot_rad": round(v[1], 6)} for k, v in rep.items()})+ return {"ok": bool(ok), "op": "ik", "frame": out_frame, "q": [float(v) for v in q], "error": err}++ def kin_check(self):+ """FK of the measured joints against the simulator's link poses (start-up self-check)."""+ dev = 0.0+ for a in self.arms:+ q = t2np(a.art.data.joint_pos[0, a.arm_ids])+ T = a.base_T @ self.chain.fk(q, ["panda_hand"])["panda_hand"]+ p, _ = a.hand_pose(); dev = max(dev, float(np.linalg.norm(T[:3, 3] - p)))+ return dev++ def describe_action(self):+ per = "x y z qw qx qy qz finger_1 finger_2"+ return (f"{self.dim} values: " + (f"left arm [{per}], then right arm [{per}]" if len(self.arms) > 1 else per) ++ ": the pose target of panda_hand (world frame, metres, wxyz) and the two finger position targets (m, 0 closed, 0.04 open)")+++# ---------------------------------------------------------------- G1 (pink_ik / loco_pink_ik)+G1_PFX = "g1_29dof_with_hand_rev_1_0_"+++class G1Rig:+ kind = "g1"++ def __init__(self, env):+ self.env = env+ r = env.robot; self.robot = r; self.art = r.articulation+ self.loco = r.control_mode.startswith("loco_")+ subs = r.controller.controllers+ self.ik_ctrl, self.hand_ctrl = subs[0], subs[1]+ self.ctrl_hz = 1.0 / (env.dt * r.control_period); self.substeps = int(r.control_period)+ self.native_dim = int(r.action_dim)+ names = self.art.joint_names+ self.hand_ids = list(self.hand_ctrl.joint_ids); self.hand_names = [names[i] for i in self.hand_ids]+ self.upper_ids = list(self.ik_ctrl.joint_ids); self.upper_names = [names[i] for i in self.upper_ids]+ self.wrist = [self.art.body_names.index("left_wrist_yaw_link"), self.art.body_names.index("right_wrist_yaw_link")]+ self.pelvis = self.art.body_names.index("pelvis")+ L = [f"{s}_wrist_{k}" for s in ("left", "right") for k in ("x", "y", "z", "qw", "qx", "qy", "qz")] + list(self.hand_names)+ if self.loco:+ L += ["base_vx", "base_vy", "base_wz", "base_hip_height"]+ self.layout = L; self.dim = len(L)+ assert self.dim == self.native_dim, (self.dim, self.native_dim)+ self.quat_slices = [(3, 7), (10, 14)]; self.pos_slices = [(0, 3), (7, 10)]+ self.step_cols = list(range(28, 32)) if self.loco else []+ self.last_cmd = np.array([0.0, 0.0, 0.0, 0.72])+ urdf = os.path.join(BENCH, "robobench/robots/assets/g1/g1_29dof_with_hand_only_kinematics.urdf")+ body = [b for b in self.art.body_names if not b.endswith("palm_link")]+ legs = ("hip", "knee", "ankle")+ self.link_names = [b for b in body if not any(k in b for k in legs)]+ frames = {}+ import pinocchio as pin+ m = pin.buildModelFromUrdf(urdf)+ for b in self.link_names:+ for cand in (G1_PFX + b, b):+ if m.existFrame(cand):+ frames[b] = (cand, None); break+ self.link_names = [b for b in self.link_names if b in frames]+ self.kin_joints = [n for n in names if not any(k in n for k in legs)]+ ik_j = [n for n in self.upper_names]+ self.chain = Chain(urdf, G1_PFX + "pelvis", frames, self.kin_joints, ik_j)+ self.ee_frames = ["left_wrist_yaw_link", "right_wrist_yaw_link"]+ self.base_T0 = self.pelvis_T()++ def pelvis_T(self):+ d = self.art.data+ return T_of(t2np(d.body_pos_w[0, self.pelvis]), t2np(d.body_quat_w[0, self.pelvis]))++ def native(self, row):+ """The row as EmbodiedSWE's native action (a quaternion is renormalised only when it is not unit to float32+ precision: rows of a recorded native trajectory pass bit for bit)."""+ r = np.asarray(row, dtype=np.float64).copy()+ for a, b in self.quat_slices:+ if abs(float(np.linalg.norm(r[a:b])) - 1.0) > 1e-6:+ r[a:b] = qnorm(r[a:b])+ if self.loco:+ self.last_cmd = r[28:32].copy()+ return r++ def hold(self):+ d = self.art.data+ out = []+ for b in self.wrist:+ p, q = t2np(d.body_pos_w[0, b]), qnorm(t2np(d.body_quat_w[0, b]))+ out += list(p) + list(q if q[0] >= 0 else -q)+ out += list(t2np(d.joint_pos_target[0, self.hand_ids]))+ if self.loco:+ out += list(self.last_cmd)+ return np.array(out)++ def check_rows(self, A):+ base = self.pelvis_T()[:3, 3]+ for ri, row in enumerate(A):+ for (a, b), (c, e) in zip(self.pos_slices, self.quat_slices):+ if float(np.max(np.abs(row[a:b] - base))) > EE_BOX_M:+ raise ValueError(f"ee_pose row {ri}: a wrist position {[round(float(v), 4) for v in row[a:b]]} is more than {EE_BOX_M} m "+ "from the pelvis on an axis (metres, world frame)")+ if float(np.linalg.norm(row[c:e])) < 1e-6:+ raise ValueError(f"ee_pose row {ri}: a quaternion (wxyz) of zero length")++ def body_ref(self, view):+ return self.art.body_names.index(view["link"])++ def action_limits(self):+ lim = t2np(self.art.data.soft_joint_pos_limits[0, self.hand_ids])+ out = {self.layout[14 + j]: [round(float(lim[j, 0]), 5), round(float(lim[j, 1]), 5)] for j in range(14)}+ if self.loco:+ out["base_hip_height"] = [0.5, 0.8]+ return out++ def controller_text(self):+ s = ("EmbodiedSWE's Pink IK takes the two wrist poses as its frame targets (one QP per control step over the 17 waist and arm "+ "joints, whose position drives track its solution) and the 14 hand joint targets go to the hands' position drives")+ if self.loco:+ s += ("; the base command goes to the frozen locomotion policy that walks the legs ([0, 0, 0, 0.72] stands still). The wrist "+ "targets are world poses: while the robot walks, move them with it")+ return s++ def after_replay(self, row):+ if self.loco:+ self.last_cmd = np.asarray(row[28:32], dtype=np.float64).copy()++ def link_T(self, idx):+ d = self.art.data+ return T_of(t2np(d.body_pos_w[0, idx]), t2np(d.body_quat_w[0, idx]))++ def proprio_spec(self):+ lay, g = [], {}+ def grp(name, cols, what):+ g[name] = [len(lay), len(cols), what]; lay.extend(cols)+ names = self.art.joint_names+ grp("joint_pos", list(names), "measured joint positions (rad) of every joint: legs, waist, arms, then the Dex3 hand joints (articulation order)")+ grp("tcp_pose", [f"{s}_wrist_meas_{k}" for s in ("left", "right") for k in ("x", "y", "z", "qw", "qx", "qy", "qz")],+ "measured wrist poses (left_wrist_yaw_link, right_wrist_yaw_link: the frames ee_pose actions command), world frame, wxyz")+ grp("gripper_opening", ["left_hand_opening_m", "right_hand_opening_m"],+ "per hand: the distance (m) between the thumb's tip link and the midpoint of the index and middle fingers' tip links")+ grp("base_pose", ["pelvis_x", "pelvis_y", "pelvis_z", "pelvis_qw", "pelvis_qx", "pelvis_qy", "pelvis_qz"],+ "measured pelvis pose, world frame, wxyz" + ("" if self.loco else " (fixed: the pelvis is welded to the world)"))+ grp("base_vel", ["pelvis_vx", "pelvis_vy", "pelvis_vz", "pelvis_wx", "pelvis_wy", "pelvis_wz"], "measured pelvis velocity, world frame (m/s, rad/s)")+ grp("hand_target", [n + "_target" for n in self.hand_names], "the hand joint targets in force (rad)")+ if self.loco:+ grp("base_command", ["cmd_vx", "cmd_vy", "cmd_wz", "cmd_hip_height"], "the base command in force")+ grp("joint_vel", [n + "_vel" for n in names], "measured joint velocities (rad/s)")+ grp("joint_effort", [n + "_effort" for n in names], "applied joint torques of the PD drives (N m)")+ return lay, g++ def _opening(self, side):+ b = self.art.body_names; d = self.art.data+ P = lambda n: t2np(d.body_pos_w[0, b.index(n)]) # noqa: E731+ return float(np.linalg.norm(P(f"{side}_hand_thumb_2_link") - 0.5 * (P(f"{side}_hand_index_1_link") + P(f"{side}_hand_middle_1_link"))))++ def proprio(self):+ d = self.art.data+ v = list(t2np(d.joint_pos[0]))+ for b in self.wrist:+ p, q = t2np(d.body_pos_w[0, b]), qnorm(t2np(d.body_quat_w[0, b])); v += list(p) + list(q if q[0] >= 0 else -q)+ v += [self._opening("left"), self._opening("right")]+ v += pose_of(self.pelvis_T())+ v += list(t2np(d.body_lin_vel_w[0, self.pelvis])) + list(t2np(d.body_ang_vel_w[0, self.pelvis]))+ v += list(t2np(d.joint_pos_target[0, self.hand_ids]))+ if self.loco:+ v += list(self.last_cmd)+ v += list(t2np(d.joint_vel[0])) + list(t2np(d.applied_torque[0]))+ return np.array(v, dtype=np.float32)++ def robot_spec(self):+ d = self.art.data+ lim = t2np(d.soft_joint_pos_limits[0]); vl = t2np(d.joint_vel_limits[0]); el = t2np(d.joint_effort_limits[0])+ st = t2np(d.joint_stiffness[0]); dm = t2np(d.joint_damping[0])+ joints, gains = [], {}+ for i, n in enumerate(self.art.joint_names):+ grp = "hand" if i in self.hand_ids else ("arm_waist" if i in self.upper_ids else "leg")+ joints.append({"name": n, "type": "revolute", "unit": "rad", "position_limits": [round(float(lim[i, 0]), 5), round(float(lim[i, 1]), 5)],+ "velocity_limit": float(vl[i]) if np.isfinite(vl[i]) and vl[i] > 0 else None,+ "effort_limit": float(el[i]) if np.isfinite(el[i]) and el[i] > 0 else None, "group": grp})+ gains[n] = {"stiffness": float(st[i]), "damping": float(dm[i])}+ base = {"type": "mobile", "root_link": "pelvis", "proprio": "base_pose, base_vel",+ "command": "the last 4 ee_pose columns [vx, vy, wz, hip_height]: forward / sideways speed (m/s) and turn rate (rad/s) in the "+ "robot's own frame, standing height of the pelvis (m); a frozen locomotion policy walks the legs; the policy clips "+ "vx, vy, wz and hip_height to its own ranges (hip_height 0.50-0.80)"} if self.loco else \+ {"type": "fixed", "pose": pose_of(self.base_T0), "note": "the pelvis is welded to the world (legs locked)"}+ return {"name": "unitree-g1-dex3", "description": "Unitree G1 humanoid (29 body joints) with two three-finger Dex3 hands",+ "base": base, "joints": joints,+ "grippers": {f"{s}_hand": {"joints": [n for n in self.hand_names if n.startswith(s)], "opening_m": [0.0, 0.12],+ "command": "the 7 hand joint targets of that hand in each ee_pose row (rad); PD position drives",+ "tcp_frame": f"{s}_wrist_yaw_link"} for s in ("left", "right")},+ "controller": {"type": "EmbodiedSWE Pink IK (whole upper body: waist + both arms solved for the two wrist poses, nullspace "+ "holding shoulders and waist near home) + direct hand joint targets" + (" + a frozen locomotion policy for the legs" if self.loco else ""),+ "control_hz": self.ctrl_hz, "physics_hz": 1.0 / self.env.dt, "gains": gains,+ "note": "every joint is a PD position drive; Pink IK writes the arm and waist targets"},+ "tcp": {f: {"parent_link": f, "link_T_frame": np.eye(4).tolist(),+ "definition": "the wrist link itself (the frame Pink IK and the ee_pose action drive); the fingers extend beyond it"}+ for f in self.ee_frames}}++ def kinematics_spec(self):+ return {"endpoint": "/kinematics", "joint_names": list(self.kin_joints), "frame": "base" if self.loco else "world",+ **({"base_pose_proprio": ["pelvis_x", "pelvis_y", "pelvis_z", "pelvis_qw", "pelvis_qx", "pelvis_qy", "pelvis_qz"]} if self.loco else {}),+ "quaternion_order": "wxyz", "links": self.link_names, "tcp_frames": self.ee_frames, "ee_frames": self.ee_frames,+ "ik_targets": self.ee_frames,+ "ik": {"solver": "damped least squares (pinocchio, the kinematics URDF the robot's Pink IK uses) over the 17 arm and waist joints",+ "tol_pos_m": 1e-4, "tol_rot_rad": 1e-3, "max_iters": 300},+ "stateless": True,+ "note": "the upper body from the pelvis (waist, arms, hands; legs are not modelled); poses are in the pelvis frame unless the "+ "request gives base_pose (the pelvis pose, x y z qw qx qy qz in the world)" if self.loco else+ "the upper body from the pelvis (waist, arms, hands); world frame: the fixed pelvis pose is applied"}++ def _base(self, req):+ bp = req.get("base_pose")+ if bp is not None:+ return T_of(bp[:3], bp[3:]), "world"+ return (np.eye(4), "base") if self.loco else (self.base_T0, "world")++ def kinematics(self, req):+ Tb, fr = self._base(req)+ if req["op"] == "fk":+ Ts = self.chain.fk(np.asarray(req["q"]), req.get("links") or self.link_names)+ return {"ok": True, "op": "fk", "frame": fr, "poses": {k: pose_of(Tb @ T) for k, T in Ts.items()}}+ seed = np.asarray(req["seed"], dtype=np.float64) if req.get("seed") is not None else \+ t2np(self.art.data.default_joint_pos[0, [self.art.joint_names.index(n) for n in self.kin_joints]])+ tg = {k: np.linalg.inv(Tb) @ T_of(p[:3], p[3:]) for k, p in req["targets"].items()}+ q, rep, ok = self.chain.ik(tg, seed, tol_p=req.get("tol_pos_m") or 1e-4, tol_r=req.get("tol_rot_rad") or 1e-3, iters=req.get("max_iters") or 300)+ return {"ok": bool(ok), "op": "ik", "frame": fr, "q": [float(v) for v in q],+ "error": {k: {"pos_m": round(v[0], 6), "rot_rad": round(v[1], 6)} for k, v in rep.items()}}++ def kin_check(self):+ q = t2np(self.art.data.joint_pos[0, [self.art.joint_names.index(n) for n in self.kin_joints]])+ Ts = self.chain.fk(q, self.ee_frames)+ Tb = self.pelvis_T()+ return max(float(np.linalg.norm((Tb @ Ts[f])[:3, 3] - t2np(self.art.data.body_pos_w[0, b]))) for f, b in zip(self.ee_frames, self.wrist))++ def describe_action(self):+ s = (f"{self.dim} values: left wrist x y z qw qx qy qz, right wrist x y z qw qx qy qz (world frame, metres, wxyz; the wrist_yaw_link "+ "frames), then the 14 hand joint targets (rad) in the order of spec.action_types.ee_pose.layout")+ return s + (", then the base command vx vy wz hip_height (switched at the row, never interpolated)" if self.loco else "")+++def make_rig(env):+ name = type(env.robot).__name__+ if name in ("FrankaRobot", "BimanualFranka"):+ return FrankaRig(env)+ if name == "G1Robot":+ return G1Rig(env)+ raise RuntimeError(f"no standard-mode rig for {name}")+++def interp_row(rig, a, b, t):+ """The target at fraction t (0..1) from row a to row b: positions and joint values linear, quaternions slerped, the+ command columns (rig.step_cols) switched to b."""+ out = a + (b - a) * t+ for i, j in rig.quat_slices:+ out[i:j] = slerp(a[i:j], b[i:j], t)+ for c in rig.step_cols:+ out[c] = b[c]+ return outdiff --git a/embodied_first_exam/benchmarks/embodiedswe/sim/finalize.sh b/embodied_first_exam/benchmarks/embodiedswe/sim/finalize.shnew file mode 100755index 0000000000..c353165f10--- /dev/null+++ b/embodied_first_exam/benchmarks/embodiedswe/sim/finalize.sh@@ -0,0 +1,112 @@+#!/bin/sh+# [[verifier.collect]] hook, run inside the `sim` sidecar once Harbor has stopped the agent's container. The trial is+# graded by its LIVE episode, the one the agent ran, with no grading replay (owner 2026-10-17).+# 1. `rcb_limited.py end` (the shared first half, docs/protocol/standard_mode.md §13.3): SIGUSR1 to the service, which ends+# the episode, reads the verdict on the live state (EmbodiedSWE's grader: success, progress, the tool-only record),+# writes trajectory.npz + episode.json (the live result, the end-state hash), takes the video's last frame and exits. It waits through a crash-recovery resume (no PID file+# until the service is ready again), signals only the newest service process, resends every 30 s, and exits 2 when+# final.json already holds the verdict (the service gave up: after crashes, or because the frozen instance did not+# rebuild at the episode's start, `instance_mismatch`): that verdict stays.+# 2. final.json = the live record (episode.json) + `graded_by` "live", `replays` 0, `finalized`: written whole (a+# temporary file + rename) BEFORE the video, with `video_pending` true, so the verifier never reads a half-written+# one and nothing the video does can change or delay the verdict.+# 3. the video: `live_video.py encode` (CPU only, no simulator) turns the frames the service took during the live+# episode (live_video/, frames the service rendered during the episode) into live.mp4; final.json gets+# the video fields. A failed or slow encode costs the video only (`video` false), never the verdict, never infra.+# Time: the hook has HOOK_BUDGET_S (task.toml's [[verifier.collect]] timeout_sec; keep the two equal): the episode end+# (up to RCB_COLLECT_END_TIMEOUT_S = 2700 s through a resume, which replays the journal first) ++# the encode (at most VIDEO_LIMIT_S; at most 3001 frames, live_video.MAX_FRAMES) + a margin.+set -u+SRV="${RCB_SRV:-/srv}"; DATA="${RCB_DATA:-/data}"+HOOK_BUDGET_S="${RCB_COLLECT_TIMEOUT_S:-3600}"; VIDEO_LIMIT_S="${RCB_VIDEO_LIMIT_S:-600}"; T0=$(date +%s)+python "$SRV/rcb_limited.py" end "$DATA" --timeout "${RCB_COLLECT_END_TIMEOUT_S:-2700}"; rc=$?+case "$rc" in+ 0) echo "[finalize] episode dumped: graded by the live episode (no replay)" ;;+ 2) echo "[finalize] final.json already holds the verdict (the service gave up); kept" ;;+ *) echo "[finalize] the service did not end and exit in time (rc $rc): its episode.json decides if it dumped one, else infra" ;;+esac+END_RC="$rc" python - <<'PY'+import json, os+d = os.environ.get("RCB_DATA", "/data"); p = os.path.join(d, "final.json"); rc = os.environ.get("END_RC")+def read(name):+ try:+ v = json.load(open(os.path.join(d, name)))+ return v if isinstance(v, dict) else {}+ except Exception:+ return {}+def fresh(ep):+ """episode.json is the newest service process's: its sim_startups is the number of lines in startups.jsonl. A dump+ from an earlier process (it ended the episode, then crashed; the resumed one did not dump again) is stale: the+ resume rolled back to the last checkpoint and the episode went on, so it is no verdict on the episode that ran."""+ try:+ with open(os.path.join(d, "startups.jsonl")) as f:+ n = sum(1 for line in f if line.strip())+ except OSError:+ return True # no startup record: nothing to compare with+ return "sim_startups" not in ep or int(ep.get("sim_startups") or 0) == n+live = {"graded_by": "live", "replays": 0, "video": False, "video_pending": True, "video_source": "live"}+if rc == "2":+ # the service's own verdict (a give-up: after crashes, or instance_mismatch at the start): kept as it is+ out = {**live, **read("final.json")}+elif rc == "0" or os.path.isfile(os.path.join(d, "episode.json")):+ # rc 1 with episode.json on disk: the service dumped the episode (its verdict is complete) but did not exit in time+ # (e.g. a render of the video's last frame that hangs): the live record still decides+ out = {**live, "finalized": True, **({} if rc == "0" else {"service_exit_timed_out": True})}+ try:+ ep = json.load(open(os.path.join(d, "episode.json")))+ if not isinstance(ep, dict): raise ValueError("not an object")+ if not fresh(ep): raise ValueError(f"stale: written by service start {ep.get('sim_startups')}, before a crash and resume")+ out.update(ep)+ except Exception as exc:+ # the service's record of the live episode is missing or stale: no verdict either way+ out.update({"success": False, "infra_error": 1, "error": f"infrastructure: no current episode.json ({exc!r})"})+else:+ out = {**read("final.json"), **live, "finalized": True, "success": False, "infra_error": 1,+ "error": "collect hook: the sim service did not end and dump the episode in time"}+out["live_success"] = bool(out.get("success"))+out["finalized"] = bool(out.get("finalized"))+tmp = f"{p}.{os.getpid()}.tmp"+with open(tmp, "w") as f:+ json.dump(out, f); f.flush(); os.fsync(f.fileno())+os.replace(tmp, p)+print(json.dumps(out))+PY+# the video: one encode, after the verdict+left=$(( T0 + HOOK_BUDGET_S - 60 - $(date +%s) )); limit=$VIDEO_LIMIT_S+if [ "$left" -lt "$limit" ]; then limit=$left; fi+vrc=none+if [ "$limit" -ge 30 ]; then+ if command -v timeout >/dev/null 2>&1; then+ timeout -k 10 "$limit" python "$SRV/live_video.py" encode "$DATA" > "$DATA/video.json" 2> "$DATA/video.log"; vrc=$?+ else+ python "$SRV/live_video.py" encode "$DATA" > "$DATA/video.json" 2> "$DATA/video.log"; vrc=$?+ fi+fi+echo "[finalize] video encode exit $vrc (limit ${limit} s)"+VRC="$vrc" python - <<'PY'+import json, os+d = os.environ.get("RCB_DATA", "/data"); p = os.path.join(d, "final.json")+try:+ out = json.load(open(p))+ if not isinstance(out, dict): raise ValueError("not an object")+except Exception as exc:+ print(f"[finalize] final.json unreadable, video fields not added: {exc!r}"); raise SystemExit+res = {}+try:+ for line in open(os.path.join(d, "video.json")):+ if line.strip().startswith("{"):+ res = json.loads(line)+except Exception:+ pass+mp4 = os.path.join(d, "live.mp4")+ok = bool(res.get("video")) and os.path.isfile(mp4) and os.path.getsize(mp4) > 0+out.update({"video": ok, "video_pending": False, "video_frames": int(res.get("frames") or 0), "video_every_steps": res.get("every")})+if not ok:+ out["video_error"] = str(res.get("error") or f"no result from the encode (exit {os.environ.get('VRC')})")[:300]+tmp = f"{p}.{os.getpid()}.tmp"+with open(tmp, "w") as f:+ json.dump(out, f); f.flush(); os.fsync(f.fileno())+os.replace(tmp, p)+print(json.dumps({k: out.get(k) for k in ("success", "infra_error", "video", "video_frames", "video_every_steps", "video_error")}))+PY+exit 0diff --git a/embodied_first_exam/benchmarks/embodiedswe/sim/live_video.py b/embodied_first_exam/benchmarks/embodiedswe/sim/live_video.pynew file mode 100644index 0000000000..bd7d416fdf--- /dev/null+++ b/embodied_first_exam/benchmarks/embodiedswe/sim/live_video.py@@ -0,0 +1,219 @@+"""The live video of a standard-mode episode (owner 2026-10-17: the standard modes are graded by the live+episode, so no replay films the trial any more): the sim service keeps frames of the episode it actually runs, from+images its simulator renders anyway, and the collect hook encodes them into live.mp4 after the verdict is written.+Nothing here decides anything: a frame that cannot be taken or written stops the video, never the control step, and an+encode that fails or runs out of time costs the video only.++In the service (a frame is taken only when the step opens a new slot, so most steps cost one integer division):++ import live_video+ V = live_video.LiveVideo(DATA, ctrl_hz=CTRL_HZ, frame=lambda: <uint8 (H, W, 3), or None: nothing rendered here>)+ V.offer(step) # after every executed control step (also the steps a crash-recovery resume replays)+ V.truncate(step) # after a resume: drop the frames of the call that was lost in the crash (rolled back)+ V.last(step) # once, when the episode is over: the end state (`frame=` a callable that renders it if needed)++Frames are JPEG files <data>/live_video/<step>.jpg, written whole (a temporary file + rename): they survive a crash of+the service, and a resume that replays the journal skips the slots already on disk. A slot is `every` control steps+(ctrl_hz / FPS, 5 frames per simulated second); past MAX_FRAMES slots the slot doubles and the frames that no longer+open one are deleted, so a long episode becomes a time lapse of at most MAX_FRAMES frames (bounded disk, memory and+encode time whatever the episode's length).++In the collect hook, after final.json holds the verdict (CPU only, no simulator):++ python live_video.py encode <data dir> [--fps 5] -> <data>/live.mp4 + live.last.png; one JSON line on stdout++The video is sim-time true at FPS frames per simulated second while the slot is `every` control steps (each slot shows+the newest frame taken by then, so a slot with no frame repeats the previous one), a time lapse after it doubled."""+from __future__ import annotations+import io, json, os, sys, time, traceback++FPS = 5 # frames per simulated second (one slot = ctrl_hz / FPS control steps)+MAX_FRAMES = 3000 # slots one video may have: past it the slot doubles (a time lapse)+JPEG_QUALITY = 85+DIR = "live_video"+++class LiveVideo:+ def __init__(self, data: str, ctrl_hz: float, frame, fps: int = FPS, max_frames: int = MAX_FRAMES, log=None):+ self.dir = os.path.join(data, DIR); self.frame = frame; self.max = int(max_frames); self.log = log+ self.base = max(1, int(round(float(ctrl_hz) / max(1, int(fps)))))+ self.every = self.base; self.kept: dict[int, int] = {}; self.error: str | None = None+ try:+ os.makedirs(self.dir, exist_ok=True)+ # the slot's base size, for the encode when no last.json is written (a service that never reached its dump)+ _write_json(os.path.join(self.dir, "meta.json"), {"base": self.base, "ctrl_hz": float(ctrl_hz), "fps": int(fps)})+ steps = sorted(int(f[:-4]) for f in os.listdir(self.dir) if f.endswith(".jpg") and f[:-4].isdigit())+ if steps: # a restarted service: the frames taken before the crash stay+ self._fit(steps[-1])+ self.kept = {s: s for s in steps} # regrouped into slots of the current size by _thin()+ self._thin()+ except Exception as exc: # noqa: BLE001 -- the video never stops the service+ self._fail(exc)++ def _fail(self, exc: BaseException) -> None:+ self.error = repr(exc)[:300]+ traceback.print_exc()+ if self.log:+ try:+ self.log({"ev": "live_video_stopped", "error": self.error})+ except Exception: # noqa: BLE001+ pass++ def _fit(self, step: int) -> None:+ while step // self.every + 1 > self.max:+ self.every *= 2++ def _thin(self) -> None:+ """Keep the earliest frame of every slot of the current size; delete the rest."""+ keep: dict[int, int] = {}+ for s in sorted(self.kept.values()):+ keep.setdefault(s // self.every, s)+ for s in set(self.kept.values()) - set(keep.values()):+ try:+ os.remove(os.path.join(self.dir, f"{s:09d}.jpg"))+ except OSError:+ pass+ self.kept = keep++ def _write(self, name: str, img) -> None:+ from PIL import Image+ import numpy as np+ a = np.ascontiguousarray(np.asarray(img)[..., :3].astype(np.uint8))+ buf = io.BytesIO(); Image.fromarray(a).save(buf, format="JPEG", quality=JPEG_QUALITY)+ p = os.path.join(self.dir, name); tmp = f"{p}.{os.getpid()}.tmp"+ with open(tmp, "wb") as f:+ f.write(buf.getvalue())+ os.replace(tmp, p)++ def offer(self, step: int) -> None:+ """After an executed control step: a frame if `step` opens a slot that has none yet and `frame()` gives one."""+ if self.error is not None:+ return+ try:+ step = int(step)+ if step // self.every + 1 > self.max:+ self._fit(step); self._thin()+ slot = step // self.every+ if slot in self.kept:+ return+ img = self.frame()+ if img is None: # nothing rendered at this step: a later step of the slot may give one+ return+ self._write(f"{step:09d}.jpg", img)+ self.kept[slot] = step+ except Exception as exc: # noqa: BLE001 -- a camera or disk problem ends the video, never the control step+ self._fail(exc)++ def truncate(self, step: int) -> None:+ """After a crash-recovery resume: the journal was replayed only up to the last checkpoint (the call in flight was+ lost and rolled back), so frames taken past `step` show states that no longer belong to the episode: delete them."""+ try:+ for slot, s in list(self.kept.items()):+ if s > int(step):+ try:+ os.remove(os.path.join(self.dir, f"{s:09d}.jpg"))+ except OSError:+ pass+ del self.kept[slot]+ for n in ("last.jpg", "last.json"): # a dump before the crash: its end state was rolled back too+ try:+ os.remove(os.path.join(self.dir, n))+ except OSError:+ pass+ except Exception as exc: # noqa: BLE001+ self._fail(exc)++ def last(self, step: int, frame=None) -> None:+ """The end state (when the episode is over): the video's last frame and live.last.png. `frame`: a callable that+ renders the end state if `frame()` may give nothing there (a service that renders on demand)."""+ if self.error is not None:+ return+ try:+ img = (frame or self.frame)()+ if img is not None:+ self._write("last.jpg", img)+ _write_json(os.path.join(self.dir, "last.json"), {"step": int(step), "every": self.every, "base": self.base})+ except Exception as exc: # noqa: BLE001+ self._fail(exc)+++def _write_json(path: str, obj: dict) -> None:+ tmp = f"{path}.{os.getpid()}.tmp"+ with open(tmp, "w") as f:+ json.dump(obj, f)+ os.replace(tmp, path)+++def _read_json(path: str) -> dict:+ try:+ v = json.load(open(path))+ return v if isinstance(v, dict) else {}+ except (OSError, ValueError):+ return {}+++def encode(data: str, fps: int = FPS) -> dict:+ """<data>/live_video/*.jpg -> <data>/live.mp4 (H.264, yuv420p) + live.last.png. The result: video (the mp4's path or+ None), frames (taken), slots (in the video), every (control steps per slot), error."""+ import numpy as np+ from PIL import Image+ import imageio.v2 as imageio+ d = os.path.join(data, DIR); out = os.path.join(data, "live.mp4"); t0 = time.time()+ names = sorted(f for f in os.listdir(d) if f.endswith(".jpg") and f[:-4].isdigit()) if os.path.isdir(d) else []+ steps = [int(f[:-4]) for f in names]+ meta = {**_read_json(os.path.join(d, "meta.json")), **_read_json(os.path.join(d, "last.json"))}+ last = os.path.join(d, "last.jpg") if os.path.exists(os.path.join(d, "last.jpg")) else None+ if not steps and not last:+ return {"video": None, "frames": 0, "slots": 0, "every": None, "error": "no frame was taken"}+ base = int(meta.get("base") or 1); end = max(steps + [int(meta.get("step") or 0)])+ every = max(base, int(meta.get("every") or base))+ while end // every + 1 > MAX_FRAMES:+ every *= 2+ by_slot: dict[int, str] = {}+ for s, n in zip(steps, names):+ by_slot.setdefault(s // every, n)+ size = None+ def load(path):+ nonlocal size+ im = Image.open(path).convert("RGB")+ if size is None:+ size = (im.width - im.width % 2, im.height - im.height % 2) # yuv420p wants even sides+ if im.size != size:+ im = im.resize(size)+ return np.asarray(im)+ tmp = os.path.join(data, "live.part.mp4"); n_slots = 0; cur = None; last_img = None+ try:+ with imageio.get_writer(tmp, format="FFMPEG", mode="I", fps=int(fps), codec="libx264", macro_block_size=1,+ pixelformat="yuv420p", output_params=["-movflags", "+faststart"]) as w:+ first = min(by_slot) if by_slot else None+ for slot in (range(first, end // every + 1) if first is not None else ()):+ if slot in by_slot:+ cur = load(os.path.join(d, by_slot[slot]))+ w.append_data(cur); n_slots += 1+ if last:+ last_img = load(last); w.append_data(last_img); n_slots += 1+ Image.fromarray(last_img if last_img is not None else cur).save(os.path.join(data, "live.last.png"))+ os.replace(tmp, out)+ except Exception as exc: # noqa: BLE001+ traceback.print_exc()+ try:+ os.remove(tmp)+ except OSError:+ pass+ return {"video": None, "frames": len(steps), "slots": n_slots, "every": every, "error": repr(exc)[:300]}+ return {"video": out, "frames": len(steps) + (1 if last else 0), "slots": n_slots, "every": every,+ "fps": int(fps), "encode_s": round(time.time() - t0, 1), "error": None}+++if __name__ == "__main__":+ a = sys.argv[1:]+ if len(a) >= 2 and a[0] == "encode":+ fps = int(a[a.index("--fps") + 1]) if "--fps" in a else FPS+ try:+ res = encode(a[1], fps)+ except Exception as exc: # noqa: BLE001+ traceback.print_exc(); res = {"video": None, "error": repr(exc)[:300]}+ print(json.dumps(res), flush=True)+ sys.exit(0 if res.get("video") else 1)+ print("usage: live_video.py encode <data dir> [--fps N]")+ sys.exit(2)diff --git a/embodied_first_exam/benchmarks/embodiedswe/sim/server.py b/embodied_first_exam/benchmarks/embodiedswe/sim/server.pynew file mode 100644index 0000000000..bf6d10ebac--- /dev/null+++ b/embodied_first_exam/benchmarks/embodiedswe/sim/server.py@@ -0,0 +1,605 @@+"""eai-standard/2.2 sim service for EmbodiedSWE (robobench on Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX; see+docs/protocol/standard_mode.md and tasks/embodiedswe/README.md "Standard mode"). Owns the scene. HTTP surface+(rcb_limited): GET /spec, GET /status, POST /observe, POST /submit, POST /kinematics (RCB1 bodies and responses).++The scene is the privileged task's: EmbodiedSWE's own build of the preset from the same frozen instance (instance.json,+seed, GPU PhysX; rcb_embodiedswe.build), checked against the instance's recorded start state before anything is served+(the cameras are created before the env's one sim.reset() and change nothing of it). The task's grader (grader/<scene>.py,+EmbodiedSWE's rubric) is built on the env and records after every control step, as in the privileged rollout.++Actions (esw_std): only `ee_pose`, streamed: rows `dt` apart (a multiple of the control period, at most 0.5 s), linear+(slerp for quaternions) or hold between rows; every control step hands the robot EmbodiedSWE's native action for the+target of that step (Franka: the OSC pose target of panda_hand, its action smoothing inverted; G1: the native wrist+poses + hand targets [+ base command]). Between calls the last row stays in force (a watch holds it).++The episode: no reset. It ends at the end of the first call after which the task's success predicate holds (the+grader's check_success, the privileged verdict's predicate), when a tool-only rule is broken (spatula), when the+agent's time is up (the collect hook), on a simulator error, or at the runaway cap (rcb_embodiedswe.MAX_STEPS). The+verdict is read on the live state at the end (rcb_embodiedswe._final: success, progress = the rubric's score, the+tool-only record), no grading replay. GPU PhysX repeats a run bit for bit only in the same process history (the cameras+in the scene and this start-up's reads of the articulation change the later bits; drawing them does not): a replay in+another process is not bit-exact, so the video is filmed live (live_video.py) and crash recovery is class `approx` (the+journal holds the native action rows).++Per call, images are bounded by spec.max_frames_per_call (PROTOCOL §3 "Images per call": the frames really captured,+at the recorder's stride, per-frame depth counted again), checked before anything runs; the shared Recorder holds one+copy of the frames and the shared layer builds the body once."""+from __future__ import annotations+import json, math, os, sys, threading, time, traceback+from typing import Callable+import numpy as np++sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))+import rcb_limited as L # noqa: E402+import live_video # noqa: E402++PROTOCOL = L.PROTOCOL+SRV = os.path.dirname(os.path.abspath(__file__))+DATA = os.environ.get("RCB_DATA", "/data"); os.makedirs(DATA, exist_ok=True); os.makedirs(os.path.join(DATA, "calls"), exist_ok=True)+TASK_FILE = os.environ.get("RCB_TASK_FILE", os.path.join(SRV, "task.json")); TASK = json.load(open(TASK_FILE))+PRESET = TASK["preset"]+INSTANCE = os.environ.get("RCB_INSTANCE", os.path.join(os.path.dirname(TASK_FILE), "instance.json"))+GRADER = os.path.join(os.path.dirname(TASK_FILE), TASK["grader"])+MAX_CHUNK_S = float(os.environ.get("RCB_MAX_CHUNK_S", "10")); MAX_WATCH_S = float(os.environ.get("RCB_MAX_WATCH_S", "30"))+# images per call (cameras x frames, per-frame depth counted again): 240 RGB frames of 640x480 are 221 MB, so the largest+# legal response stays under the shared layer's 256 MiB body limit (rcb_limited.MAX_RESP) with its mp4s, and nothing is dropped+MAX_FRAMES = int(os.environ.get("RCB_MAX_FRAMES_PER_CALL", "240"))+NATIVE_DIM = {"franka.osc": 8, "bimanual_franka.osc": 16, "g1.pink_ik": 28, "g1.loco_pink_ik": 32}[PRESET.split(".", 2)[2]]+LOCK = threading.Lock(); PID_FILE = os.path.join(DATA, "server.pid")+E = {"ready": False, "step": 0, "calls": 0, "done": False, "reason": None, "success": False, "t0": time.time(), "error": None, "tgt": None}+EP = L.Episode(DATA, dim=NATIVE_DIM, resume="approx", persist=("tgt", "verdict")) # the verdict: success stays success through a resume+EP.startup()+log = EP.log++# ---------------------------------------------------------------- scene+import rcb_embodiedswe as R # noqa: E402+import esw_std as X # noqa: E402+R.launch(cameras=True)+INST = R.load_instance(INSTANCE)+CAMS_OBJ = X.Cameras([])+++def _building_env():+ """robobench's BaseEnv.__init__ under construction (the camera hook runs inside its sim.reset()): its scene, robot,+ room."""+ f = sys._getframe()+ while f is not None:+ s = f.f_locals.get("self")+ if f.f_code.co_name == "__init__" and s is not None and hasattr(s, "scene") and hasattr(s, "robot") and "room" in f.f_locals:+ return s.scene, s.robot, f.f_locals["room"]+ f = f.f_back+ raise RuntimeError("camera hook: the env under construction was not found")+++def make_cameras():+ scene, robot, room = _building_env()+ import omni.usd+ CAMS_OBJ.views = X.views_before_reset(scene, robot, room, omni.usd.get_context().get_stage())+ return CAMS_OBJ.make()+++env, _ = R._build_with_camera(INST, make_cameras)+grader = R.load_grader(GRADER, PRESET)(env)+START = R.check_start(env, INST)+INSTANCE_CHECK = {k: START[k] for k in ("instance_sha", "instance_ok", "instance_max_abs_diff", "instance_within_tol", "instance_mismatch",+ "gpu_model", "instance_gpu")}+INSTANCE_CHECK["instance_exact"] = bool(START["instance_ok"]); INSTANCE_CHECK["instance_expected_sha"] = INST["state_sha"]+if START["instance_mismatch"]:+ L._write_json(os.path.join(DATA, "final.json"), {"task": PRESET, "protocol": PROTOCOL, **INSTANCE_CHECK})+ EP.give_up(f"instance_mismatch: the rebuilt scene (state {START['instance_sha']}) is not the frozen instance "+ f"({INST['state_sha']}) on the GPU model that froze it", infra=True) # never returns+RIG = X.make_rig(env)+assert RIG.native_dim == NATIVE_DIM, (RIG.native_dim, NATIVE_DIM)+CTRL_HZ = RIG.ctrl_hz; SUBSTEPS = RIG.substeps; DIM = RIG.dim+CAMS_OBJ.aim(env)+TRAJ = R.Recorder(env, PRESET, int(INST["seed"]))+TOOL = getattr(env, "_esw_tool_only", None)+++def ctrl_steps() -> int:+ return len(TRAJ.actions)+++# ---------------------------------------------------------------- cameras: render once per control step+_R = {"step": -1}+++def render() -> None:+ n = ctrl_steps()+ if _R["step"] != n:+ env.sim.render()+ for c in CAMS_OBJ.cams.values():+ c.update(env.dt)+ _R["step"] = n+++# warm-up renders before the first frame: a new view's first frames come out noisy without the renderer's temporal+# history (measured: wheel_carry's pick and place views); rendering changes nothing of the physics+for _ in range(int(os.environ.get("RCB_WARMUP_RENDERS", "12"))):+ env.sim.render()+render()+CALIB = X.calibrate(CAMS_OBJ, RIG) # intrinsics; static extrinsics; link_T_cam_cv of the mounted ones (measured)+CAMS = [v["name"] for v in CAMS_OBJ.views]+# the cameras and frame rate a call gets when it names none: the robot's own cameras and one static view (the scene's+# "front" or "wide" view, else "overview"), at the highest rate (at most 5 fps) at which the longest default call, a+# 30 s watch with raw frames, fits max_frames_per_call: every call legal at the defaults is answered in full+MOUNTED_CAMS = [v["name"] for v in CAMS_OBJ.views if v.get("link_prim")]+DEFAULT_CAMS = [next(c for c in ("front", "wide", "overview") if c in CAMS)] + MOUNTED_CAMS+DEFAULT_FPS = next((f for f in range(5, 0, -1) if len(DEFAULT_CAMS) * (int(round(MAX_WATCH_S * CTRL_HZ))+ // max(1, int(round(CTRL_HZ / f))) + 2) <= MAX_FRAMES), 0)+if not DEFAULT_FPS:+ raise RuntimeError(f"no default video_fps fits max_frames_per_call = {MAX_FRAMES} with the cameras {DEFAULT_CAMS}")+++def cam_world_T_cv(c: str) -> np.ndarray:+ m = CALIB[c]+ return m["world_T_cv"] if m["mount"]["type"] == "static" else RIG.link_T(m["parent_body"]) @ m["link_T_cv"]+++def camera_info(cams) -> dict:+ out = {}+ for c in cams:+ Tw = cam_world_T_cv(c)+ out[c] = {"intrinsic_cv": CALIB[c]["K"].tolist(), "extrinsic_cv": np.linalg.inv(Tw)[:3].tolist(),+ "cam2world_gl": (Tw @ X.GL2CV).tolist(), "image_size": [X.W, X.H]}+ return out+++def grab(cams, want_depth: bool):+ render()+ rgb, dep = {}, {}+ for c in cams:+ out = CAMS_OBJ.cams[c].data.output+ rgb[c] = out["rgb"][0, ..., :3].to("cpu").numpy()+ if want_depth:+ dep[c] = out["distance_to_image_plane"][0].to("cpu").numpy()+ return rgb, dep+++def extrinsics(cams) -> dict:+ return {c: np.linalg.inv(cam_world_T_cv(c))[:3] for c in cams}+++def video_frame():+ """The live video's frame: every camera, half size, three to a row."""+ rgb, _ = grab(CAMS, False)+ tiles = [np.ascontiguousarray(rgb[c][::2, ::2]) for c in CAMS]+ cols = min(3, len(tiles))+ while len(tiles) % cols:+ tiles.append(np.zeros_like(tiles[0]))+ return np.concatenate([np.concatenate(tiles[i:i + cols], axis=1) for i in range(0, len(tiles), cols)], axis=0)+++VIDEO = live_video.LiveVideo(DATA, ctrl_hz=CTRL_HZ, frame=video_frame, log=EP.log)++# ---------------------------------------------------------------- the spec+PLAY, PGROUPS = RIG.proprio_spec()+KIN = RIG.kinematics_spec()+CAM0 = camera_info(CAMS)+KIN_DEV = RIG.kin_check()+if KIN_DEV > 0.002:+ raise RuntimeError(f"kinematic model: FK of the measured joints is {KIN_DEV * 1000:.2f} mm from the simulator's wrist/hand")+STEP_S = 1.0 / CTRL_HZ+SPEC = {+ "protocol": PROTOCOL, "protocol_compat": list(L.COMPAT), "simulator": "embodiedswe (robobench on Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX)",+ "robot": RIG.robot_spec()["name"], "task_text": TASK["text"] + ("\n\n" + TASK["success"] if TASK.get("success") else ""), "control_hz": CTRL_HZ, "physics_substeps": SUBSTEPS, "physics_hz": 1.0 / env.dt,+ "max_chunk_s": MAX_CHUNK_S, "max_watch_s": MAX_WATCH_S, "max_frames_per_call": MAX_FRAMES,+ "cameras": {c: {"rgb": True, "depth": True, "mounted": v["what"], "resolution": [X.W, X.H], "calibration_in_obs": True,+ "intrinsic_cv": CAM0[c]["intrinsic_cv"], "mount": CALIB[c]["mount"], "depth_range_m": [0.01, 100.0]}+ for c, v in ((v["name"], v) for v in CAMS_OBJ.views)},+ "default_cameras": list(DEFAULT_CAMS),+ "budget": {"reset": 0, "steps": None, "wall_clock_s": float(os.environ.get("RCB_WALL_CLOCK_S", "14400")),+ "default_video_fps": DEFAULT_FPS, "images_per_call": (f"max_frames_per_call = {MAX_FRAMES} images per call (PROTOCOL §3 \"Images per call\"): cameras x the "+ "frames really captured (the first, one every round(control_hz / video_fps) control steps, the last), a "+ "per-frame depth one more image each; video mp4, frames and both capture the same frames, video none only "+ "the first and the last. A call over it is a 400 before anything runs. Defaults: "+ f"cameras {DEFAULT_CAMS}, video_fps {DEFAULT_FPS} (the longest call at the defaults fits)")},+ "action_types": {+ "ee_pose": {"dim": DIM, "layout": list(RIG.layout), "frame": "world (the simulator's world frame, metres; z up)", "quaternion": "wxyz",+ "description": RIG.describe_action(),+ "semantics": (f"targets streamed at the {CTRL_HZ:g} Hz control rate: rows `dt` apart (a multiple of {STEP_S:.6f} s, at most "+ "0.5 s; anything else is a 400, never rounded); between rows linear (positions, joint targets; quaternions "+ "slerped) or hold (`interpolate`); the first row starts from the target in force. Each control step hands "+ "the robot's own controller the target of that step: " + RIG.controller_text() + ". The last row stays in "+ "force after the call (a watch holds it). Joint targets go to the position drives as given (not clipped, "+ "as in EmbodiedSWE): a target past a joint's limit presses the joint against that limit (a firmer grip)."),+ "joint_limits": RIG.action_limits()},+ "not_yet": ["joint_position", "joint_delta", "joint_velocity", "ee_delta", "joint_torque"],+ "note": "joint_position is not offered: these robots are driven through EmbodiedSWE's own task-space controllers (operational-space "+ "torque control, Pink IK), and a joint-position mode would be another controller; use /kinematics to plan in joint space"},+ "proprio_layout": PLAY, "proprio_groups": PGROUPS,+ "static": {},+ "world": {"frame": "the simulator's world frame (one environment, its origin at the world origin); z up; every pose, camera "+ "extrinsic and ee_pose target is in it", "up": "+z", "units": {"length": "m", "angle": "rad", "time": "s"},+ "quaternion_order": "wxyz",+ "camera_axes": "intrinsic_cv / extrinsic_cv: OpenCV camera axes (x right, y down, z forward); cam2world_gl: OpenGL axes (x right, y up, z back)"},+ "max_control_steps": int(R.MAX_STEPS),+ "episode": ("one episode, no reset: it ends after the first call at whose end the task is complete (checked after every "+ "call), " + ("when the hand or a finger touches the bread (the tool-only rule: that disqualifies the episode), " if TOOL else "")+ + f"when your time is up, on a simulator error, or after {int(R.MAX_STEPS):,} control steps "+ f"({R.MAX_STEPS / CTRL_HZ / 3600:.1f} h of simulated time: a technical cap, reason \"step_guard\"); graded as it stands then"),+ "robot_spec": RIG.robot_spec(),+ "kinematics": KIN,+ "depth": {"modes": list(L.DEPTH_MODES), "default": "none", "kind": "z-depth", "unit": "m", "invalid": 0, "max_m": L.DEPTH_MAX_M,+ "frames_encoding": "uint16 mm, zlib", "noise": L.DEPTH_NOISE},+}+L.check_spec(SPEC)+EP.scene_built()+++# ---------------------------------------------------------------- the episode record+def write_final() -> None:+ if L.final_verdict(DATA):+ return+ n = ctrl_steps()+ L._write_json(os.path.join(DATA, "final.json"),+ {"success": bool(E["success"]), "steps": E["step"], "calls": E["calls"], "control_steps": n, "physics_steps": n * SUBSTEPS,+ "elapsed_s": round((E.get("t_end") or time.time()) - E["t0"], 1), "reason": E["reason"], "done": E["done"], "task": PRESET,+ "protocol": PROTOCOL, "finalized": False, **EP.final_fields()})+++def verdict() -> dict:+ """The privileged verdict on the live state (rcb_embodiedswe._final: success, progress, the tool-only record)."""+ try:+ return R._final(env, grader, INST)+ except Exception as exc: # noqa: BLE001 -- the env broken by a failed step: success 0, progress = the rubric's peak+ traceback.print_exc()+ return R._unreadable_final(env, grader, exc)+++def last_frame():+ """The live video's last frame, or None when it would need a render outside the main thread (the collect hook's+ SIGUSR1 runs the end in a thread, and a Kit render from there hangs): after a call the cameras already show the end+ state; only a resumed episode (replayed without rendering) ends without its last frame."""+ if _R["step"] != ctrl_steps() and threading.current_thread() is not threading.main_thread():+ return None+ return video_frame()+++def dump() -> None:+ if E.get("dumped"):+ return+ E["dumped"] = True+ V = dict(E.get("verdict") or verdict())+ # The live episode's ending decides: after a crash and an (approx) resume the verdict comes back from the checkpoint;+ # an episode that ended in success stays a success even when its replayed state reads otherwise, and a tool contact+ # (the disqualification) wins over everything+ if E.get("reason") == "success" and not V.get("success"):+ V.update({"success": True, "success_restored": True})+ if E.get("reason") == "tool_contact" or (TOOL is not None and TOOL.touched):+ V.update({"success": False})+ E["success"] = bool(V.get("success"))+ try:+ TRAJ.frame()+ except Exception as exc: # noqa: BLE001+ log({"ev": "final_frame_error", "error": repr(exc)[:300]})+ try:+ TRAJ.save(os.path.join(DATA, "trajectory.npz"), label="standard", final_sha=V.get("final_sha") or "")+ except Exception as exc: # noqa: BLE001+ traceback.print_exc(); log({"ev": "dump_error", "error": repr(exc)})+ n = ctrl_steps()+ L._write_json(os.path.join(DATA, "episode.json"),+ {**{k: v for k, v in V.items() if k != "final_sha"}, "success": bool(V.get("success")), "live_sha": V.get("final_sha"),+ "steps": E["step"], "calls": E["calls"], "control_steps": n, "physics_steps": n * SUBSTEPS,+ "elapsed_s": round((E.get("t_end") or time.time()) - E["t0"], 1), "reason": E["reason"], "task": PRESET, "protocol": PROTOCOL,+ "n_actions": n, "success_seen_step": E.get("success_step"), **INSTANCE_CHECK, **EP.final_fields(),+ **({"infra_error": 1} if E["reason"] == "infra_error" else {})})+ write_final()+ VIDEO.last(ctrl_steps(), frame=last_frame)+++def finish(reason: str) -> None:+ if E["done"]:+ return+ E["done"] = True; E["reason"] = reason; E["t_end"] = time.time()+ E["verdict"] = verdict(); E["success"] = bool(E["verdict"].get("success"))+ log({"ev": "end", "reason": reason, "step": E["step"], "control_steps": ctrl_steps(), "elapsed_s": round(E["t_end"] - E["t0"], 1),+ "success": E["success"], "progress": E["verdict"].get("progress")})+ dump()+++def check_success() -> bool:+ if TOOL is not None and TOOL.touched:+ return False+ return bool(grader.check_success()[0])+++# ---------------------------------------------------------------- request fields (a 400 before anything runs)+def number(meta: dict, key: str, default: float) -> float:+ v = meta.get(key)+ if v is None:+ return float(default)+ if isinstance(v, bool) or not isinstance(v, (int, float)) or not math.isfinite(v):+ raise ValueError(f"{key} must be a finite number")+ return float(v)+++def choice(meta: dict, key: str, default: str, allowed: tuple) -> str:+ v = meta.get(key)+ if v is None:+ return default+ if not isinstance(v, str) or v not in allowed:+ raise ValueError(f"{key} must be {'|'.join(allowed)}")+ return v+++def cameras(meta: dict) -> list:+ v = meta.get("cameras")+ if v is None:+ return list(DEFAULT_CAMS)+ if isinstance(v, str):+ v = [v]+ if not isinstance(v, (list, tuple)) or not v or not all(isinstance(c, str) for c in v):+ raise ValueError(f"cameras must be a non-empty list of camera names ({', '.join(CAMS)})")+ bad = [c for c in v if c not in CAMS]+ if bad:+ raise ValueError(f"unknown camera(s) {bad}: the cameras are {', '.join(CAMS)}")+ return list(dict.fromkeys(v))+++def video_fps(meta: dict) -> int:+ fps = meta.get("video_fps")+ if fps is None:+ return DEFAULT_FPS+ if isinstance(fps, bool) or not isinstance(fps, (int, float)) or not (1 <= fps <= 30):+ raise ValueError("video_fps must be in [1, 30]")+ return int(fps)+++def note_text(meta: dict) -> str:+ v = meta.get("note")+ if v is None:+ return ""+ if not isinstance(v, str):+ raise ValueError("note must be a string")+ return v[:500]+++def as_400(parse: Callable, *args):+ try:+ return parse(*args)+ except ValueError:+ raise+ except Exception as exc: # noqa: BLE001 -- nothing executed yet: a bad request, not a simulator error+ raise ValueError(f"malformed request: {exc!r}"[:300]) from None+++def every_of(fps: int, video: str = "frames") -> int:+ """The recorder's stride in control steps; video "none" captures only the call's first and last frame."""+ if video == "none":+ return 1 << 62+ return max(1, int(round(CTRL_HZ / max(1, fps))))+++def frames_ok(cams, steps: int, fps: int, depth: str, video: str) -> None:+ """A 400 before anything runs for a call of `steps` control steps over max_frames_per_call (PROTOCOL §3): the frames+ the recorder captures at its stride (rcb_limited.frames_per_call), per-frame depth counted again."""+ n = L.frames_per_call(steps, every_of(fps, video)) if steps > 0 else 1+ L.check_frames(len(cams), n, depth in ("frames", "legacy"), MAX_FRAMES)+++def recorder(cams, fps: int, video: str, depth: str) -> L.Recorder:+ """The shared Recorder; max_images is a guard only (every call is checked before it runs): past the budget it stops+ filming, keeps the last frame and counts frames_skipped."""+ return L.Recorder(cams, every_of(fps, video), grab, proprio_row, extrinsics, ctrl_steps, depth=depth, clock_hz=CTRL_HZ,+ max_images=MAX_FRAMES)+++def proprio_row() -> np.ndarray:+ return RIG.proprio()+++def meta_common(cams) -> dict:+ n = ctrl_steps()+ return {"step": E["step"], "calls": E["calls"], "control_steps": n, "physics_steps": n * SUBSTEPS, "sim_time_s": round(n / CTRL_HZ, 4),+ "time_s": round(L.agent_time(E), 2), "time_left_s": max(0.0, round(SPEC["budget"]["wall_clock_s"] - L.agent_time(E), 1)),+ "proprio": {"layout": PLAY, "now": proprio_row().tolist()}, "done": E["done"], "reason": E["reason"], "cameras": camera_info(cams)}+++def save_call_evidence(idx: int, meta: dict, rec: L.Recorder) -> None:+ """The call's record on disk (meta + last frames); a disk failure here costs the record, never the episode."""+ try:+ d = os.path.join(DATA, "calls", f"{idx:06d}"); os.makedirs(d, exist_ok=True)+ L._write_json(os.path.join(d, "meta.json"), L._jsonable(meta))+ from PIL import Image+ for c in rec.cams:+ if rec.frames[c] and rec.frames[c][-1] is not None:+ Image.fromarray(rec.frames[c][-1]).save(os.path.join(d, f"last_{c}.jpg"), quality=85)+ except Exception as exc: # noqa: BLE001+ log({"ev": "evidence_error", "call": idx, "error": repr(exc)[:300]})+++class InfraError(RuntimeError):+ """A host failure (disk, ffmpeg) after the call ran: the episode ends infra_error, not as the agent's sim error."""+++def respond(out: dict, rec: L.Recorder, video: str, fps: int) -> list:+ """The response parts (the shared layer sizes and builds the body); when the frames/video cannot be built (an+ encoder or disk failure) the call still answers, degraded to what is left: extrinsics, proprio, the per-frame arrays."""+ if rec.skipped:+ out["frames_skipped"] = rec.skipped+ try:+ return rec.parts(video, fps)+ except Exception as exc: # noqa: BLE001+ traceback.print_exc(); log({"ev": "response_error", "error": repr(exc)[:300]})+ out["degraded"] = f"the frames/video could not be built ({type(exc).__name__}): dropped from this response"+ try:+ return rec.parts("none", fps)+ except Exception as exc: # noqa: BLE001+ raise InfraError(f"the response could not be built: {exc!r}"[:300]) from exc+++def executing(fn: Callable) -> Callable:+ """A ValueError once the call has started executing is a simulator error (500), not a bad request (400)."""+ def run(*args):+ try:+ return fn(*args)+ except ValueError as exc:+ raise RuntimeError(f"during execution: {exc}") from exc+ return run+++# ---------------------------------------------------------------- executing+def native_step(native: np.ndarray) -> None:+ """One control step of EmbodiedSWE's native action, as the privileged rollout executes it (recorded, then stepped,+ then the grader records)."""+ import torch+ a = np.asarray(native, dtype=np.float32)+ TRAJ.actions.append(a.copy())+ env.step(torch.as_tensor(a, device=env.device).reshape(1, -1))+ grader.record()+ h = grader.history # bounded: the peak-progress record and the latest one (the verdict reads only the peak)+ if len(h) > 2:+ h[:] = [h[1] if h[1][0]["progress"] > h[0][0]["progress"] else h[0], h[-1]]+ TRAJ.after_step()+++def ctrl_step(target: np.ndarray, rec: L.Recorder) -> bool:+ """One control step towards `target` (a full ee_pose row); journaled. True when the call must stop here."""+ native = RIG.native(target)+ native_step(native); stop = EP.journal(native); rec.tick(); VIDEO.offer(ctrl_steps())+ if TOOL is not None and TOOL.touched:+ finish("tool_contact")+ elif ctrl_steps() >= R.MAX_STEPS:+ finish("step_guard")+ return E["done"] or stop+++def parse_submit(meta: dict, A: np.ndarray) -> tuple:+ typ = meta.get("type")+ if typ == "joint_position":+ raise ValueError("joint_position is not offered by this task (spec.action_types.note): use ee_pose; /kinematics gives FK and IK")+ if not isinstance(typ, str) or typ != "ee_pose":+ raise ValueError(f"type must be ee_pose (not offered: {SPEC['action_types']['not_yet']})")+ dt = number(meta, "dt", STEP_S); interp = choice(meta, "interpolate", "linear", ("hold", "linear"))+ cams = cameras(meta); fps = video_fps(meta); video = choice(meta, "video", "mp4", ("mp4", "frames", "both", "none"))+ note = note_text(meta); depth = L.depth_mode(meta)+ if A.ndim != 2 or A.shape[1] != DIM or A.shape[0] < 1:+ raise ValueError(f"ee_pose actions must be (T, {DIM}) with T >= 1, got {list(A.shape)}")+ if not np.all(np.isfinite(A)):+ raise ValueError("actions contain NaN/inf")+ if not (STEP_S - 1e-9 <= dt <= 0.5 + 1e-9):+ raise ValueError(f"dt must be in [{STEP_S:.6f}, 0.5] s")+ k = dt * CTRL_HZ+ if abs(k - round(k)) > 1e-6:+ raise ValueError(f"dt must be a multiple of the {STEP_S:.6f} s control period (k / {CTRL_HZ:g} s); got {dt}")+ k = int(round(k))+ if A.shape[0] * k * STEP_S > MAX_CHUNK_S + 1e-9:+ raise ValueError(f"chunk longer than max_chunk_s = {MAX_CHUNK_S}: {A.shape[0]} rows x {dt} s")+ RIG.check_rows(A)+ frames_ok(cams, A.shape[0] * k, fps, depth, video)+ return dt, k, interp, cams, fps, video, note, depth+++def do_submit(meta: dict, A: np.ndarray) -> tuple[dict, list]:+ return executing(run_submit)(A, *as_400(parse_submit, meta, A))+++def run_submit(A, dt, k, interp, cams, fps, video, note, depth) -> tuple[dict, list]:+ rec = recorder(cams, fps, video, depth); clipped: list = []+ E["calls"] += 1; step0 = E["step"]; before = ctrl_steps(); rec.tick(force=True)+ prev = np.asarray(E["tgt"], dtype=np.float64)+ for ri, row in enumerate(A):+ E["step"] += 1+ row = np.asarray(row, dtype=np.float64)+ stop = False+ for j in range(1, k + 1):+ t = row if interp == "hold" else X.interp_row(RIG, prev, row, j / k)+ E["tgt"] = [float(v) for v in t]+ if ctrl_step(t, rec):+ stop = True; break+ E["tgt"] = [float(v) for v in row] if not stop else E["tgt"]+ prev = row+ if stop:+ break+ rec.tick(force=True, last=True)+ if not E["done"] and check_success():+ E["success_step"] = ctrl_steps(); finish("success")+ out = {**meta_common(cams), "chunk_id": E["calls"], "type": "ee_pose", "executed_rows": E["step"] - step0,+ "control_steps_chunk": ctrl_steps() - before, "physics_steps_chunk": (ctrl_steps() - before) * SUBSTEPS,+ "clipped": clipped[:200], "n_clipped": len(clipped), "plan": [], "rejected": None, "ok": True}+ log({"ev": "submit", "call": E["calls"], "type": "ee_pose", "rows": E["step"] - step0, "dt": dt, "interpolate": interp, "cameras": cams,+ "note": note, "depth": depth, "control_steps": ctrl_steps() - before, "n_clipped": len(clipped), "done": E["done"],+ **({"stopped": EP.stop_reason} if EP.stopping else {})})+ save_call_evidence(E["calls"], {k_: v for k_, v in out.items() if k_ != "cameras"}, rec)+ return out, respond(out, rec, video, fps)+++def parse_observe(meta: dict) -> tuple:+ cams = cameras(meta); seconds = number(meta, "seconds", 0.0); fps = video_fps(meta)+ video = choice(meta, "video", "frames", ("mp4", "frames", "both", "none")); depth = L.depth_mode(meta)+ if seconds < 0 or seconds > MAX_WATCH_S:+ raise ValueError(f"seconds must be in [0, {MAX_WATCH_S}]")+ steps = int(round(seconds * CTRL_HZ))+ frames_ok(cams, steps, fps, depth, video)+ return cams, seconds, steps, fps, video, depth+++def do_observe(meta: dict) -> tuple[dict, list]:+ return executing(run_observe)(*as_400(parse_observe, meta))+++def run_observe(cams, seconds, steps, fps, video, depth) -> tuple[dict, list]:+ rec = recorder(cams, fps, video, depth); before = ctrl_steps()+ if steps > 0 and not E["done"]:+ rec.tick(force=True)+ hold = np.asarray(E["tgt"], dtype=np.float64)+ for _ in range(steps):+ if ctrl_step(hold, rec):+ break+ rec.tick(force=True, last=True)+ if not E["done"] and check_success():+ E["success_step"] = ctrl_steps(); finish("success")+ else:+ rec.tick(force=True, last=True)+ E["calls"] += 1+ out = {**meta_common(cams), "obs_id": E["calls"], "seconds": seconds, "control_steps_watch": ctrl_steps() - before,+ "physics_steps_watch": (ctrl_steps() - before) * SUBSTEPS, "ok": True}+ log({"ev": "observe", "call": E["calls"], "seconds": seconds, "cameras": cams, "depth": depth, "control_steps": ctrl_steps() - before,+ **({"stopped": EP.stop_reason} if EP.stopping else {})})+ if steps > 0:+ save_call_evidence(E["calls"], {k: v for k, v in out.items() if k != "cameras"}, rec)+ return out, respond(out, rec, video if steps > 0 else ("frames" if video == "mp4" else video), fps)+++def do_kinematics(req: dict) -> dict:+ return RIG.kinematics(req)+++def status() -> dict:+ return {"step": E["step"], "calls": E["calls"], "control_steps": ctrl_steps(), "done": E["done"], "reason": E["reason"],+ "elapsed_s": round(time.time() - E["t0"], 1)}+++def end_from_signal() -> None:+ with LOCK:+ E["exiting"] = True+ if not E["done"]:+ finish("timeout")+ else:+ dump()+ log({"ev": "exit", "reason": "collect hook: episode dumped (graded by the live episode), releasing the simulator"})+ if not os.path.exists(PID_FILE):+ open(PID_FILE, "w").write(str(os.getpid()))+ sys.stdout.flush(); sys.stderr.flush()+ os._exit(0)+++def replay_row(row) -> None:+ """One journaled native row during a resume (nothing rendered)."""+ native_step(np.asarray(row, dtype=np.float64)); RIG.after_replay(row)+++E["tgt"] = [float(v) for v in RIG.hold()]+TRAJ.frame()+VIDEO.offer(0)+resumed = EP.begin(state=E, step=replay_row, state_sha=lambda: R.state_sha(env), proprio=proprio_row, spec=SPEC, on_end=end_from_signal,+ start_event={"task": PRESET, "seed": int(INST["seed"]), "cameras": CAMS, "kinematics_dev_m": round(KIN_DEV, 6),+ **{k: v for k, v in INSTANCE_CHECK.items()}})+if resumed:+ VIDEO.truncate(ctrl_steps())+E["ready"] = True; write_final()+open(PID_FILE, "w").write(str(os.getpid()))+print(f"{PROTOCOL} sim ready: {PRESET} (startup {EP.n_startups}, resumes {EP.resumes})", flush=True)+L.serve(L.Service(spec=SPEC, lock=LOCK, state=E, submit=do_submit, observe=do_observe, kinematics=do_kinematics, status=status,+ on_submit_error=lambda exc: finish("infra_error" if isinstance(exc, InfraError) else "error"), log=log, episode=EP, state_sha=lambda: R.state_sha(env), proprio=proprio_row))diff --git a/images/embodiedswe-files/FILES.json b/images/embodiedswe-files/FILES.jsonindex 0cea471008..f1c91d2c57 100644--- a/images/embodiedswe-files/FILES.json+++ b/images/embodiedswe-files/FILES.json@@ -1,9 +1,9 @@{- "image": "ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b",+ "image": "ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e","source": "embodied_first_exam/benchmarks/embodiedswe","files": {"esw_proxy.py": "4481f808beaf323aaf6aa02de9c859434e8d614a53e132ab9fc28318d68d271e","esw_submit.py": "076b47e8657568344ff571c628ac489872578128253e0b440ab02736fe41dc49",- "rcb_embodiedswe.py": "79d4f44d2b9b3ccf20185b9195151b9122a8cd510261c17ec1f58ee38fcf7149"+ "rcb_embodiedswe.py": "2222062607afdf9ff02042e1a7e2fe140645585cdcbad5888f02d1a9ddbfd93c"}}diff --git a/images/embodiedswe-files/VERSION b/images/embodiedswe-files/VERSIONindex 0d91a54c7d..9e11b32fca 100644--- a/images/embodiedswe-files/VERSION+++ b/images/embodiedswe-files/VERSION@@ -1 +1 @@-0.3.0+0.3.1diff --git a/images/embodiedswe-standard-files/FILES.json b/images/embodiedswe-standard-files/FILES.jsonnew file mode 100644index 0000000000..3b4b3f8400--- /dev/null+++ b/images/embodiedswe-standard-files/FILES.json@@ -0,0 +1,10 @@+{+ "image": "ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee",+ "source": "embodied_first_exam/benchmarks/embodiedswe",+ "files": {+ "sim/esw_std.py": "3670cecfa792274ff4a99af17bf0739dacb6b55544710843a2512e691883742d",+ "sim/finalize.sh": "827f76ce84fd8c47e5fa8e2e894a4d3d82a7117ca7814a492c353f0c57b06e69",+ "sim/live_video.py": "70ecc92d43fcf2bc6e2ac9d37ca88cb17db17c11678f939bc33540746f8d115b",+ "sim/server.py": "76d99cf829e377304da48bf7ddb5bfe4c7a379c6e109b8ceeb99162522188bc5"+ }+}diff --git a/images/embodiedswe-standard-files/VERSION b/images/embodiedswe-standard-files/VERSIONnew file mode 100644index 0000000000..0ea3a944b3--- /dev/null+++ b/images/embodiedswe-standard-files/VERSION@@ -0,0 +1 @@+0.2.0diff --git a/scripts/task_resources.toml b/scripts/task_resources.tomlindex 5d830a36ad..1e4b0ff159 100644--- a/scripts/task_resources.toml+++ b/scripts/task_resources.toml@@ -828,3 +828,13 @@ gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]recommended_gpu = "L40S 48GB / L4 24GB / RTX 4090 24GB"measured = "GPU PhysX on an L40S (nvidia-smi every 2 s, one process on the card): a graded rollout process 3.2-4.6 GiB of GPU memory, a process with cameras (the video) 6.6-7.0 GiB; a fresh process starts and builds a scene in 13-27 s with a warm Kit cache"caps_measured = "GPU memory: 7.0 GiB (a process with cameras, L40S) -> max(1.5 x peak, peak + 2) = 10.5, at least 16 GiB for Isaac Sim: 16 GiB; disk: 0.9 GiB at most in 3 four-hour agent trials (the trial's resource monitor) -> at least 10 GiB: 10 GiB; memory, CPU, processes and threads: no reliable per-container measurement (those trials' monitor ran before GPU PhysX and saw under 2.5 GiB, less than one Isaac Sim process holds), kept at the earlier caps (29 GiB, 8 CPUs, 16384)"++# 24 task(s)+[[cap]]+match = "^embodiedswe-.*-standard$"+main = { cpus = 8, memory_gb = 24, pids = 1024, disk_gb = 10 }+sim = { cpus = 8, memory_gb = 24, pids = 2048, gpu_memory_gb = 18 }+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]+recommended_gpu = "L40S 48GB / L4 24GB / RTX 4090 24GB"+measured = "the sim service of every one of the 24 scenes on an L40S (48 vCPU host), started alone and given the two largest legal calls (a watch at the full frame rate, every camera, video both, 240 images; the same with depth frames, 120 + 120): cgroup memory 12.5-15.4 GiB idle, memory.peak at most 14.89 GiB, GPU memory at most 11.5 GiB (bulb, three cameras), 239-246 threads; re-measured with the final service (shared layer standard-files-0.4.0, 12 warm-up renders) on the two largest: clear_organic_objects memory.peak 15.61 GiB (15.4 idle), GPU 9.0 GiB; bulb 14.41 GiB, GPU 11.5 GiB, 245 threads; Harbor oracle trials (stack_blocks, fruit_delivery; the resource monitor): the sim 13.2-13.9 GiB, 6.9-8.1 GiB of GPU memory, CPU at its cap (8), 239 threads; the oracle's client 0.03 GiB, 52 threads"+caps_measured = "the sim service: memory max(1.5 x 15.61, 15.61 + 3) = 23.4 -> 24 GiB (the largest legal call adds at most 1.4 GiB to a 15.4 GiB service: within it); GPU memory max(1.5 x 11.52, 11.52 + 2) = 17.3 -> 18 GiB (at least 16 for Isaac Sim); threads 246 on a 48 vCPU host (Isaac Sim's thread pools grow with the host's cores) -> 2048, room for a host with four times the cores; CPU at its cap in every reading: 8 (the privileged twins' value); main: no agent trial yet, the shared client's caps of RoboLab's standard tasks (the same image), kept until agent trials are measured"diff --git a/tasks/embodiedswe/README.md b/tasks/embodiedswe/README.mdindex e2bcf72dab..366f3a021a 100644--- a/tasks/embodiedswe/README.md+++ b/tasks/embodiedswe/README.md@@ -3,8 +3,10 @@EmbodiedSWE's robot benchmark (`robobench`, commit `67f44e8a2ca5`) on Isaac Lab 2.3.2 / Isaac Sim 5.1, PhysX on theGPU: the agent writes a program, `solution/solve.py` exposing `solve(env)`, that completes a manipulation orloco-manipulation task by stepping the env. `simulator = "embodiedswe"`. 24 tasks (assembly, packing, puzzle, cutting-and loco-manipulation scenes, one frozen instance each), privileged mode, `task_type = "policy"`, in the full set only:-EmbodiedSWE's 28 published tasks without its 4 deformable ones (they need Newton physics and a networked VLM judge).+and loco-manipulation scenes, one frozen instance each), in the full set only: EmbodiedSWE's 28 published tasks without+its 4 deformable ones (they need Newton physics and a networked VLM judge). Each is in privileged mode+(`task_type = "policy"`) and, as `<task>-standard`, in standard mode (`task_type = "trajectory"`, "Standard mode" below);+all 24 scenes are static, so there is no standard-realtime mode.| Task | Preset | Robot ||---|---|---|@@ -43,7 +45,8 @@ from the frozen instance (EmbodiedSWE's own build and seeded reset, GPU PhysX),without network or GPU, behind a proxy env (`embodied_first_exam/benchmarks/embodiedswe/esw_proxy.py`): reads returncopies, `env.step(action)` steps the simulator, everything else is refused. A candidate's process has EmbodiedSWE'srollout limit, 1800 s of wall clock from its start (the simulator's start-up and the import of `solve.py` count); then-it gets SIGTERM, the solve is ended and the verdict is read on the state at that moment; 30 s later, SIGKILL. A process+it gets SIGTERM, the solve is ended and the verdict is read on the state at that moment; 30 s later, SIGKILL. A request+still being served then (a long `env.step`) ends the same way: `solve_status` `timeout`, graded, not an error. A processthat ends without a verdict while solving scores 0; in any other phase it is the verifier's error (`infra_error`).The verdict is EmbodiedSWE's: success = the grader's end predicate (the cutting and SO101 scenes have no `success()`:their graders' predicates, enough pieces and all of them on the board, and every screw fastened with the servo and@@ -95,13 +98,95 @@ Differences from EmbodiedSWE's own grading, on purpose:in the simulator's process.- One frozen instance per task, seed 0 (EmbodiedSWE's harbor protocol averages over its seeds).- The video poses the selected run's recorded states after the verdict; EmbodiedSWE renders live during the run when- asked to. Drawing frames between physics steps can change GPU PhysX's later bits (measured: in the stack scene a- rendered run ends elsewhere; in SO101's it does not), so the graded run draws nothing.+ asked to. Cameras in the scene change GPU PhysX's later bits (measured: in the stack scene a run with cameras ends+ elsewhere, in SO101's it does not; drawing the frames itself changes nothing, "Standard mode"), so the graded run+ has no cameras.- The spatula scene's tool-only rule is checked. EmbodiedSWE states it in the scene's description and leaves it tothe harness, whose grading does not check it.- A malformed submissions directory (an entry that is not a checkpoint, more than 64 checkpoints) leaves those entriesungraded with score 0 instead of failing the whole evaluation.+## Standard mode (eai-standard/2.2)++`<task>-standard` is the privileged task's twin: the same frozen instance (`environment/sim/instance.json`, byte for+byte), grader and time limit. The simulator runs in the `sim` sidecar (`embodied_first_exam/benchmarks/embodiedswe/sim/`:+`server.py` on the shared layer, `esw_std.py` for the robots, cameras and kinematics; files image+`embodiedswe-standard-files`), built by the privileged tooling (`rcb_embodiedswe.py`: the same build and start-state check);+the agent's container holds the shared client only. No reset. The episode ends after the first call at whose end the+grader's success predicate holds, when the agent's time is up, on a simulator error, on a tool contact (spatula) or at+400,000 control steps (`step_guard`, a technical cap). Graded by the live episode (`final.json` from the service, no+replay): success is the grader's predicate on the live state, `progress` its rubric's peak; the spatula scene's tool-only+rule is the privileged one and disqualifies the episode. A success that ended the episode stays a success through a+crash and resume (the verdict is checkpointed); a tool contact still wins over it. The 400,000-step cap is 7.4 h of+simulated time for a Franka (15 Hz) and 1.9 h for the G1 (60 Hz), which a G1 episode can reach within the 4 h limit+(26 ms per control step on an L40S); the instructions state it. Simulated time advances only inside calls.++Success texts: each standard instruction (and `/spec`'s `task_text`) states the grader's predicate in one+paragraph ("Success, exactly: ..."), every threshold equal to the grader's effective value for that preset, objects+named by appearance or starting place, upstream identifiers only in brackets (PROTOCOL §5).++World-frame information: the standard texts may give world coordinates of fixed fixtures and goal regions (EmbodiedSWE's+own task texts do, e.g. box_to_bin's bin and wheel_carry's basket zone, and the success texts give the grader's goal+points and zones; the world frame is `/spec`'s `world`, its origin at the robot's start spot on the floor for the+walking G1), never the start pose of a movable object, an object's state or the success predicate's internals beyond+its thresholds. Camera calibration is given, so a calibrated camera also tells where the workspace is.++Differences from the privileged twin: one live episode graded as it ran (no candidates, no checkpoints, no 1800 s+rollout limit: the agent's 4 h are the episode's wall clock); the episode ends at the first call whose end satisfies the+predicate (privileged: the predicate on the rollout's final state); a simulator error ends the episode (reason `error`,+graded as it stands), where a privileged `solve()` sees the exception from `env.step` and may catch it and go on; cameras,+depth and proprioception only; a Franka row is the pose the operational-space controller latches (privileged: its+native 6-D delta), a G1 row is the native action.++Actions: `ee_pose` only, rows streamed at the control rate with the agent's `dt` (a multiple of the control period, at+most 0.5 s; a chunk at most 10 s), linear (quaternions slerped) or hold. A row is EmbodiedSWE's own controller target:+- Franka (`*.franka.osc`, `*.bimanual_franka.osc`; 15 Hz): per arm the world pose of `panda_hand` and the two finger+ targets (9 per arm). Each control step gives the operational-space controller the 6-D action that latches exactly that+ pose as its target (its action smoothing inverted); torque law, gains and the 100 N·m clamp are EmbodiedSWE's.+- G1 (`*.g1.pink_ik`, `*.g1.loco_pink_ik`; 60 Hz): the native action, two wrist poses and 14 hand joint targets, then the+ base command `[vx, vy, wz, hip_height]` when walking (switched at the row).++`joint_position` is not offered: the arms are driven by task-space controllers, and a joint-position mode would be+another controller (`/kinematics` gives FK and IK to plan in joint space). Joint targets are not clipped, as in EmbodiedSWE.++Cameras (640×480 RGB, `distance_to_image_plane` depth) from EmbodiedSWE's own declarations: the scene's `CAMERAS` at+their nominal pose, `overview` (the room's camera) and the Franka's `wrist` (`left_wrist` / `right_wrist` on two arms).+The G1 declares none, so `head` sits where the real G1 carries its D435 (Unitree's `d435_joint` on `torso_link`). They+are created before the env's only `sim.reset()`, and the start state still matches the frozen instance. wheel_carry+declares its views in world heights (their targets on its 0.694 m table tops); robobench's replay adds `surface_z` to+every scene's views, which would put these 0.69 m too high, so they are used as declared. The service renders 12+warm-up frames before the first one (a new view's first frames are noisy without the renderer's history).+`max_frames_per_call` = 240 images (cameras × frames: the first, one every control_hz / video_fps control steps, the+last; per-frame depth counted again; `video="none"` takes the first and the last frame only), checked before a call+runs (a 400): the largest legal response, 240 RGB frames and their mp4s, stays under the shared layer's 256 MiB limit+(measured with the final service: sim memory peak 15.6 GiB on clear_organic_objects, GPU 11.5 GiB on bulb). A call that names no cameras gets one static view (`front`, `wide`, else `overview`) and the+robot's own cameras, at the highest rate up to 5 fps at which a 30 s watch fits (one Franka 4 fps, two Frankas 2, the+G1 3; `/spec`'s `default_cameras` and `budget.default_video_fps`), so every call legal at the defaults is answered in full; an+unknown camera name is a 400. `/kinematics`:+pinocchio on the kinematics URDF robobench ships (the Franka arm; the G1's upper body). Proprio: 42 columns per Franka arm,+172 for the G1 (176 walking).++Video: a live recording (`live.mp4`: every camera tiled, 5 frames per second of simulated time). Crash recovery: every control+step journaled; resume class `approx`. GPU PhysX makes a run reproducible only in the same process history: cameras in+the scene, and the service's start-up reads of the articulation (its spec and calibration), change the later bits+(measured on an L40S). The service repeats itself bit for bit, but an action sequence recorded in another process can+diverge in it (the fruit-delivery reference did); an open-loop sequence must be recorded on the service's own start-up.+The grader's per-step history is kept bounded (the peak-progress record and the latest), so a long episode does not grow+the service's memory with it.++Start-up and resume (docs/protocol/standard_mode.md §13.4-13.5): the Kit cache is a trial-scoped volume, so every trial+starts cold. From the service's start to its scene, calibration and start-state check: 217 to 275 s (L40S, other trials+on the host; a warm cache is no faster), against `RCB_STARTUP_TIMEOUT_S` = 900 s. A resume replays the journal without+rendering, on the agent's wall clock, at about the scene's control-step cost (`env.step` alone: stack 26 ms, fruit+delivery 43 ms, spatula 138 ms, SO101 377-394 ms per step); measured through the service: 3,000 stack_blocks steps in+172 s (57 ms per step, the replayed state exact). The collect hook waits up to 2700 s for the episode's end through a+resume (at these rates about 7,000 SO101 or 47,000 stack steps); past that the trial is the verifier's error+(`infra_error`), never a score.++Positive examples: no reference solution ships. The internal references of two scenes, recorded as `ee_pose` rows on+the service's start-up and streamed through the client, score 1 (Harbor, L40S): stack_blocks and fruit_delivery. The+other 22 have no positive example yet. `nop` scores 0 on all 24.+## Time budgetThe limit is EmbodiedSWE's rollout limit, 1800 s per candidate, start-up and import included. Measured on an L40S hostdiff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/DIGESTindex aef37d77ed..a722830766 100644--- a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:39dbac0639151557aed5a7a7ab515fc90d0bffb7b6016e17830ec92fe6faa4ac+sha256:580fbe78a6a625a9988a18d495b81ad3755e6df0d72c7af1b376ecb3c4288adbdiff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/README.mdindex 6b4f5246e8..118136b14e 100644--- a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-assembly-allen-bolt-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda` || Family / instance | `assembly.allen_bolt.franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..a9dd355ec7--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:5f9ff485b429ff93ca773f21eb96b746df88d383b91058b29b99dc4deaef87fadiff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..bcb1e5629e--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-assembly-allen-bolt-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda` |+| Family / instance | `assembly.allen_bolt.franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Drive an allen bolt home with an L-key (Franka, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged`, with a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/allen_bolt_assembly.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..d810d21baa--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-allen-bolt-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/grader/allen_bolt_assembly.py b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/grader/allen_bolt_assembly.pynew file mode 100644index 0000000000..59ac695768--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/grader/allen_bolt_assembly.py@@ -0,0 +1,77 @@+"""Grader for the allen_bolt scene: every bolt driven home with the key.++Rubric stages (weights and modes live in RUBRIC):+ key_grasped a key has been taken in the weld-on-closure grip (`scene.grasp_held`, any+ key, either arm) — the scene's own grasp state; a milestone, latched. Also+ true once every bolt is seated (a seated bolt was necessarily driven by+ the key), so the rung nests under `driven`. Under an embodiment with no+ gripper (the weld contract disabled, e.g. robot="null") the grasp state does+ not exist and the rung reads from that implication alone+ driven mean over bolts of the tip's depth from the start register to the seat —+ `bolt_stage_depth` -> `seat_depth` when the bolts spawn hand-started+ (`bolt_staged`, every robot binding), plate top (depth 0) -> `seat_depth`+ for the lying spawn — counted only while the bolt is within `align_xy` of the+ hole axis and `align_axis_deg` of upright, the scene's own non-depth seat+ gates, so a bolt's value is 1.0 iff the scene calls it seated+Both stages are per env. The key's own "seated in the hex socket" step is NOT a rung: the+head/socket geometry is not in the scene cfg, so it cannot be read from state without an+invented tolerance. Success is the scene's `success()` per env (every bolt `seated()`),+read when the delivery finishes.+"""++from __future__ import annotations++import math++from robobench.core import BaseGrader+from robobench.suites.assembly.scenes.allen_bolt_assembly import AllenBoltAssemblyScene+++class AllenBoltAssemblyGrader(BaseGrader):+ """Every bolt seated — driven down to seat depth with the key, upright on the hole axis.++ Ladder: key_grasped 0.50 · driven 1.00 — two equal rungs for the two measurable steps+ (take the key, drive the bolt home); the second is a linear ramp of tip depth from the+ bolt's start register (`bolt_stage_depth`, or the plate top for a lying spawn) to+ `seat_depth`. With N bolts `driven` is the mean over bolts.+ """++ SCENE = AllenBoltAssemblyScene+ RUBRIC = (("key_grasped", 1, "once"), ("driven", 1))+ scene: AllenBoltAssemblyScene++ def setup(self) -> None:+ import torch++ c = self.scene.cfg+ self._depth0 = c.bolt_stage_depth if c.bolt_staged else 0.0 # tip depth at the start+ # `grasp_held` exists only while the weld contract is live (a gripper on the stage).+ self._has_grasp = hasattr(self.scene, "grasp_held")+ self._grasped = torch.zeros(self.num_envs, dtype=torch.bool,+ device=self.scene.engaged().device) # latch: a key ever held++ def check_success(self):+ return self.scene.success() # (num_envs,) — every bolt of that env seated++ def _in_hole(self):+ """(aligned, drive), each (num_envs, num_bolts): whether the bolt passes the scene's+ xy + tilt seat gates in its nearest platform, and its tip-depth fraction from the+ start register to the seat."""+ c = self.scene.cfg+ off = self.scene._bolt_offsets_in_platform() # (n, B, P, 3) — privileged read+ near_dist = off[..., :2].norm(dim=-1).min(dim=-1).values+ aligned = (near_dist <= c.align_xy) & (+ self.scene._bolt_axis_cos() >= math.cos(math.radians(c.align_axis_deg)))+ depth = self.scene.engaged() # (n, B) tip depth below the plate top (m)+ drive = ((depth - self._depth0) / (c.seat_depth - self._depth0)).clamp(0.0, 1.0)+ return aligned, drive++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] ---------------------+ def key_grasped(self):+ if self._has_grasp:+ self._grasped |= self.scene.grasp_held.any(dim=1)+ return (self._grasped | self.scene.success()).float()++ def driven(self):+ aligned, drive = self._in_hole()+ return (aligned * drive).mean(dim=1)diff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..431952b724--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,157 @@+{+ "action_dim": 8,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.004166666666666667,+ "preset": "assembly.allen_bolt.franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/bolt_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/bolt_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/key_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/key_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/platform_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/platform_0/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.41999998688697815,+ 0.0,+ 0.03310199826955795,+ 0.9479636549949646,+ 0.0,+ 0.0,+ 0.3183785080909729,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.25999999046325684,+ 0.18000000715255737,+ 0.007499999832361937,+ 0.5,+ 0.5,+ 0.5,+ 0.5,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.41999998688697815,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "ead190de941f16a71c3118edd1ff72f1ed4820d1c204114e7978930c076ed7ce"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..23b77c66a6--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "assembly.allen_bolt.franka.osc",+ "grader": "grader/allen_bolt_assembly.py",+ "title": "Drive an allen bolt home with an L-key (Franka, operational-space control)",+ "text": "1 small steel platform standing fixed on a sturdy table, each with an M16 threaded hole through its plate, and beside it: 1 L-shaped allen key lying on the table — the hole's M16 allen (socket-head) bolt already stands in it hand-started, a couple of turns captured. The hole carries real threads; the bolt head carries a 14 mm hex socket.\nGoal: seat the key in the bolt's socket and drive it down (turn clockwise while pressing) until it seats. A seated bolt locks in place. The task is complete once the bolt is seated. The key holds in a firm pinch: close the fingers across either arm's hex and the grip locks; open wide to release.",+ "success": "Success, exactly: at the end of the run, the M16 allen bolt standing in the small steel platform's threaded hole has its threaded tip at least 22 mm below the top face of the platform's plate (it starts hand-started with the tip 4.898 mm below that face; the head bottoms out at 24.8 mm), the tip lies within 4 mm horizontally of the hole's vertical axis, and the bolt's axis, tip to head, is within 5° of the hole axis (head up). The depth part does not hold at the start; the position and tilt parts do. Nothing is required of the key or the gripper, and there is no speed condition. [scene.success() = every bolt seated(); bolt origin = its thread tip; plate top 0.038 m above the platform origin on the table top; platform at world (0.42, 0, 0)]"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..6aa06d87b5--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/instruction.md@@ -0,0 +1,27 @@+# Drive an allen bolt home with an L-key (Franka, operational-space control) — standard mode++The task of `embodiedswe-assembly-allen-bolt-franka-osc-i00-privileged`, on the same frozen scene. You drive a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, 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+1 small steel platform standing fixed on a sturdy table, each with an M16 threaded hole through its plate, and beside it: 1 L-shaped allen key lying on the table — the hole's M16 allen (socket-head) bolt already stands in it hand-started, a couple of turns captured. The hole carries real threads; the bolt head carries a 14 mm hex socket.+Goal: seat the key in the bolt's socket and drive it down (turn clockwise while pressing) until it seats. A seated bolt locks in place. The task is complete once the bolt is seated. The key holds in a firm pinch: close the fingers across either arm's hex and the grip locks; open wide to release.++Success, exactly: at the end of the run, the M16 allen bolt standing in the small steel platform's threaded hole has its threaded tip at least 22 mm below the top face of the platform's plate (it starts hand-started with the tip 4.898 mm below that face; the head bottoms out at 24.8 mm), the tip lies within 4 mm horizontally of the hole's vertical axis, and the bolt's axis, tip to head, is within 5° of the hole axis (head up). The depth part does not hold at the start; the position and tilt parts do. Nothing is required of the key or the gripper, and there is no speed condition. [scene.success() = every bolt seated(); bolt origin = its thread tip; plate top 0.038 m above the platform origin on the table top; platform at world (0.42, 0, 0)]++## This robot+- Action: `ee_pose` only, 9 values: the world pose of `panda_hand` (`x y z qw qx qy qz`) and the two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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 `wrist` (on the hand). 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(15 / `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`, `wrist` at 4 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..c2942df759--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard"+description = "EmbodiedSWE assembly.allen_bolt.franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "assembly", "screwing", "allen-key", "franka", "assembly.allen_bolt.franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda"+family = "assembly.allen_bolt.franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 3.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..d810d21baa--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-allen-bolt-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-allen-bolt-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/DIGESTindex a8391f18a7..830c5e0676 100644--- a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:4a2484ca6c4c8a1bcfbe1b1be4d4834519b4cb9babb465ee5be25c7f34eb2b0b+sha256:da30d69aa30251506b36175ddbe8ce8b54647f0226d442bb44f7268addfae971diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/README.mdindex fc35ea1f5b..2a26a2a037 100644--- a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-assembly-bulb-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda` || Family / instance | `assembly.bulb.franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..67d98f55c9--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:4098db1d1713e3564e154b3541e763c1034ead6418764ade20675506207126dcdiff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..57c0f26c23--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-assembly-bulb-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-assembly-bulb-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda` |+| Family / instance | `assembly.bulb.franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Screw a light bulb into its socket (Franka, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-assembly-bulb-franka-osc-i00-privileged`, with a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/bulb_assembly.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..0867cdcfaa--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-bulb-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/grader/bulb_assembly.py b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/grader/bulb_assembly.pynew file mode 100644index 0000000000..a1451ab297--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/grader/bulb_assembly.py@@ -0,0 +1,78 @@+"""Grader for the bulb scene: every bulb seated.++Rubric stages (weights and modes live in RUBRIC), each a fraction over that env's bulbs:+ lifted bulbs ever raised to the socket's bore-mouth height — origin at/above+ `socket_opening_z` in the nearest socket's frame, the height a cap-down bulb+ has to clear before it can be set on the socket — or already in a bore (a bulb+ in the bore was necessarily lifted there); a milestone, latched per bulb+ engaged bulbs on/in a socket bore — within `align_xy` of the axis and at/below the+ bore mouth (`socket_opening_z`)+ threaded mean thread depth over the scene's own glow band, from `light_start_z` (free+ rest on the thread, where the glow begins) to `seat_z` (seated), counted only+ while the bulb is aligned in xy AND tilt exactly as the scene's `seated()`+ demands — so a bulb's value is 1.0 iff the scene calls it seated+The rungs nest (seated => engaged => lifted), so progress reaches 1.0 exactly when every+bulb of the env is seated, and for a grader built after the pick as well as one that+watched it. Success is the scene's `seated()` per env, read when the delivery finishes.+"""++from __future__ import annotations++import math++from robobench.core import BaseGrader+from robobench.suites.assembly.scenes.bulb_assembly import BulbAssemblyScene+++class BulbAssemblyGrader(BaseGrader):+ """Every bulb seated — threaded to depth, on the socket axis, upright.++ Ladder: lifted 0.33 · engaged 0.67 · threaded 1.00 — three equal rungs for the three+ steps of the task (pick the bulb up, set it on the socket, screw it home); the last+ rung is a linear ramp of thread depth over the scene's own glow band+ (`light_start_z` -> `seat_z`). With N bulbs every stage is the fraction of bulbs.+ """++ SCENE = BulbAssemblyScene+ RUBRIC = (("lifted", 1, "once"), ("engaged", 1), ("threaded", 1))+ scene: BulbAssemblyScene++ def setup(self) -> None:+ import torch++ z, _, _, _ = self._in_socket()+ self._lifted = torch.zeros_like(z, dtype=torch.bool) # per-bulb latch: ever lifted++ def check_success(self):+ return self.scene.seated().all(dim=1) # (num_envs,) — every bulb of that env++ def _in_socket(self):+ """(height, engaged, aligned, thread), each (num_envs, num_bulbs): the bulb origin's+ height above its nearest socket's origin, whether it is in that bore, whether it+ passes the scene's xy + tilt seat gates, and its thread-depth fraction."""+ import torch++ c = self.scene.cfg+ off = self.scene._bulb_offsets_in_socket() # (n, N_bulb, B_socket, 3) — privileged read+ near_dist, near = off[..., :2].norm(dim=-1).min(dim=-1)+ z = torch.gather(off[..., 2], 2, near.unsqueeze(-1)).squeeze(-1)+ xy_ok = near_dist <= c.align_xy+ engaged = xy_ok & (z <= c.socket_opening_z)+ aligned = xy_ok & (self.scene._bulb_axis_cos() >= math.cos(math.radians(c.align_axis_deg)))+ thread = ((c.light_start_z - z) / (c.light_start_z - c.seat_z)).clamp(0.0, 1.0)+ return z, engaged, aligned, thread++ # ---- rubric stages — each returns a (num_envs,) fraction over that+ # env's bulbs ------------------------------------------------------------+ def lifted(self):+ z, engaged, _, _ = self._in_socket()+ self._lifted |= (z >= self.scene.cfg.socket_opening_z) | engaged+ return self._lifted.float().mean(dim=1)++ def engaged(self):+ _, engaged, _, _ = self._in_socket()+ return engaged.float().mean(dim=1)++ def threaded(self):+ _, _, aligned, thread = self._in_socket()+ return (aligned * thread).mean(dim=1)diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..1166834925--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,144 @@+{+ "action_dim": 8,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.004166666666666667,+ "preset": "assembly.bulb.franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/articulation/socket_0/joint_position",+ [+ 1,+ 0+ ]+ ],+ [+ "/articulation/socket_0/joint_velocity",+ [+ 1,+ 0+ ]+ ],+ [+ "/articulation/socket_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/socket_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/bulb_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/bulb_0/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.4099999964237213,+ 2.2737367544323206e-13,+ 0.0,+ 1.0,+ -6.251449011229759e-13,+ -5.737126268848258e-14,+ 1.3771561668818322e-09,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.25798091292381287,+ 0.2503335773944855,+ 0.024000000208616257,+ 0.7071067690849304,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "57ccacd9ddad53b98d180579a301c994eba44b77aa3db8c305ea515c10a17526"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..27fd1bdce6--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "assembly.bulb.franka.osc",+ "grader": "grader/bulb_assembly.py",+ "title": "Screw a light bulb into its socket (Franka, operational-space control)",+ "text": "1 lamp socket standing upright, fixed on a sturdy table, and 1 loose light bulb lying on the table beside it, ready to be picked up and fitted. Each socket carries a real internal thread.\nGoal: pick up the bulb, set it on the socket, and screw it down (turn it clockwise while pressing down) until it seats. A seated bulb is held by its thread, and GLOWS ever brighter as it screws home — from a faint orange at first electrical contact to fully bright warm white exactly when seated. The task is complete once the bulb is seated.",+ "success": "Success, exactly: at the end of the run, the light bulb's lowest point (the bottom tip of its metal screw cap) is at most 27 mm above the base of the fixed lamp socket where it stands on the table (the socket's bore mouth is 38.5 mm above that base; a bulb merely resting on the mouth sits at about 35 mm or more), that point lies within 15 mm horizontally of the socket's vertical axis, and the bulb's axis from cap to glass is within 12° of the socket axis (glass up). Not true at the start (the bulb lies on the table beside the socket). No speed or release condition. [grader: seated().all(); bulb origin = its lowest point; socket origin on the table top at world (0.41, 0, 0)]"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..7c3c25d929--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/instruction.md@@ -0,0 +1,27 @@+# Screw a light bulb into its socket (Franka, operational-space control) — standard mode++The task of `embodiedswe-assembly-bulb-franka-osc-i00-privileged`, on the same frozen scene. You drive a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, 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+1 lamp socket standing upright, fixed on a sturdy table, and 1 loose light bulb lying on the table beside it, ready to be picked up and fitted. Each socket carries a real internal thread.+Goal: pick up the bulb, set it on the socket, and screw it down (turn it clockwise while pressing down) until it seats. A seated bulb is held by its thread, and GLOWS ever brighter as it screws home — from a faint orange at first electrical contact to fully bright warm white exactly when seated. The task is complete once the bulb is seated.++Success, exactly: at the end of the run, the light bulb's lowest point (the bottom tip of its metal screw cap) is at most 27 mm above the base of the fixed lamp socket where it stands on the table (the socket's bore mouth is 38.5 mm above that base; a bulb merely resting on the mouth sits at about 35 mm or more), that point lies within 15 mm horizontally of the socket's vertical axis, and the bulb's axis from cap to glass is within 12° of the socket axis (glass up). Not true at the start (the bulb lies on the table beside the socket). No speed or release condition. [grader: seated().all(); bulb origin = its lowest point; socket origin on the table top at world (0.41, 0, 0)]++## This robot+- Action: `ee_pose` only, 9 values: the world pose of `panda_hand` (`x y z qw qx qy qz`) and the two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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): `front`, `overview` (static) and `wrist` (on the hand). 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(15 / `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 `front`, `wrist` at 4 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..ed7a997d9c--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-assembly-bulb-franka-osc-i00-standard"+description = "EmbodiedSWE assembly.bulb.franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "assembly", "screwing", "franka", "assembly.bulb.franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda"+family = "assembly.bulb.franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 3.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..0867cdcfaa--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-bulb-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-bulb-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/DIGESTindex f1dee2cc63..bfe4f81682 100644--- a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:66b16b9880263e4b5ee39a544b52d5ec715bab4c7a1cd36abc4a28b905a54793+sha256:90e0c0ccf0a31cf5b5e7f12edf458de93362598bc9726abd72875df5bc59cdafdiff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/README.mdindex 37e90b6811..41cb29ec7e 100644--- a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda-bimanual` || Family / instance | `assembly.ikea_table.bimanual_franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..84748accb3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:fe99be34101fefc15f56c62235bff66aec4654a094ae024aaf579027041821d3diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..6da390cbec--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda-bimanual` |+| Family / instance | `assembly.ikea_table.bimanual_franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Screw the four legs onto a side table (two Frankas, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged`, with two Franka Panda arms with parallel grippers, each under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/ikea_table_assembly.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..7a5fe13ef2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/grader/ikea_table_assembly.py b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/grader/ikea_table_assembly.pynew file mode 100644index 0000000000..c85f374a67--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/grader/ikea_table_assembly.py@@ -0,0 +1,69 @@+"""Grader for the ikea_table scene: all four legs screwed down onto the tabletop's studs.++The four legs are identical sub-goals, so every rung is ONE stage whose value is the fraction+of legs (k/4) that have reached it. The scene has no grasp contract and exposes no threshold+for "lifted", so a grasped/lifted rung cannot be measured from state and is not one; per leg+the ladder is aligned -> seated, equal weights, all measured in the tabletop's own frame+(order-independent: any leg on any stud, as the scene's `seated()` is):+ aligned legs standing on a stud — within `align_xy` of the nearest stud and screw axis+ within `align_axis_deg` of the stud axis: the scene's own two non-depth seat gates+ seated mean over legs of the screw-down from the stud-top rest height (`leg_start_z`, the+ scene's on-stud spawn height) to the seat (`seat_z`), counted only while aligned —+ so a leg's value is 1.0 iff the scene calls it `seated()`+The rungs nest (seated => aligned), so progress reaches 1.0 exactly when every leg is seated.+The scene welds a seated leg to the table, so a welded leg stays `seated()` however the+assembly is later moved. Success is the scene's own `success()` (every leg `seated()`), read+when the delivery finishes.+"""++from __future__ import annotations++import math++from robobench.core import BaseGrader+from robobench.suites.assembly.scenes.ikea_table_assembly import IkeaTableAssemblyScene+++class IkeaTableAssemblyGrader(BaseGrader):+ """All four legs seated on the studs — each threaded down to depth, on a stud axis, upright.++ Ladder (per leg, each rung 1/8): aligned 1/8 · seated 2/8;+ 1 leg 0.25 · 2 legs 0.50 · 3 legs 0.75 · 4 legs 1.00 — two equal rungs for the two+ measurable steps of each leg (set it on its stud, screw it down); the second is a linear+ ramp of the leg's height from the stud-top rest height (`leg_start_z`) to the seat (`seat_z`).+ """++ SCENE = IkeaTableAssemblyScene+ # Equal weights: the two rungs of one leg's ladder; every stage is a k/4 fraction.+ RUBRIC = (("aligned", 1), ("seated", 1))+ scene: IkeaTableAssemblyScene++ def setup(self) -> None:+ pass # every rung reads the live state against the scene's cfg; nothing to capture++ def check_success(self):+ return self.scene.success() # (num_envs,) — every leg of that env seated++ def _on_stud(self):+ """(aligned, thread), each (num_envs, num_legs): whether the leg passes the scene's+ xy + tilt seat gates at its nearest stud, and its screw-down fraction from the+ stud-top rest height to the seat."""+ import torch++ c = self.scene.cfg+ off = self.scene._leg_offsets_in_table() # (n, L, 3): leg position in the slab frame+ studs = torch.tensor(c.slots, device=off.device, dtype=off.dtype) # (S, 2)+ near = (off[:, :, None, :2] - studs[None, None]).norm(dim=-1).amin(dim=-1)+ aligned = (near <= c.align_xy) & (+ self.scene._leg_axis_cos() >= math.cos(math.radians(c.align_axis_deg)))+ thread = ((c.leg_start_z - off[..., 2]) / (c.leg_start_z - c.seat_z)).clamp(0.0, 1.0)+ return aligned, thread++ # ---- rubric stages — each returns a (num_envs,) fraction over that env's legs -----------+ def aligned(self):+ aligned, _ = self._on_stud()+ return aligned.float().mean(dim=1)++ def seated(self):+ aligned, thread = self._on_stud()+ return (aligned * thread).mean(dim=1)diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..a164058fbd--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,270 @@+{+ "action_dim": 16,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.008333333333333333,+ "preset": "assembly.ikea_table.bimanual_franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/left/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/left/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/left/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/left/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/articulation/right/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/right/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/right/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/right/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/leg_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/leg_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/leg_1/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/leg_1/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/leg_2/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/leg_2/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/leg_3/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/leg_3/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/tabletop/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/tabletop/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.949999988079071,+ 0.0,+ 0.9940000176429749,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.25,+ -0.25,+ 0.9940000176429749,+ 0.0,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.05000000074505806,+ -0.029999999329447746,+ 1.0160000324249268,+ 0.7071067690849304,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.009999999776482582,+ 0.18000000715255737,+ 1.0160000324249268,+ 0.7071067690849304,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.12999999523162842,+ 0.18000000715255737,+ 1.0160000324249268,+ 0.7071067690849304,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.25,+ 0.18000000715255737,+ 1.0160000324249268,+ 0.7071067690849304,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.44999998807907104,+ 0.0,+ 1.0440000295639038,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "9954e41df2fbc48d6634cfdced9ca59470055ad3cf589e595152eaa1bdc10385"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..00f51a6f37--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "assembly.ikea_table.bimanual_franka.osc",+ "grader": "grader/ikea_table_assembly.py",+ "title": "Screw the four legs onto a side table (two Frankas, operational-space control)",+ "text": "An IKEA-style side table, partly assembled, lying on a sturdy waist-high workbench. The free-standing tabletop slab (~0.55 x 0.55 m, 5 cm thick) carries 4 upright threaded studs at its corners (xy = (+0.25, +0.25), (-0.25, +0.25), (+0.25, -0.25), (-0.25, -0.25) m, relative to the slab centre). 4 loose legs — each a threaded nut on a graspable cylindrical shaft — lie on their side in a row near the centre of the workbench, ready to be picked up and fitted.\nGoal: screw every leg down onto its stud (turn it clockwise while pressing down) until it seats. A seated leg locks in place. The table is assembled once all 4 legs are seated.",+ "success": "Success, exactly: at the end of the run, each of the 4 legs is screwed onto a stud of the tabletop slab: in the slab's own frame (origin at the centre of the slab's top face, the face carrying the studs; up = that face's normal), the point on the leg's axis at its threaded-nut end [the leg's origin] is at most 12 mm above the slab's top face (a leg sitting on top of a stud is at 26 mm), within 20 mm, in the slab plane, of one of the stud axes at (±0.25, ±0.25) m from the slab centre, and the leg's long axis, nut end to shaft end, is within 10° of the slab's up direction. Any leg may use any stud; the slab may have moved. Not true at the start (the legs lie on the workbench). [success() = seated().all(); leg origin = its nut body origin]"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..c266d6cc6f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/instruction.md@@ -0,0 +1,27 @@+# Screw the four legs onto a side table (two Frankas, operational-space control) — standard mode++The task of `embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-privileged`, on the same frozen scene. You drive two Franka Panda arms with parallel grippers, each under EmbodiedSWE's operational-space (torque) controller, 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+An IKEA-style side table, partly assembled, lying on a sturdy waist-high workbench. The free-standing tabletop slab (~0.55 x 0.55 m, 5 cm thick) carries 4 upright threaded studs at its corners (xy = (+0.25, +0.25), (-0.25, +0.25), (+0.25, -0.25), (-0.25, -0.25) m, relative to the slab centre). 4 loose legs — each a threaded nut on a graspable cylindrical shaft — lie on their side in a row near the centre of the workbench, ready to be picked up and fitted.+Goal: screw every leg down onto its stud (turn it clockwise while pressing down) until it seats. A seated leg locks in place. The table is assembled once all 4 legs are seated.++Success, exactly: at the end of the run, each of the 4 legs is screwed onto a stud of the tabletop slab: in the slab's own frame (origin at the centre of the slab's top face, the face carrying the studs; up = that face's normal), the point on the leg's axis at its threaded-nut end [the leg's origin] is at most 12 mm above the slab's top face (a leg sitting on top of a stud is at 26 mm), within 20 mm, in the slab plane, of one of the stud axes at (±0.25, ±0.25) m from the slab centre, and the leg's long axis, nut end to shaft end, is within 10° of the slab's up direction. Any leg may use any stud; the slab may have moved. Not true at the start (the legs lie on the workbench). [success() = seated().all(); leg origin = its nut body origin]++## This robot+- Action: `ee_pose` only, 18 values: left arm then right arm, each the world pose of its `panda_hand` (`x y z qw qx qy qz`) and its two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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), `left_wrist` (on the left hand), and `right_wrist` (on the right hand). 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(15 / `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`, `left_wrist`, `right_wrist` at 2 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..dc9838d684--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard"+description = "EmbodiedSWE assembly.ikea_table.bimanual_franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "assembly", "screwing", "bimanual", "franka", "assembly.ikea_table.bimanual_franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda-bimanual"+family = "assembly.ikea_table.bimanual_franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 4.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..7a5fe13ef2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-ikea-table-bimanual-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/DIGESTindex 5267ad6784..01c4bc4166 100644--- a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:3d4a7825f61049b1dd4a82eee977a528533278e401c0f8dca71651362d2a8734+sha256:abcc7433896932d21cb1cb84c470b34e707b3f1bb62edcbfade0364d9f6989b4diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/README.mdindex d9778c39f7..338ff96700 100644--- a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-assembly-nut-thread-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda` || Family / instance | `assembly.nut_thread.franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..b631b79d0d--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:5942a45052646f4aa6397cfc83748cdefce37eb2ff35e84d5e81c69e6a4b4a58diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..07ee566817--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-assembly-nut-thread-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-assembly-nut-thread-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda` |+| Family / instance | `assembly.nut_thread.franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Thread a nut onto a bolt (Franka, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-assembly-nut-thread-franka-osc-i00-privileged`, with a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/nut_thread_assembly.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..d684564286--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-nut-thread-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/grader/nut_thread_assembly.py b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/grader/nut_thread_assembly.pynew file mode 100644index 0000000000..2daa8116e1--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/grader/nut_thread_assembly.py@@ -0,0 +1,77 @@+"""Grader for the nut_thread scene: every nut seated on a bolt.++Rubric stages (weights and modes live in RUBRIC), each a fraction over that env's nuts:+ lifted nuts ever raised to the bolt-top rest height — origin at/above `bolt_height`+ in the nearest bolt's frame, the height the scene quotes for a nut resting on+ the bolt top and so the height a nut has to clear before it can be set on the+ bolt — or already aligned on a bolt (a nut on the bolt was necessarily lifted+ there); a milestone, latched per nut+ aligned nuts aligned on a bolt — within `align_xy` of the bolt axis and tilted at most+ `align_axis_deg` off it, the scene's own two non-depth seat gates+ threaded mean thread depth from the bolt-top rest height (`bolt_height`) down to the+ seat (`seat_z`), counted only while aligned — so a nut's value is 1.0 iff the+ scene calls it seated+The rungs nest (seated => aligned => lifted), so progress reaches 1.0 exactly when every+nut of the env is seated, and for a grader built after the pick as well as one that watched+it. Success is the scene's `seated()` per env, read when the delivery finishes.+"""++from __future__ import annotations++import math++from robobench.core import BaseGrader+from robobench.suites.assembly.scenes.nut_thread_assembly import NutThreadAssemblyScene+++class NutThreadAssemblyGrader(BaseGrader):+ """Every nut seated — threaded down to seat depth, on the bolt axis, upright.++ Ladder: lifted 0.33 · aligned 0.67 · threaded 1.00 — three equal rungs for the three+ steps of the task (pick the nut up, set it on the bolt, screw it down); the last rung+ is a linear ramp of the nut's height from the bolt-top rest height (`bolt_height`) to+ the seat (`seat_z`). With N nuts every stage is the fraction of nuts.+ """++ SCENE = NutThreadAssemblyScene+ RUBRIC = (("lifted", 1, "once"), ("aligned", 1), ("threaded", 1))+ scene: NutThreadAssemblyScene++ def setup(self) -> None:+ import torch++ z, _, _ = self._on_bolt()+ self._lifted = torch.zeros_like(z, dtype=torch.bool) # per-nut latch: ever lifted++ def check_success(self):+ return self.scene.seated().all(dim=1) # (num_envs,) — every nut of that env++ def _on_bolt(self):+ """(height, aligned, thread), each (num_envs, num_nuts): the nut origin's height+ above its nearest bolt's origin, whether it passes the scene's xy + tilt seat gates,+ and its thread-depth fraction from the bolt-top rest height to the seat."""+ import torch++ c = self.scene.cfg+ off = self.scene._nut_offsets_in_bolt() # (n, N_nut, B_bolt, 3) — privileged read+ near_dist, near = off[..., :2].norm(dim=-1).min(dim=-1)+ z = torch.gather(off[..., 2], 2, near.unsqueeze(-1)).squeeze(-1)+ aligned = (near_dist <= c.align_xy) & (+ self.scene._nut_axis_cos() >= math.cos(math.radians(c.align_axis_deg)))+ thread = ((c.bolt_height - z) / (c.bolt_height - c.seat_z)).clamp(0.0, 1.0)+ return z, aligned, thread++ # ---- rubric stages — each returns a (num_envs,) fraction over that+ # env's nuts -------------------------------------------------------------+ def lifted(self):+ z, aligned, _ = self._on_bolt()+ self._lifted |= (z >= self.scene.cfg.bolt_height) | aligned+ return self._lifted.float().mean(dim=1)++ def aligned(self):+ _, aligned, _ = self._on_bolt()+ return aligned.float().mean(dim=1)++ def threaded(self):+ _, aligned, thread = self._on_bolt()+ return (aligned * thread).mean(dim=1)diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..3e1cb13e36--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,144 @@+{+ "action_dim": 8,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.0020833333333333333,+ "preset": "assembly.nut_thread.franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/bolt_0/joint_position",+ [+ 1,+ 0+ ]+ ],+ [+ "/articulation/bolt_0/joint_velocity",+ [+ 1,+ 0+ ]+ ],+ [+ "/articulation/bolt_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/bolt_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/nut_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/nut_0/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.5,+ -3.637978807091713e-12,+ -6.51925802230835e-09,+ 1.0000001192092896,+ -4.161558250781461e-12,+ -5.29941888982588e-12,+ -1.5299113087507976e-09,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.37798091769218445,+ 0.00033358336077071726,+ 0.019999999552965164,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "d3ace57f86b6b24c0ef9d94dd43400d34fcbff5a13905a3654061a4e6f657249"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..2de5b35836--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "assembly.nut_thread.franka.osc",+ "grader": "grader/nut_thread_assembly.py",+ "title": "Thread a nut onto a bolt (Franka, operational-space control)",+ "text": "1 M16 bolt standing upright, fixed on a sturdy table, and 1 loose M16 nut resting flat on the table beside it, ready to be picked up and fitted. Each bolt carries real threads.\nGoal: pick up the nut, set it on the bolt, and screw it down (turn it clockwise while pressing down) until it seats. A seated nut locks in place. The task is complete once the nut is seated.",+ "success": "Success, exactly: at the end of the run, the M16 nut is threaded down the fixed upright M16 bolt so that the point on its axis 10 mm below the nut's bottom face [the nut's origin] is at most 12 mm above the bolt's base on the table top, i.e. the nut's bottom face is at most 22 mm above the table top (resting on the bolt's top it is about 35 mm; fully bottomed about 11 mm); that point is within 15 mm horizontally of the bolt's axis, and the nut's axis is within 10° of the bolt axis with the same face up as at the start. Not true at the start (the nut rests flat beside the bolt). No speed or release condition. [grader: seated().all(); bolt origin at its base, world (0.5, 0, 0); nut origin 10 mm below its bottom face]"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..d50238d33c--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/instruction.md@@ -0,0 +1,27 @@+# Thread a nut onto a bolt (Franka, operational-space control) — standard mode++The task of `embodiedswe-assembly-nut-thread-franka-osc-i00-privileged`, on the same frozen scene. You drive a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, 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+1 M16 bolt standing upright, fixed on a sturdy table, and 1 loose M16 nut resting flat on the table beside it, ready to be picked up and fitted. Each bolt carries real threads.+Goal: pick up the nut, set it on the bolt, and screw it down (turn it clockwise while pressing down) until it seats. A seated nut locks in place. The task is complete once the nut is seated.++Success, exactly: at the end of the run, the M16 nut is threaded down the fixed upright M16 bolt so that the point on its axis 10 mm below the nut's bottom face [the nut's origin] is at most 12 mm above the bolt's base on the table top, i.e. the nut's bottom face is at most 22 mm above the table top (resting on the bolt's top it is about 35 mm; fully bottomed about 11 mm); that point is within 15 mm horizontally of the bolt's axis, and the nut's axis is within 10° of the bolt axis with the same face up as at the start. Not true at the start (the nut rests flat beside the bolt). No speed or release condition. [grader: seated().all(); bolt origin at its base, world (0.5, 0, 0); nut origin 10 mm below its bottom face]++## This robot+- Action: `ee_pose` only, 9 values: the world pose of `panda_hand` (`x y z qw qx qy qz`) and the two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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 `wrist` (on the hand). 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(15 / `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`, `wrist` at 4 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..a5fdfe0f36--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-assembly-nut-thread-franka-osc-i00-standard"+description = "EmbodiedSWE assembly.nut_thread.franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "assembly", "screwing", "franka", "assembly.nut_thread.franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda"+family = "assembly.nut_thread.franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 3.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..d684564286--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-nut-thread-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-nut-thread-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/DIGESTindex 5081c5999a..0e53d6ab65 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:b69475a30974dd6e8beb50bae266ccd214cdf02507989a512350e9f4ebb83cb4+sha256:6d2c2149b0946c69bab9f7f4430550ab1ee65af8acf68c95cad1c0a59a76c028diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/README.mdindex 336feba839..28666162c9 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-assembly-pc-gpu-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda` || Family / instance | `assembly.pc_gpu.franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..3f53d035fe--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:1e104633a146067bdf1dce640400aa1a37de942d83a0737f9d05b1b407664ae4diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..2f895e4030--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-assembly-pc-gpu-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda` |+| Family / instance | `assembly.pc_gpu.franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Install a graphics card in a PC case (Franka, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged`, with a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/pc_gpu_assembly.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..79e84a1cfc--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-pc-gpu-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/grader/pc_gpu_assembly.py b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/grader/pc_gpu_assembly.pynew file mode 100644index 0000000000..c682351870--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/grader/pc_gpu_assembly.py@@ -0,0 +1,75 @@+"""Grader for the pc_gpu scene: the graphics card seated in the PCIe x16 slot.++Rubric stages (weights and modes live in RUBRIC):+ grasped the card has been taken in the weld-on-closure grip (`scene.grasp_held`) — the+ scene's own grasp state; a milestone, latched. Also true once the card is+ aligned in the slot (a card in the slot was necessarily carried there), so the+ rung nests under `aligned`. Under an embodiment with no gripper (the weld+ contract disabled, e.g. robot="null") the grasp state does not exist and the+ rung reads from that implication alone+ aligned the card lined up on the slot — origin within `align_xy` of the seated point,+ up axis within `align_axis_deg` of the slot axis, length axis within+ `align_yaw_deg` of the slot heading: the scene's own three non-depth seat gates+ pressed tab depth below the slot mouth (`slot_mouth_z`, the scene's own `engaged()`)+ as a fraction of `seat_depth`, counted only while aligned — so it is 1.0 iff+ the scene calls the card seated+Every stage is per env. The rungs nest (seated => aligned => grasped), so progress reaches+1.0 exactly when the card is seated, and for a grader built after the pick as well as one+that watched it. The rear-panel pass-through is NOT a rung: the cutout's geometry is not in+the scene cfg, so it cannot be read from state without an invented tolerance. Success is+the scene's `seated()` per env — depth, xy, tilt AND heading gates — read when the+delivery finishes.+"""++from __future__ import annotations++import math++from robobench.core import BaseGrader+from robobench.suites.assembly.scenes.pc_gpu_assembly import PcGpuAssemblyScene+++class PcGpuAssemblyGrader(BaseGrader):+ """The card seated in its slot — pressed to depth, centred, upright, heading along the slot.++ Ladder: grasped 0.33 · aligned 0.67 · pressed 1.00 — three equal rungs for the three+ steps of the task (take the card, line it up on the slot, press it home); the last rung+ is a linear ramp of tab depth from the slot mouth (`slot_mouth_z`) to `seat_depth`.+ """++ SCENE = PcGpuAssemblyScene+ RUBRIC = (("grasped", 1, "once"), ("aligned", 1), ("pressed", 1))+ scene: PcGpuAssemblyScene++ def setup(self) -> None:+ import torch++ # `grasp_held` exists only while the weld contract is live (a gripper on the stage).+ self._has_grasp = hasattr(self.scene, "grasp_held")+ self._grasped = torch.zeros(self.num_envs, dtype=torch.bool,+ device=self.scene.engaged().device) # latch: card ever held++ def check_success(self):+ return self.scene.seated() # (num_envs,)++ def _aligned(self):+ """(num_envs,) bool: the scene's xy + tilt + heading seat gates, without depth."""+ c = self.scene.cfg+ rel = self.scene._card_offset_in_case() # (n, 3), zero at the seated pose — privileged+ xy_ok = rel[:, :2].norm(dim=-1) <= c.align_xy+ up_ok = self.scene._axis_cos(2) >= math.cos(math.radians(c.align_axis_deg))+ yaw_ok = self.scene._axis_cos(0) >= math.cos(math.radians(c.align_yaw_deg))+ return xy_ok & up_ok & yaw_ok++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] ---------------------+ def grasped(self):+ if self._has_grasp:+ self._grasped |= self.scene.grasp_held.any(dim=1)+ return (self._grasped | self._aligned()).float()++ def aligned(self):+ return self._aligned().float()++ def pressed(self):+ depth = self.scene.engaged() # (n,) tab depth below the slot mouth (m)+ return self._aligned() * (depth / self.scene.cfg.seat_depth).clamp(0.0, 1.0)diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..041e250c62--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,130 @@+{+ "action_dim": 8,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.004166666666666667,+ "preset": "assembly.pc_gpu.franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/card/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/card/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/case/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/case/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.6399999856948853,+ -0.3400000035762787,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.2800000011920929,+ -0.36000001430511475,+ 0.029999999329447746,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.5,+ 0.0,+ 0.02889999933540821,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "eaeb5d2158d74e48c8f9062897c9d0b7e0b63d9e6930dc1343351ea1cdc3d382"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..9a5652e145--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "assembly.pc_gpu.franka.osc",+ "grader": "grader/pc_gpu_assembly.py",+ "title": "Install a graphics card in a PC case (Franka, operational-space control)",+ "text": "A gaming-PC case lying on its side on a sturdy table, opening up, its motherboard facing the ceiling. The board's primary PCIe x16 slot is empty, and the rear I/O panel has an open expansion-slot cutout. Beside the case a loose graphics card stands upright in a foam holder, already in its installation orientation.\nGoal: grip the card by its top edge, lift it straight out of the holder, lower it into the case with its I/O bracket just forward of the rear panel, slide it rearward until the bracket and ports pass through the cutout, line its PCB edge connector up with the x16 slot, and press it straight down until it bottoms out. A seated card stays put on its own. The task is complete once the card is fully seated. The card holds in a firm pinch: close the fingers squarely across its body slab near the top edge and the grip locks; open wide to release.",+ "success": "Success, exactly: at the end of the run, the graphics card sits in the motherboard's PCIe x16 slot so that, in the fixed case's frame (board face horizontal, facing up), the bottom-centre of the card's gold edge-connector tab is at most 4.5 mm above the board face, i.e. at least 4 mm below the slot mouth 8.5 mm above the face (it bottoms out at 3.5 mm), and within 3 mm horizontally of its fully seated position; the card's up axis (edge connector to top edge) is within 3° of the board normal and its length axis within 3° of the seated heading, which is the heading it already has standing in the foam holder at the start. Not true at the start (the card is in its holder beside the case). [scene.seated(); seated tab point world (0.48405, 0.0293, 0.0324); board face z 0.0289]"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..aa1b766cbf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/instruction.md@@ -0,0 +1,27 @@+# Install a graphics card in a PC case (Franka, operational-space control) — standard mode++The task of `embodiedswe-assembly-pc-gpu-franka-osc-i00-privileged`, on the same frozen scene. You drive a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, 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+A gaming-PC case lying on its side on a sturdy table, opening up, its motherboard facing the ceiling. The board's primary PCIe x16 slot is empty, and the rear I/O panel has an open expansion-slot cutout. Beside the case a loose graphics card stands upright in a foam holder, already in its installation orientation.+Goal: grip the card by its top edge, lift it straight out of the holder, lower it into the case with its I/O bracket just forward of the rear panel, slide it rearward until the bracket and ports pass through the cutout, line its PCB edge connector up with the x16 slot, and press it straight down until it bottoms out. A seated card stays put on its own. The task is complete once the card is fully seated. The card holds in a firm pinch: close the fingers squarely across its body slab near the top edge and the grip locks; open wide to release.++Success, exactly: at the end of the run, the graphics card sits in the motherboard's PCIe x16 slot so that, in the fixed case's frame (board face horizontal, facing up), the bottom-centre of the card's gold edge-connector tab is at most 4.5 mm above the board face, i.e. at least 4 mm below the slot mouth 8.5 mm above the face (it bottoms out at 3.5 mm), and within 3 mm horizontally of its fully seated position; the card's up axis (edge connector to top edge) is within 3° of the board normal and its length axis within 3° of the seated heading, which is the heading it already has standing in the foam holder at the start. Not true at the start (the card is in its holder beside the case). [scene.seated(); seated tab point world (0.48405, 0.0293, 0.0324); board face z 0.0289]++## This robot+- Action: `ee_pose` only, 9 values: the world pose of `panda_hand` (`x y z qw qx qy qz`) and the two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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 `wrist` (on the hand). 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(15 / `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`, `wrist` at 4 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..4a9ec4eaa8--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard"+description = "EmbodiedSWE assembly.pc_gpu.franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "assembly", "insertion", "pc-building", "franka", "assembly.pc_gpu.franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda"+family = "assembly.pc_gpu.franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 3.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..79e84a1cfc--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-pc-gpu-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/DIGESTindex 4b7da0edcb..b3dacf2c4b 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:7e71220e9525c924d1599a4b26793b33b6ae3616f942654a154275622c17a7f6+sha256:a5cc7e1d0a58c350a3acea14f643e94892db0d65c6a5dfa18aefeee674086cd9diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/README.mdindex 4f4c42a76d..b50c64bee4 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda` || Family / instance | `assembly.pc_gpu_ram.franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..667e161499--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:cdc183ffe425d04908a1fc08ae892765ce2aa4314867effd64566177c9e8ae5bdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..37e1483673--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda` |+| Family / instance | `assembly.pc_gpu_ram.franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Install a graphics card and two RAM sticks (Franka, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged`, with a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/pc_gpu_ram_assembly.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..dca4520425--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/grader/pc_gpu_ram_assembly.py b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/grader/pc_gpu_ram_assembly.pynew file mode 100644index 0000000000..32c8a66579--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/grader/pc_gpu_ram_assembly.py@@ -0,0 +1,115 @@+"""Grader for the pc_gpu_ram scene: the graphics card AND both RAM sticks seated.++Three parts — one card, two identical sticks. Each part climbs the same ladder, grasped ->+aligned -> seated, and every part is worth the same third of the score. The card has its own+three stages; the two identical sticks share three FRACTION stages (k/2 each), which+therefore carry weight 2 (one unit per stick) against the card's 1.+ gpu_grasped / ram_grasped parts ever taken in the weld-on-closure grip (`scene.grasp_held`:+ column 0 the card, 1.. the sticks, in `grasp_sites()` order) —+ the scene's own grasp state; milestones, latched per part. Also+ true for a part that is seated (a seated part was necessarily+ carried there), so the rungs nest under the seated rungs. Under+ an embodiment with no gripper (the weld contract disabled, e.g.+ robot="null") the grasp state does not exist and the rungs read+ from that implication alone+ gpu_aligned / ram_aligned the part lined up on its slot — origin within `gpu_align_xy` /+ `ram_align_xy` of the seated point, up axis within+ `gpu_align_axis_deg` / `ram_align_axis_deg` of the slot axis,+ length axis within `gpu_align_yaw_deg` / `ram_align_yaw_deg` of+ the slot heading: the scene's own three non-depth seat gates+ gpu_seated / ram_seated depth below the slot mouth (`gpu_slot_mouth_z` / `ram_slot_mouth_z`,+ the scene's own `gpu_engaged()` / `ram_engaged()`) as a fraction+ of `gpu_seat_depth` / `ram_seat_depth`, counted only while+ aligned — so a part's value is 1.0 iff the scene calls it seated+The rungs nest (seated => aligned => grasped), so progress reaches 1.0 exactly when the card+and both sticks are seated, and for a grader built after the picks as well as one that+watched them. Success is the scene's own `success()` (card and every stick seated), read when+the delivery finishes.+"""++from __future__ import annotations++import math++from robobench.core import BaseGrader+from robobench.suites.assembly.scenes.pc_gpu_ram_assembly import PcGpuRamAssemblyScene+++class PcGpuRamAssemblyGrader(BaseGrader):+ """The graphics card and both RAM sticks seated — each pressed to depth, centred, upright, heading along its slot.++ Ladder (total weight 9, every part worth 3/9):+ card grasped 1/9 · card aligned 2/9 · card seated 3/9 (0.333) ·+ then per stick +1/9 per rung: first stick seated 6/9 (0.667) · both sticks seated 1.00.+ Each part's seated rung is a linear ramp of depth from its slot mouth to its seat depth.+ """++ SCENE = PcGpuRamAssemblyScene+ # Per-part accounting: the card's rungs weigh 1; the sticks' rungs are k/2 fractions over+ # two identical parts, so they weigh 2 (one unit per stick) — every part counts the same.+ RUBRIC = (+ ("gpu_grasped", 1, "once"), ("gpu_aligned", 1), ("gpu_seated", 1),+ ("ram_grasped", 2, "once"), ("ram_aligned", 2), ("ram_seated", 2),+ )+ scene: PcGpuRamAssemblyScene++ def setup(self) -> None:+ import torch++ # `grasp_held` exists only while the weld contract is live (a gripper on the stage).+ self._has_grasp = hasattr(self.scene, "grasp_held")+ depth = self.scene.engaged() # (n, 1 + S): card, then the sticks+ self._grasped = torch.zeros_like(depth, dtype=torch.bool) # per-part latch: ever held++ def check_success(self):+ return self.scene.success() # (num_envs,) — the card and every stick of that env seated++ def _latch_grasped(self):+ """(num_envs, 1 + num_slots) bool: ever held OR seated, card first then the sticks."""+ if self._has_grasp:+ self._grasped |= self.scene.grasp_held[:, : 1 + self.scene.cfg.num_slots]+ return self._grasped | self.scene.seated()++ def _gpu_aligned(self):+ """(num_envs,) bool: the card passes the scene's xy + tilt + heading gates, without depth."""+ c = self.scene.cfg+ rel = self.scene._card_offset_in_case() # (n, 3), zero at the seated pose — privileged+ xy_ok = rel[:, 0:2].norm(dim=-1) <= c.gpu_align_xy+ up_ok = self.scene._part_axis_cos(self.scene.card, 2) >= math.cos(math.radians(c.gpu_align_axis_deg))+ yaw_ok = self.scene._part_axis_cos(self.scene.card, 0) >= math.cos(math.radians(c.gpu_align_yaw_deg))+ return xy_ok & up_ok & yaw_ok++ def _ram_aligned(self):+ """(num_envs, num_slots) bool: each stick passes the scene's xy + tilt + heading gates."""+ import torch++ c = self.scene.cfg+ rel = self.scene._ram_offsets_in_case() # (n, S, 3), zero at the seated poses — privileged+ xy_ok = rel[..., 0:2].norm(dim=-1) <= c.ram_align_xy+ up_ok = torch.stack([self.scene._part_axis_cos(r, 2) for r in self.scene.rams], dim=1) >= math.cos(+ math.radians(c.ram_align_axis_deg))+ yaw_ok = torch.stack([self.scene._part_axis_cos(r, 1) for r in self.scene.rams], dim=1) >= math.cos(+ math.radians(c.ram_align_yaw_deg))+ return xy_ok & up_ok & yaw_ok++ # ---- card stages — each returns a (num_envs,) value in [0, 1] -----------------------------+ def gpu_grasped(self):+ return self._latch_grasped()[:, 0].float()++ def gpu_aligned(self):+ return self._gpu_aligned().float()++ def gpu_seated(self):+ depth = self.scene.gpu_engaged() # (n,) tab depth below the PCIe slot mouth (m)+ return self._gpu_aligned() * (depth / self.scene.cfg.gpu_seat_depth).clamp(0.0, 1.0)++ # ---- stick stages — each returns a (num_envs,) fraction over that env's sticks -----------+ def ram_grasped(self):+ return self._latch_grasped()[:, 1:].float().mean(dim=1)++ def ram_aligned(self):+ return self._ram_aligned().float().mean(dim=1)++ def ram_seated(self):+ depth = self.scene.ram_engaged() # (n, S) blade depth below each DIMM slot mouth (m)+ return (self._ram_aligned() * (depth / self.scene.cfg.ram_seat_depth).clamp(0.0, 1.0)).mean(dim=1)diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..b4cc57b2d0--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,184 @@+{+ "action_dim": 8,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.004166666666666667,+ "preset": "assembly.pc_gpu_ram.franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/card/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/card/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/case/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/case/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/ram_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/ram_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/ram_1/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/ram_1/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.7200000286102295,+ -0.30000001192092896,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.36500000953674316,+ -0.32100000977516174,+ 0.029999999329447746,+ 0.7071099877357483,+ 0.0,+ 0.0,+ 0.7071099877357483,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.550000011920929,+ 0.03999999910593033,+ 0.02889999933540821,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.28999999165534973,+ -0.3199999928474426,+ 0.029999999329447746,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.4399999976158142,+ -0.3199999928474426,+ 0.029999999329447746,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "a8390afd1722bc53a2dda155dff52099589c17a899bb16660ab110e2a8c528e9"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..bf45a7cc10--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "assembly.pc_gpu_ram.franka.osc",+ "grader": "grader/pc_gpu_ram_assembly.py",+ "title": "Install a graphics card and two RAM sticks (Franka, operational-space control)",+ "text": "A gaming-PC case lying on its side on a sturdy table, opening up, its motherboard facing the ceiling. The board's primary PCIe x16 slot is empty (the rear I/O panel has an open expansion-slot cutout), and all four memory slots are empty. Beside the case a loose graphics card and two loose RAM sticks stand upright in foam holders, already in their installation orientations.\nGoal: install the card first — grip it by its top edge, lift it out of its holder, lower it into the case with its I/O bracket just forward of the rear panel, slide it rearward until the bracket and ports pass through the cutout, line its PCB edge connector up with the x16 slot, and press it straight down until it bottoms out — then install each RAM stick: carry it over the case wall, line its gold edge connector up with its slot (the outermost and the second-from-socket, the alternating pair a dual-channel kit fills), and press it straight down until it clicks fully home. Every seated part stays put on its own. The task is complete once the card and both sticks are fully seated. A part holds in a firm pinch: close the fingers squarely across the card's body slab or a stick's faces, near the top edge, and the grip locks; open wide to release.",+ "success": "Success, exactly: at the end of the run, the graphics card and both RAM sticks are seated, in the fixed case's frame (board face horizontal, facing up). Card: bottom-centre of its edge-connector tab at most 4.5 mm above the board face (at least 4 mm below the PCIe slot mouth 8.5 mm up; bottomed 3.5 mm), within 3 mm horizontally of its seated point, up axis within 3° of the board normal, length axis within 3° of the seated heading, which is its start heading in the holder turned 90° clockwise seen from above. Sticks: the one starting in the holder farther from the robot base goes in the outermost DIMM slot, the other in the second-from-socket slot; each connector's bottom-centre at most 0.9456 mm above the board face (at least 3.7 mm below the 4.6456 mm wall top), within 3 mm horizontally of its seated point, up axis within 6°, length axis within 3° of its start heading. Not true at the start. [success(); card seat world (0.53405, 0.0693, 0.0324); slots (0.40731, -0.02789, 0.02911), (0.42627, -0.02789, 0.02911)]"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..be19a24ac5--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/instruction.md@@ -0,0 +1,27 @@+# Install a graphics card and two RAM sticks (Franka, operational-space control) — standard mode++The task of `embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-privileged`, on the same frozen scene. You drive a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, 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+A gaming-PC case lying on its side on a sturdy table, opening up, its motherboard facing the ceiling. The board's primary PCIe x16 slot is empty (the rear I/O panel has an open expansion-slot cutout), and all four memory slots are empty. Beside the case a loose graphics card and two loose RAM sticks stand upright in foam holders, already in their installation orientations.+Goal: install the card first — grip it by its top edge, lift it out of its holder, lower it into the case with its I/O bracket just forward of the rear panel, slide it rearward until the bracket and ports pass through the cutout, line its PCB edge connector up with the x16 slot, and press it straight down until it bottoms out — then install each RAM stick: carry it over the case wall, line its gold edge connector up with its slot (the outermost and the second-from-socket, the alternating pair a dual-channel kit fills), and press it straight down until it clicks fully home. Every seated part stays put on its own. The task is complete once the card and both sticks are fully seated. A part holds in a firm pinch: close the fingers squarely across the card's body slab or a stick's faces, near the top edge, and the grip locks; open wide to release.++Success, exactly: at the end of the run, the graphics card and both RAM sticks are seated, in the fixed case's frame (board face horizontal, facing up). Card: bottom-centre of its edge-connector tab at most 4.5 mm above the board face (at least 4 mm below the PCIe slot mouth 8.5 mm up; bottomed 3.5 mm), within 3 mm horizontally of its seated point, up axis within 3° of the board normal, length axis within 3° of the seated heading, which is its start heading in the holder turned 90° clockwise seen from above. Sticks: the one starting in the holder farther from the robot base goes in the outermost DIMM slot, the other in the second-from-socket slot; each connector's bottom-centre at most 0.9456 mm above the board face (at least 3.7 mm below the 4.6456 mm wall top), within 3 mm horizontally of its seated point, up axis within 6°, length axis within 3° of its start heading. Not true at the start. [success(); card seat world (0.53405, 0.0693, 0.0324); slots (0.40731, -0.02789, 0.02911), (0.42627, -0.02789, 0.02911)]++## This robot+- Action: `ee_pose` only, 9 values: the world pose of `panda_hand` (`x y z qw qx qy qz`) and the two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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 `wrist` (on the hand). 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(15 / `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`, `wrist` at 4 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..491706b47b--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard"+description = "EmbodiedSWE assembly.pc_gpu_ram.franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "assembly", "insertion", "pc-building", "franka", "assembly.pc_gpu_ram.franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda"+family = "assembly.pc_gpu_ram.franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 4.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..dca4520425--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-gpu-ram-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/DIGESTindex 070cefb073..afbd2a920c 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:7237fb75d04e77b482ceedd4e5cf040c68c7053d18eab367d73d02e3666cf83a+sha256:900239f5e8fe0946640faca5c50b52030b401c811316643c57905d9b3869bf23diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/README.mdindex 2dcb054fb9..e31ffc2351 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda` || Family / instance | `assembly.pc_motherboard.franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..0aeca33700--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:dc67ee9d3e70c2af9300ed0bf425306a55bdb7bf6267341fc9ccceaf817fa056diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..4f682564a5--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda` |+| Family / instance | `assembly.pc_motherboard.franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Drive the seven motherboard bolts with an allen key (Franka, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged`, with a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/pc_motherboard_assembly.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..70181f9d52--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/grader/pc_motherboard_assembly.py b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/grader/pc_motherboard_assembly.pynew file mode 100644index 0000000000..41b4f1ce85--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/grader/pc_motherboard_assembly.py@@ -0,0 +1,82 @@+"""Grader for the pc_motherboard scene: all seven case-mount bolts driven home with the key.++Rubric stages (weights and modes live in RUBRIC):+ key_grasped the key has been taken in the weld-on-closure grip (`scene.grasp_held`, whose+ only site is the key handle) — the scene's own grasp state; a milestone,+ latched. Also true once every bolt is seated (a seated bolt was necessarily+ driven by the key), so the rung nests under `driven`. Under an embodiment+ with no gripper (the weld contract disabled, e.g. robot="null") the grasp+ state does not exist and the rung reads from that implication alone+ driven mean over the seven bolts of the tip's depth from the start register to the+ seat — `stage_depth` -> `seat_depth` under the screw mechanic (every bolt+ spawns hand-started that deep), board face (depth 0) -> `seat_depth` when+ the mechanic is off and a loose bolt is threaded in from the top — counted+ only while the bolt is within `align_xy` of its nearest hole axis and+ `align_axis_deg` of upright, the scene's own non-depth seat gates, so a+ bolt's value is 1.0 iff the scene calls it `seated()`+Both stages are per env. The bolts spawn pre-staged in their holes, so an "aligned" rung+would be free at reset and is not one; the key's own "seated in the hex socket" step is NOT a+rung either: the head/socket geometry is not in the scene cfg, so it cannot be read from+state without an invented tolerance. Success is the scene's own `success()` (every bolt+`seated()`), read when the delivery finishes.+"""++from __future__ import annotations++import math++from robobench.core import BaseGrader+from robobench.suites.assembly.scenes.pc_motherboard_assembly import PcMotherboardAssemblyScene+++class PcMotherboardAssemblyGrader(BaseGrader):+ """All seven motherboard bolts seated — each driven to depth on its hole axis, upright.++ Ladder (total weight 8, one unit per part — the key and each of the 7 bolts):+ key grasped 0.125 · 1 bolt 0.25 · 2 bolts 0.375 · 3 bolts 0.50 · 4 bolts 0.625 ·+ 5 bolts 0.75 · 6 bolts 0.875 · 7 bolts 1.00. `driven` is the mean over bolts of a linear+ ramp of tip depth from the start register (`stage_depth`, or the board face for a loose+ spawn) to `seat_depth`.+ """++ SCENE = PcMotherboardAssemblyScene+ # One unit per part: the key's single rung weighs 1; `driven` is a k/7 fraction over seven+ # identical bolts and so weighs 7 (one unit per bolt).+ RUBRIC = (("key_grasped", 1, "once"), ("driven", 7))+ scene: PcMotherboardAssemblyScene++ def setup(self) -> None:+ import torch++ c = self.scene.cfg+ self._depth0 = c.stage_depth if c.screw_mechanic else 0.0 # tip depth at the start+ # `grasp_held` exists only while the weld contract is live (a gripper on the stage).+ self._has_grasp = hasattr(self.scene, "grasp_held")+ self._grasped = torch.zeros(self.num_envs, dtype=torch.bool,+ device=self.scene.engaged().device) # latch: key ever held++ def check_success(self):+ return self.scene.success() # (num_envs,) — every bolt of that env seated++ def _in_hole(self):+ """(aligned, drive), each (num_envs, num_holes): whether the bolt passes the scene's+ xy + tilt seat gates at its nearest hole, and its tip-depth fraction from the start+ register to the seat."""+ c = self.scene.cfg+ off = self.scene._bolt_offsets_in_case() # (n, B, H, 3) — privileged read+ near_dist = off[..., :2].norm(dim=-1).min(dim=-1).values+ aligned = (near_dist <= c.align_xy) & (+ self.scene._bolt_axis_cos() >= math.cos(math.radians(c.align_axis_deg)))+ depth = self.scene.engaged() # (n, B) tip depth below the board face (m)+ drive = ((depth - self._depth0) / (c.seat_depth - self._depth0)).clamp(0.0, 1.0)+ return aligned, drive++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] ----------------------------+ def key_grasped(self):+ if self._has_grasp:+ self._grasped |= self.scene.grasp_held.any(dim=1)+ return (self._grasped | self.scene.success()).float()++ def driven(self):+ aligned, drive = self._in_hole()+ return (aligned * drive).mean(dim=1)diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..4135a537b9--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,319 @@+{+ "action_dim": 8,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.004166666666666667,+ "preset": "assembly.pc_motherboard.franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/bolt_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/bolt_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/bolt_1/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/bolt_1/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/bolt_2/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/bolt_2/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/bolt_3/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/bolt_3/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/bolt_4/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/bolt_4/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/bolt_5/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/bolt_5/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/bolt_6/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/bolt_6/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/case/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/case/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/key/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/key/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.07000000029802322,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.5776000022888184,+ -0.14480000734329224,+ 0.02290000021457672,+ -4.371138828673793e-08,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.375,+ -0.1444000005722046,+ 0.02290000021457672,+ -4.371138828673793e-08,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.37490004301071167,+ 0.010900000110268593,+ 0.02290000021457672,+ -4.371138828673793e-08,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.6014000177383423,+ 0.01080000028014183,+ 0.02290000021457672,+ -4.371138828673793e-08,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.601900041103363,+ 0.13449999690055847,+ 0.02290000021457672,+ -4.371138828673793e-08,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.44690001010894775,+ 0.1347000002861023,+ 0.02290000021457672,+ -4.371138828673793e-08,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.3752000331878662,+ 0.13429999351501465,+ 0.02290000021457672,+ -4.371138828673793e-08,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.5400000214576721,+ 0.0,+ 0.02889999933540821,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.30000001192092896,+ -0.30000001192092896,+ 0.0010000000474974513,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "79688b548fb961f196bc235a495b8e7d2f0883d18c2ba3f21265803880534c9c"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..fdac57c47d--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "assembly.pc_motherboard.franka.osc",+ "grader": "grader/pc_motherboard_assembly.py",+ "title": "Drive the seven motherboard bolts with an allen key (Franka, operational-space control)",+ "text": "A gaming-PC case lying on its side on a sturdy table, opening up, its motherboard facing the ceiling. The board carries 7 case-mount screw holes, each backed by an M8 threaded insert in the case. Beside the case: 7 loose M8 allen (socket-head) bolts lying in a row, and one long-series L-shaped allen key (its arm is long enough that the swinging handle clears the case walls). Each bolt head carries a 7 mm hex socket.\nEvery hole already holds its bolt hand-started upright, a few threads in.\nGoal: seat the key in a bolt's socket and drive the bolt down (turn clockwise while pressing) until it seats — then move on to the next hole. A seated bolt locks in place. The task is complete once all 7 bolts are seated. The key holds in a firm pinch: close the fingers across its handle's hex and the grip locks; open wide to release.",+ "success": "Success, exactly: at the end of the run, every one of the 7 M8 allen bolts standing hand-started in the motherboard's 7 case-mount holes has its threaded tip at least 11 mm below the board face (each starts 6 mm below; the thread stops it at 12.3 mm, just short of the head bottoming at 12.4 mm), with the tip within 3 mm horizontally of a hole's axis and the bolt's axis within 5° of the board normal (head up). The bolts move only down their own hole axes as the key turns them clockwise, 1 mm per turn, so each needs at least 5 more full turns. The position and tilt parts hold from the start; the depth part does not. [success() = seated().all(); board face = case origin, 28.9 mm above the table top; case at world (0.54, 0, 0.0289)]"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..93bd4b0ce9--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/instruction.md@@ -0,0 +1,28 @@+# Drive the seven motherboard bolts with an allen key (Franka, operational-space control) — standard mode++The task of `embodiedswe-assembly-pc-motherboard-franka-osc-i00-privileged`, on the same frozen scene. You drive a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, 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+A gaming-PC case lying on its side on a sturdy table, opening up, its motherboard facing the ceiling. The board carries 7 case-mount screw holes, each backed by an M8 threaded insert in the case. Beside the case: 7 loose M8 allen (socket-head) bolts lying in a row, and one long-series L-shaped allen key (its arm is long enough that the swinging handle clears the case walls). Each bolt head carries a 7 mm hex socket.+Every hole already holds its bolt hand-started upright, a few threads in.+Goal: seat the key in a bolt's socket and drive the bolt down (turn clockwise while pressing) until it seats — then move on to the next hole. A seated bolt locks in place. The task is complete once all 7 bolts are seated. The key holds in a firm pinch: close the fingers across its handle's hex and the grip locks; open wide to release.++Success, exactly: at the end of the run, every one of the 7 M8 allen bolts standing hand-started in the motherboard's 7 case-mount holes has its threaded tip at least 11 mm below the board face (each starts 6 mm below; the thread stops it at 12.3 mm, just short of the head bottoming at 12.4 mm), with the tip within 3 mm horizontally of a hole's axis and the bolt's axis within 5° of the board normal (head up). The bolts move only down their own hole axes as the key turns them clockwise, 1 mm per turn, so each needs at least 5 more full turns. The position and tilt parts hold from the start; the depth part does not. [success() = seated().all(); board face = case origin, 28.9 mm above the table top; case at world (0.54, 0, 0.0289)]++## This robot+- Action: `ee_pose` only, 9 values: the world pose of `panda_hand` (`x y z qw qx qy qz`) and the two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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 `wrist` (on the hand). 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(15 / `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`, `wrist` at 4 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..e263c3ed40--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard"+description = "EmbodiedSWE assembly.pc_motherboard.franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "assembly", "screwing", "allen-key", "pc-building", "franka", "assembly.pc_motherboard.franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda"+family = "assembly.pc_motherboard.franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 4.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..70181f9d52--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-motherboard-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/DIGESTindex 5ccb557c0b..f0cb1aff30 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:8b20fb94486c1cccd1af00488f26e46a5fed1ed958f7d9cacf3215cc563c794f+sha256:7669bfd097c6849542d48a977a6bedf6f80b6ce46400bf52ff522d6755cfb22ddiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/README.mdindex b4f0549e92..35a9b899e1 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-assembly-pc-ram-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda` || Family / instance | `assembly.pc_ram.franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..cbc026a518--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:14782d4dad04598e828beab422ee19330780cb542a1e81e35311fe325c053906diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..f5ef093d19--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-assembly-pc-ram-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-assembly-pc-ram-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda` |+| Family / instance | `assembly.pc_ram.franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Install two RAM sticks (Franka, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-assembly-pc-ram-franka-osc-i00-privileged`, with a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/pc_ram_assembly.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..6178855d87--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-pc-ram-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/grader/pc_ram_assembly.py b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/grader/pc_ram_assembly.pynew file mode 100644index 0000000000..d32e560d0d--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/grader/pc_ram_assembly.py@@ -0,0 +1,77 @@+"""Grader for the pc_ram scene: both RAM sticks seated in their DIMM slots.++The two sticks are identical sub-goals, so every rung is ONE stage whose value is the+fraction of sticks (k/2) that have reached it. Per stick the ladder is grasped -> aligned ->+seated, equal weights:+ grasped sticks ever taken in the weld-on-closure grip (`scene.grasp_held`, one column+ per stick) — the scene's own grasp state; a milestone, latched per stick. Also+ true for a stick that is seated (a seated stick was necessarily carried there),+ so the rung nests under `seated`. Under an embodiment with no gripper (the weld+ contract disabled, e.g. robot="null") the grasp state does not exist and the+ rung reads from that implication alone+ aligned sticks lined up on their slot — origin within `align_xy` of the seated point, up+ axis within `align_axis_deg` of the slot axis, length axis within `align_yaw_deg`+ of the slot heading: the scene's own three non-depth seat gates+ seated mean over sticks of the blade depth below the slot mouth (`slot_mouth_z`, the+ scene's own `engaged()`) as a fraction of `seat_depth`, counted only while+ aligned — so a stick's value is 1.0 iff the scene calls it `seated()`+The rungs nest (seated => aligned => grasped), so progress reaches 1.0 exactly when both+sticks are seated, and for a grader built after the picks as well as one that watched them.+Success is the scene's own `success()` (every stick `seated()`), read when the delivery+finishes.+"""++from __future__ import annotations++import math++from robobench.core import BaseGrader+from robobench.suites.assembly.scenes.pc_ram_assembly import PcRamAssemblyScene+++class PcRamAssemblyGrader(BaseGrader):+ """Both sticks seated — pressed to depth, centred, upright, heading along the slot.++ Ladder (per stick, each rung 1/6): grasped 1/6 · aligned 2/6 · seated 3/6;+ one stick done 0.50 · both sticks done 1.00 — three equal rungs for the three steps of+ each stick (take it, line it up on its slot, press it home); the last rung is a linear+ ramp of blade depth from the slot mouth (`slot_mouth_z`) to `seat_depth`.+ """++ SCENE = PcRamAssemblyScene+ # Equal weights: the three rungs of one stick's ladder; every stage is a k/2 fraction.+ RUBRIC = (("grasped", 1, "once"), ("aligned", 1), ("seated", 1))+ scene: PcRamAssemblyScene++ def setup(self) -> None:+ import torch++ # `grasp_held` exists only while the weld contract is live (a gripper on the stage).+ self._has_grasp = hasattr(self.scene, "grasp_held")+ depth = self.scene.engaged() # (n, S)+ self._grasped = torch.zeros_like(depth, dtype=torch.bool) # per-stick latch: ever held++ def check_success(self):+ return self.scene.success() # (num_envs,) — every stick of that env seated++ def _aligned(self):+ """(num_envs, num_slots) bool: the scene's xy + tilt + heading seat gates, without depth."""+ c = self.scene.cfg+ rel = self.scene._ram_offsets_in_case() # (n, S, 3), zero at the seated poses — privileged+ xy_ok = rel[..., 0:2].norm(dim=-1) <= c.align_xy+ up_ok = self.scene._axis_cos(2) >= math.cos(math.radians(c.align_axis_deg))+ yaw_ok = self.scene._axis_cos(1) >= math.cos(math.radians(c.align_yaw_deg))+ return xy_ok & up_ok & yaw_ok++ # ---- rubric stages — each returns a (num_envs,) fraction over that env's sticks --------+ def grasped(self):+ if self._has_grasp:+ self._grasped |= self.scene.grasp_held[:, : self.scene.cfg.num_slots]+ return (self._grasped | self.scene.seated()).float().mean(dim=1)++ def aligned(self):+ return self._aligned().float().mean(dim=1)++ def seated(self):+ depth = self.scene.engaged() # (n, S) blade depth below the slot mouth (m)+ return (self._aligned() * (depth / self.scene.cfg.seat_depth).clamp(0.0, 1.0)).mean(dim=1)diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..62c9270a81--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,157 @@+{+ "action_dim": 8,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.004166666666666667,+ "preset": "assembly.pc_ram.franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/case/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/case/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/ram_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/ram_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/ram_1/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/ram_1/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.7200000286102295,+ -0.3400000035762787,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.550000011920929,+ 0.0,+ 0.02889999933540821,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.30000001192092896,+ -0.36000001430511475,+ 0.029999999329447746,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.41999998688697815,+ -0.36000001430511475,+ 0.029999999329447746,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "73177cb91acf9b0e5a6b6c23bc55a1ffe4d9b4de9df6f8644d33d3e448a8b3ee"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..9b1a21c291--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "assembly.pc_ram.franka.osc",+ "grader": "grader/pc_ram_assembly.py",+ "title": "Install two RAM sticks (Franka, operational-space control)",+ "text": "A gaming-PC case lying on its side on a sturdy table, opening up, its motherboard facing the ceiling. All four memory slots are empty. Beside the case two loose RAM sticks stand upright in foam holders, already in their installation orientation.\nGoal: grip each stick by its top edge, lift it straight out of its holder, carry it over the case wall, line its gold edge connector up with its slot — the outermost and the second-from-socket, the alternating pair a dual-channel kit fills (the notch only fits one way — heat-spreader faces along the slot) — and press it straight down until it clicks fully home. A seated stick stays put on its own. The task is complete once both sticks are fully seated. A stick holds in a firm pinch: close the fingers flat across its faces near the top edge and the grip locks; open wide to release.",+ "success": "Success, exactly: at the end of the run, each RAM stick is pressed into its own DIMM slot: the stick starting in the holder farther from the robot base goes in the outermost slot (farthest from the CPU socket), the other in the second-from-socket slot. For each, in the fixed case's frame (board face horizontal, facing up), the bottom-centre of the stick's gold edge connector is at most 0.9456 mm above the board face, i.e. at least 3.7 mm below the slot's wall top 4.6456 mm above the face (it bottoms out at 0.2058 mm), and within 3 mm horizontally of its seated point; its up axis is within 6° of the board normal and its length axis within 3° of the slot heading it already has standing in its holder (not reversed). Not true at the start. [success() = seated().all(); stick k must seat in slot k; seated points world (0.40731, -0.06789, 0.02911), (0.42627, -0.06789, 0.02911)]"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..8b870d5340--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/instruction.md@@ -0,0 +1,27 @@+# Install two RAM sticks (Franka, operational-space control) — standard mode++The task of `embodiedswe-assembly-pc-ram-franka-osc-i00-privileged`, on the same frozen scene. You drive a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, 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+A gaming-PC case lying on its side on a sturdy table, opening up, its motherboard facing the ceiling. All four memory slots are empty. Beside the case two loose RAM sticks stand upright in foam holders, already in their installation orientation.+Goal: grip each stick by its top edge, lift it straight out of its holder, carry it over the case wall, line its gold edge connector up with its slot — the outermost and the second-from-socket, the alternating pair a dual-channel kit fills (the notch only fits one way — heat-spreader faces along the slot) — and press it straight down until it clicks fully home. A seated stick stays put on its own. The task is complete once both sticks are fully seated. A stick holds in a firm pinch: close the fingers flat across its faces near the top edge and the grip locks; open wide to release.++Success, exactly: at the end of the run, each RAM stick is pressed into its own DIMM slot: the stick starting in the holder farther from the robot base goes in the outermost slot (farthest from the CPU socket), the other in the second-from-socket slot. For each, in the fixed case's frame (board face horizontal, facing up), the bottom-centre of the stick's gold edge connector is at most 0.9456 mm above the board face, i.e. at least 3.7 mm below the slot's wall top 4.6456 mm above the face (it bottoms out at 0.2058 mm), and within 3 mm horizontally of its seated point; its up axis is within 6° of the board normal and its length axis within 3° of the slot heading it already has standing in its holder (not reversed). Not true at the start. [success() = seated().all(); stick k must seat in slot k; seated points world (0.40731, -0.06789, 0.02911), (0.42627, -0.06789, 0.02911)]++## This robot+- Action: `ee_pose` only, 9 values: the world pose of `panda_hand` (`x y z qw qx qy qz`) and the two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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): `front`, `overview` (static) and `wrist` (on the hand). 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(15 / `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 `front`, `wrist` at 4 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..11fa7b8d9f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-assembly-pc-ram-franka-osc-i00-standard"+description = "EmbodiedSWE assembly.pc_ram.franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "assembly", "insertion", "pc-building", "franka", "assembly.pc_ram.franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda"+family = "assembly.pc_ram.franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 3.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..6178855d87--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-pc-ram-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-pc-ram-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/DIGESTindex af2507a117..3993659cf6 100644--- a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:183f58488268961ad2fbf3fdb4ca66713783f7b7e587d5af5479c375dd68a4e2+sha256:25fc73f75cef984fa79d1a77374d4b6c2f73e5772e011d439c6138e99e0ed205diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/README.mdindex 7d81820aaa..fb6deed6c3 100644--- a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda-bimanual` || Family / instance | `assembly.so101.bimanual_franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..d6328a0cb1--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:d48a5fc5be694a071f137e7d4ceee4c611dade3406edda97b63199538e77ec8ddiff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..65059b0ed9--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda-bimanual` |+| Family / instance | `assembly.so101.bimanual_franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Assemble the SO101 arm's elbow: servo, four tab screws, forearm, eight horn screws (two Frankas, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged`, with two Franka Panda arms with parallel grippers, each under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/so101_assembly.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..c900df1fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/grader/so101_assembly.py b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/grader/so101_assembly.pynew file mode 100644index 0000000000..68f57c27df--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/grader/so101_assembly.py@@ -0,0 +1,121 @@+"""Grader for the so101 scene: the elbow servo seated + tab-screwed into the upper arm, the forearm+clipped onto its horn + horn-screwed.++The scene defines no `success()`; the criterion below is read off its own assembly geometry+and fastening state (see `check_success`):+ every loose screw fastened — the four identical M2 tab screws in the four tab holes and the+ eight identical M3 horn screws in the eight horn-line holes (the scene's own `state == 2`,+ "fully fastened") — with the servo live in the arm pocket and the forearm live on the horn.++Rubric stages (weights and modes live in RUBRIC):+ motor_seated the bare servo sits in the upper arm's pocket: its body frame on the+ upper_arm link frame (identical by construction when seated) within the+ scene's fastening-gate tolerances `motor_align_pos` / `motor_align_deg`+ — the scene's own PARTS ALIGNED rule for the tab holes+ tab_screws_picked fraction of the four identical M2 tab screws ever carried on the drill's+ magnetic bit (`attached`, the scene's only "grasp" of a screw; a+ fastened screw was necessarily driven off that bit) — a milestone+ tab_screws_fastened fraction of the four M2s welded home in a tab hole (`fastened`)+ fork_seated the forearm's clevis sits on the servo's output horn: the lower_arm at+ the elbow-joint seat transform of the motor, within the same+ `motor_align_pos` / `motor_align_deg` gate, angle-agnostic about the+ horn axis (the assembled elbow may stand at any angle) — the scene's+ PARTS ALIGNED rule for the horn holes+ horn_screws_picked fraction of the eight identical M3 horn screws ever carried on the bit+ horn_screws_fastened fraction of the eight M3s welded home in a horn-line hole+Every stage is per env. The two "picked" milestones are the grasped rung of the screws' ladder;+the servo and the forearm have no grasp the scene can measure (no grasp contract, no lift+threshold in cfg), so their ladders start at the seated rung. A screw's transient "in the hole,+not yet home" state is not a rung: the auto-driver takes it from engaged to fastened by itself.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.assembly.scenes.so101_assembly import SO101AssemblyScene+++class SO101AssemblyGrader(BaseGrader):+ """The SO101 elbow assembled: servo seated and tab-screwed into the upper arm, forearm clipped onto the horn and horn-screwed.++ Ladder (14 units — one unit per part: servo 1, 4 M2 tab screws 4, forearm 1, 8 M3 horn+ screws 8; a screw's unit split equally over its two rungs, picked 0.5 + fastened 0.5):+ servo in pocket 1/14 = 0.071 · 4 M2 on the bit 3/14 = 0.214 · 4 M2 fastened 5/14 = 0.357 ·+ forearm on horn 6/14 = 0.429 · 8 M3 on the bit 10/14 = 0.714 · 8 M3 fastened 14/14 = 1.000+ The identical screws of each group share one k/N fraction stage weighted N/2 per rung.+ """++ SCENE = SO101AssemblyScene+ # one unit per part; a screw's unit split equally over its two rungs (picked / fastened),+ # so a group of N identical screws weighs N/2 on each rung+ RUBRIC = (+ ("motor_seated", 1),+ ("tab_screws_picked", 2, "once"),+ ("tab_screws_fastened", 2),+ ("fork_seated", 1),+ ("horn_screws_picked", 4, "once"),+ ("horn_screws_fastened", 4),+ )+ scene: SO101AssemblyScene++ def setup(self) -> None:+ import torch++ # per-screw latch: ever rode the magnetic bit (or was fastened, which requires it)+ self._ever_on_bit = torch.zeros(self.num_envs, self.scene.cfg.num_screws,+ dtype=torch.bool, device=self.env.device)++ def check_success(self):+ """Every loose screw fastened (the scene's `state == 2`) AND the servo live in the+ pocket AND the forearm live on the horn — the assembled elbow, on the final state."""+ all_fastened = (self.scene.fastened >= 0).all(dim=1)+ return all_fastened & self._motor_seated() & self._fork_seated()++ # ---- predicates (the scene's own PARTS ALIGNED gates) ------------------------------------+ def _motor_seated(self):+ import math++ from isaaclab.utils.math import quat_error_magnitude++ s, c = self.scene, self.scene.cfg+ ap, aq = s.upper_arm_pose()+ return (((s.motor.data.root_pos_w - ap).norm(dim=-1) < c.motor_align_pos)+ & (quat_error_magnitude(s.motor.data.root_quat_w, aq)+ < math.radians(c.motor_align_deg)))++ def _fork_seated(self):+ import math++ s, c = self.scene, self.scene.cfg+ lp, lq = s.lower_arm_pose()+ seat_p, seat_q = s.lower_arm_seat_w()+ _, off_axis = s._elbow_angle_split(lq, seat_q) # privileged: residual off the horn axis+ return (((lp - seat_p).norm(dim=-1) < c.motor_align_pos)+ & (off_axis < math.radians(c.motor_align_deg)))++ def _picked(self, lo: int, hi: int):+ s = self.scene+ self._ever_on_bit |= s.attached | (s.fastened >= 0)+ return self._ever_on_bit[:, lo:hi].float().mean(dim=1)++ def _fastened(self, lo: int, hi: int):+ return (self.scene.fastened[:, lo:hi] >= 0).float().mean(dim=1)++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] --------------------------+ def motor_seated(self):+ return self._motor_seated().float()++ def tab_screws_picked(self):+ return self._picked(0, self.scene.cfg.num_elbow_screws)++ def tab_screws_fastened(self):+ return self._fastened(0, self.scene.cfg.num_elbow_screws)++ def fork_seated(self):+ return self._fork_seated().float()++ def horn_screws_picked(self):+ return self._picked(self.scene.cfg.num_elbow_screws, self.scene.cfg.num_screws)++ def horn_screws_fastened(self):+ return self._fastened(self.scene.cfg.num_elbow_screws, self.scene.cfg.num_screws)diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..2d7c98bfcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,623 @@+{+ "action_dim": 16,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.004166666666666667,+ "preset": "assembly.so101.bimanual_franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/distal/joint_position",+ [+ 1,+ 3+ ]+ ],+ [+ "/articulation/distal/joint_velocity",+ [+ 1,+ 3+ ]+ ],+ [+ "/articulation/distal/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/distal/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/articulation/drill/joint_position",+ [+ 1,+ 2+ ]+ ],+ [+ "/articulation/drill/joint_velocity",+ [+ 1,+ 2+ ]+ ],+ [+ "/articulation/drill/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/drill/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/articulation/left/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/left/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/left/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/left/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/articulation/proximal/joint_position",+ [+ 1,+ 2+ ]+ ],+ [+ "/articulation/proximal/joint_velocity",+ [+ 1,+ 2+ ]+ ],+ [+ "/articulation/proximal/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/proximal/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/articulation/right/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/right/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/right/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/right/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/horn_screw_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/horn_screw_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/horn_screw_1/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/horn_screw_1/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/horn_screw_2/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/horn_screw_2/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/horn_screw_3/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/horn_screw_3/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/horn_screw_4/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/horn_screw_4/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/horn_screw_5/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/horn_screw_5/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/horn_screw_6/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/horn_screw_6/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/horn_screw_7/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/horn_screw_7/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/motor/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/motor/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/screw_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/screw_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/screw_1/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/screw_1/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/screw_2/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/screw_2/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/screw_3/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/screw_3/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.0,+ -2.700000047683716,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.7200000286102295,+ 0.14000000059604645,+ 1.0440000295639038,+ 0.0,+ 0.36649999022483826,+ -0.9304199814796448,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.30000001192092896,+ -0.20000000298023224,+ 1.0220000743865967,+ 0.4677700102329254,+ -0.5305600166320801,+ 0.47275999188423157,+ 0.5255500078201294,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.9940000176429749,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.9940000176429749,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -1.0,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.75,+ -0.2800000011920929,+ 0.9940000176429749,+ 0.3826799988746643,+ 0.0,+ 0.0,+ 0.9238799810409546,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.30000001192092896,+ -0.3199999928474426,+ 1.0140000581741333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.3799999952316284,+ -0.3199999928474426,+ 1.0140000581741333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.07999999821186066,+ 0.23999999463558197,+ 1.0140000581741333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.15000000596046448,+ 0.23999999463558197,+ 1.0140000581741333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.2199999988079071,+ 0.23999999463558197,+ 1.0140000581741333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.07999999821186066,+ 0.30000001192092896,+ 1.0140000581741333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.15000000596046448,+ 0.30000001192092896,+ 1.0140000581741333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.2199999988079071,+ 0.30000001192092896,+ 1.0140000581741333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.25999999046325684,+ -0.4099999964237213,+ 1.00600004196167,+ 0.5,+ -0.5,+ 0.5,+ -0.5,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.11999999731779099,+ -0.30000001192092896,+ 1.0140000581741333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.44999998807907104,+ -0.3400000035762787,+ 1.0140000581741333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.10000000149011612,+ -0.2199999988079071,+ 1.0140000581741333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.25999999046325684,+ -0.3100000023841858,+ 1.0140000581741333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "1bfae1edd3845b5447d702c2f2d53ad65ffa7e9628f63a6139a209ea372f6894"+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..9e9796b424--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "assembly.so101.bimanual_franka.osc",+ "grader": "grader/so101_assembly.py",+ "title": "Assemble the SO101 arm's elbow: servo, four tab screws, forearm, eight horn screws (two Frankas, operational-space control)",+ "text": "The lower half of an SO101 robot arm (base + shoulder + upper arm), a bare elbow servo, four identical loose M2x6 screws, eight loose M3 horn screws, a compact power screwdriver with a magnetic bit, and the not-yet-attached distal half (forearm..gripper) all rest free on a workbench. The upper arm has four M2 screw holes over the elbow servo's pocket (joint 3): a countersunk pair in the near outer wall and the mirrored pair through the far wall. The distal half's forearm fork clips over the seated servo — its cup onto the output horn — and carries four M3 screw holes around the elbow axis on each side (near: into the horn, reached through the skin's access channels; far: into the servo's case back). Goal: seat the servo into the pocket and drive the four M2 tab screws (any tab screw fits any tab hole), then clip the forearm onto the horn and drive the M3s home (any M3 fits any horn-line hole). The screwdriver is torque-activated: it runs by itself while a screw it carries is seated in a free hole. A driven screw locks in place; the servo is fastened by the tab screws, the forearm by the horn screws.",+ "success": "Success, exactly: at the end of the run all twelve loose screws are driven home and locked, which fills every hole: the four small M2 screws in the four tab holes over the upper arm's servo pocket, and the eight M3 screws in the eight holes around the elbow axis on the forearm fork [scene `fastened >= 0` for all 12, `state == 2`]. The bare elbow servo sits in the upper arm's pocket: its body frame is within 4 mm and 10° (total rotation) of the upper-arm link frame, which it matches exactly when seated [`upper_arm_pose()`]. The forearm's root frame (on the elbow axis) is within 4 mm of its seated spot on the servo's output horn. Its orientation is less than 10° off that seat once any rotation about the horn axis is discounted, so any elbow angle passes [`lower_arm_seat_w()`, `motor_align_pos`/`motor_align_deg`]. None of this holds at the start."+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..d5b50312c9--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/instruction.md@@ -0,0 +1,26 @@+# Assemble the SO101 arm's elbow: servo, four tab screws, forearm, eight horn screws (two Frankas, operational-space control) — standard mode++The task of `embodiedswe-assembly-so101-bimanual-franka-osc-i00-privileged`, on the same frozen scene. You drive two Franka Panda arms with parallel grippers, each under EmbodiedSWE's operational-space (torque) controller, 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+The lower half of an SO101 robot arm (base + shoulder + upper arm), a bare elbow servo, four identical loose M2x6 screws, eight loose M3 horn screws, a compact power screwdriver with a magnetic bit, and the not-yet-attached distal half (forearm..gripper) all rest free on a workbench. The upper arm has four M2 screw holes over the elbow servo's pocket (joint 3): a countersunk pair in the near outer wall and the mirrored pair through the far wall. The distal half's forearm fork clips over the seated servo — its cup onto the output horn — and carries four M3 screw holes around the elbow axis on each side (near: into the horn, reached through the skin's access channels; far: into the servo's case back). Goal: seat the servo into the pocket and drive the four M2 tab screws (any tab screw fits any tab hole), then clip the forearm onto the horn and drive the M3s home (any M3 fits any horn-line hole). The screwdriver is torque-activated: it runs by itself while a screw it carries is seated in a free hole. A driven screw locks in place; the servo is fastened by the tab screws, the forearm by the horn screws.++Success, exactly: at the end of the run all twelve loose screws are driven home and locked, which fills every hole: the four small M2 screws in the four tab holes over the upper arm's servo pocket, and the eight M3 screws in the eight holes around the elbow axis on the forearm fork [scene `fastened >= 0` for all 12, `state == 2`]. The bare elbow servo sits in the upper arm's pocket: its body frame is within 4 mm and 10° (total rotation) of the upper-arm link frame, which it matches exactly when seated [`upper_arm_pose()`]. The forearm's root frame (on the elbow axis) is within 4 mm of its seated spot on the servo's output horn. Its orientation is less than 10° off that seat once any rotation about the horn axis is discounted, so any elbow angle passes [`lower_arm_seat_w()`, `motor_align_pos`/`motor_align_deg`]. None of this holds at the start.++## This robot+- Action: `ee_pose` only, 18 values: left arm then right arm, each the world pose of its `panda_hand` (`x y z qw qx qy qz`) and its two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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), `left_wrist` (on the left hand), and `right_wrist` (on the right hand). 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(15 / `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`, `left_wrist`, `right_wrist` at 2 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..5f48c59743--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard"+description = "EmbodiedSWE assembly.so101.bimanual_franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "assembly", "screwing", "power-tool", "bimanual", "franka", "assembly.so101.bimanual_franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda-bimanual"+family = "assembly.so101.bimanual_franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 8.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..c900df1fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-assembly-so101-bimanual-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/DIGESTindex 3d0b035e68..522d78c5e6 100644--- a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:6727eda76c1a28955d1aace2456316fc87b498767dbad3e7b677836136578cfe+sha256:949b218bcc73d6c7d739aac43e633ef996407a91ee5bf4efe5f9352c870f4533diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/README.mdindex b447b1494a..5c642acb5e 100644--- a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-cutting-dice-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda` || Family / instance | `cutting.dice.franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..d3722e828c--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:640613b4fd4a33518f3277007732560eeaec4981402932d2d95174c6c0c84d2ddiff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..7d1977cea3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-cutting-dice-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-cutting-dice-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda` |+| Family / instance | `cutting.dice.franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Dice the food with a chef knife (Franka, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-cutting-dice-franka-osc-i00-privileged`, with a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/dice_food.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..5864cc07ab--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-cutting-dice-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/grader/dice_food.py b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/grader/dice_food.pynew file mode 100644index 0000000000..641a8a7167--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/grader/dice_food.py@@ -0,0 +1,71 @@+"""Grader for the dice scene: the food diced into its target number of pieces, all still on the board.++Rubric stages (weights and modes live in RUBRIC):+ knife_taken the knife has been lifted off its rest — its root raised by the rest's rail+ height (`cfg.rest_rail_h`), the lift that frees the plate from the notches; a+ milestone, credit kept after the knife is put down+ pairs_cut fraction of the grid's weld PAIRS released (`scene.pair_cut`, the dice gate's+ own truth). The x-planes and y-planes are identical sub-goals — one stage, one+ fraction, each pair worth the same+ diced the scene's own done test: connected components of the live weld graph reach+ the target piece count AND every piece is still on the board (footprint from+ `cfg.board_size`, resting above the board top). "On the board" is a GATE on+ this stage, not a stage of its own — it is true at reset and only means+ anything once the food is diced+Success = `diced` read on the final state.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.cutting.scenes.dice_food import DiceFoodScene+++class DiceFoodGrader(BaseGrader):+ """Food diced into the target number of pieces, every piece still on the board.++ Ladder: knife taken 1/14 (0.071) · each weld pair released +1/14 (12 pairs -> 13/14 =+ 0.929) · diced with every piece on the board 1.00+ """++ SCENE = DiceFoodScene+ # One weight unit per step of the task: taking the knife (1), releasing each of the 3 x 3+ # grid's 12 weld pairs (12 identical sub-goals -> one fraction stage carrying 12 units, so+ # a single cut is worth exactly as much as the pick), and the final done gate (1).+ RUBRIC = (("knife_taken", 1, "once"), ("pairs_cut", 12), ("diced", 1))+ scene: DiceFoodScene++ def setup(self) -> None:+ self._knife_z0 = self.scene.knife.data.root_pos_w[:, 2].clone() # resting in the notches++ def check_success(self):+ return self._diced()++ def _target_pieces(self) -> int:+ return self.scene.cfg.target_pieces or len(self.scene.pieces)++ def _on_board(self):+ """(num_envs,) bool: every piece's origin inside the board footprint and above its top."""+ import torch++ s = self.scene+ hx, hy = s.cfg.board_size[0] / 2, s.cfg.board_size[1] / 2+ ok = torch.ones(s.env.num_envs, dtype=torch.bool, device=s.env.device)+ for pc in s.pieces:+ rel = pc.data.root_pos_w - s.env_origins+ ok &= (rel[:, 0].abs() < hx) & (rel[:, 1].abs() < hy) & (rel[:, 2] > s._board_top)+ return ok++ def _diced(self):+ return (self.scene.pieces_count() >= self._target_pieces()) & self._on_board()++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] -----------------------+ def knife_taken(self):+ z = self.scene.knife.data.root_pos_w[:, 2]+ return (z > self._knife_z0 + self.scene.cfg.rest_rail_h).float()++ def pairs_cut(self):+ return self.scene.pair_cut.float().mean(dim=1)++ def diced(self):+ return self._diced().float()diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..f8e621563b--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,373 @@+{+ "action_dim": 8,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.004166666666666667,+ "preset": "cutting.dice.franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/board/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/board/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/knife/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/knife/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_1/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_1/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_2/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_2/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_3/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_3/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_4/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_4/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_5/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_5/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_6/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_6/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_7/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_7/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_8/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_8/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.5799999833106995,+ 0.8579999804496765,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.8700000047683716,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.10000000149011612,+ -0.2736485004425049,+ 0.923056960105896,+ 0.36312851309776306,+ 0.6067435145378113,+ 0.36312851309776306,+ 0.6067435145378113,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.02114235609769821,+ -0.02156459353864193,+ 0.9040476083755493,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.025944489985704422,+ 0.002757108537480235,+ 0.9091457724571228,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.017994791269302368,+ 0.0256203506141901,+ 0.9054352045059204,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.0016107341507449746,+ -0.027542568743228912,+ 0.9108569622039795,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.000662905047647655,+ 0.005087577272206545,+ 0.9319012761116028,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.00015908165369182825,+ 0.027681469917297363,+ 0.9033148884773254,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.020952876657247543,+ -0.021006044000387192,+ 0.9047247171401978,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.025551119819283485,+ 0.0026869180146604776,+ 0.9067657589912415,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.01442672312259674,+ 0.025718392804265022,+ 0.9023453593254089,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "a92b77cdf142e1bdfdebceebc842c260e216579cc1786d010d97b5b9b4639dd3"+}diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..367457d80f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "cutting.dice.franka.osc",+ "grader": "grader/dice_food.py",+ "title": "Dice the food with a chef knife (Franka, operational-space control)",+ "text": "A tomato lies on a chopping board on a kitchen island; a chef knife lies on a knife rest beside the board. The tomato is scored on a grid: 2 planes across and 2 along it. Goal: pick up the knife and press its edge down through each scored plane (blade aligned with the plane — turn the blade 90 deg for the second set) to dice the tomato. It is diced once every plane has been pressed through and the pieces separate, all of them staying on the board.",+ "success": "Success, exactly: at the end of the run the tomato is in 9 separate pieces. All 12 scored joints between neighbouring cells of its 3 x 3 grid (6 for the planes across it, 6 for the planes along it) have been released [`pieces_count() >= 9`]. The centre (vertex-mean centroid) of every piece lies over the chopping board: within 0.30 m of the board's centre along its long side, within 0.13 m along its short side, and above the board's top surface (0.882 m above the floor). A joint releases, permanently, at the first instant all of these hold: the knife edge, at its point nearest the joint's cut point, is within 6 mm of the joint's plane and within 25 mm of the cut point horizontally along that plane; the blade face is within 15° of parallel to the plane; the edge is lower than the higher of the cut point's height and 1.5 mm above the board top; both pieces move under 0.10 m/s; and the knife rises no faster than 0.02 m/s. Not true at the start (one welded tomato)."+}diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..1de85ff219--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/instruction.md@@ -0,0 +1,26 @@+# Dice the food with a chef knife (Franka, operational-space control) — standard mode++The task of `embodiedswe-cutting-dice-franka-osc-i00-privileged`, on the same frozen scene. You drive a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, 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+A tomato lies on a chopping board on a kitchen island; a chef knife lies on a knife rest beside the board. The tomato is scored on a grid: 2 planes across and 2 along it. Goal: pick up the knife and press its edge down through each scored plane (blade aligned with the plane — turn the blade 90 deg for the second set) to dice the tomato. It is diced once every plane has been pressed through and the pieces separate, all of them staying on the board.++Success, exactly: at the end of the run the tomato is in 9 separate pieces. All 12 scored joints between neighbouring cells of its 3 x 3 grid (6 for the planes across it, 6 for the planes along it) have been released [`pieces_count() >= 9`]. The centre (vertex-mean centroid) of every piece lies over the chopping board: within 0.30 m of the board's centre along its long side, within 0.13 m along its short side, and above the board's top surface (0.882 m above the floor). A joint releases, permanently, at the first instant all of these hold: the knife edge, at its point nearest the joint's cut point, is within 6 mm of the joint's plane and within 25 mm of the cut point horizontally along that plane; the blade face is within 15° of parallel to the plane; the edge is lower than the higher of the cut point's height and 1.5 mm above the board top; both pieces move under 0.10 m/s; and the knife rises no faster than 0.02 m/s. Not true at the start (one welded tomato).++## This robot+- Action: `ee_pose` only, 9 values: the world pose of `panda_hand` (`x y z qw qx qy qz`) and the two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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): `front`, `overview` (static) and `wrist` (on the hand). 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(15 / `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 `front`, `wrist` at 4 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..d3238ef349--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-cutting-dice-franka-osc-i00-standard"+description = "EmbodiedSWE cutting.dice.franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "cutting", "tool-use", "franka", "cutting.dice.franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda"+family = "cutting.dice.franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 4.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..5864cc07ab--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-cutting-dice-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-dice-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/DIGESTindex c9a53a332e..2200ab9588 100644--- a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:187ba05db7f0ab4a3bfa202da505f0ea9571c07424cde938996209eaf75eb311+sha256:14c76ccc6304268cc6b9038d84b35547ce3ac8362fd89036655b3048b93af409diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/README.mdindex 9223366a67..ab1ebc0076 100644--- a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-cutting-slice-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda` || Family / instance | `cutting.slice.franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..c5a839e193--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:b7013857f4e32470d1a516706a8b2c868ebcf623099a15df39d685203a70cf2ddiff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..eba45f4fab--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-cutting-slice-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-cutting-slice-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda` |+| Family / instance | `cutting.slice.franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Slice the food with a chef knife (Franka, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-cutting-slice-franka-osc-i00-privileged`, with a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/slice_food.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..66db808296--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-cutting-slice-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/grader/slice_food.py b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/grader/slice_food.pynew file mode 100644index 0000000000..413bcf4f1a--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/grader/slice_food.py@@ -0,0 +1,91 @@+"""Grader for the slice scene: the food cut into its target number of pieces, all still on the board.++Rubric stages (weights and modes live in RUBRIC):+ knife_taken the knife has been lifted clear of its rest — its root raised by at least+ cfg.rest_rail_h (the rails' height) above where it lay at the graded reset, so+ the edge is above the rail tops and the notches no longer hold it; a milestone+ ("once"), credit kept after the knife is set down again+ planes_cut fraction of the cuts the target needs that have been made — released planes+ over (target - 1), a linear ramp from the welded food (0) to the target piece+ count (1), target = cfg.target_pieces or every piece. The scored planes are+ identical sub-goals: one stage, one fraction, each plane worth the same+ sliced the scene's own done test: piece count (connected components of the live weld+ chain, `pieces_count()`) reaches the target AND every piece is still on the+ chopping board — inside the board's footprint (cfg.board_size) and above its+ top. "On the board" is a GATE on this stage, not a stage of its own: it is+ true at reset and only means anything once the food is cut+Success = `sliced` read when the delivery finishes.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.cutting.scenes.slice_food import SliceFoodScene+++class SliceFoodGrader(BaseGrader):+ """Food sliced into the target number of pieces, every piece still on the board.++ Ladder (7 scored planes — the carrot / banana assets — target = all pieces): knife taken+ 1/9 (0.111) · each plane cut +1/9 (7 planes -> 8/9 = 0.889) · sliced with every piece on+ the board 1.00.+ """++ SCENE = SliceFoodScene+ # One weight unit per step of the task: taking the knife (1), releasing each scored plane+ # (7 identical sub-goals -> one fraction stage carrying 7 units, so a single cut is worth+ # exactly as much as the pick), and the final done gate (1). The class default is the 7+ # planes of the carrot / banana assets; __init__ re-derives the unit count from the+ # graded scene's own target so the rule holds for any food or `target_pieces`.+ RUBRIC = (("knife_taken", 1, "once"), ("planes_cut", 7), ("sliced", 1))+ scene: SliceFoodScene++ def __init__(self, env) -> None:+ if isinstance(env.scene, self.SCENE): # else leave the default; BaseGrader raises+ cuts = self._cuts_needed(env.scene)+ self.RUBRIC = (("knife_taken", 1, "once"), ("planes_cut", cuts), ("sliced", 1))+ super().__init__(env)++ @staticmethod+ def _cuts_needed(scene: SliceFoodScene) -> int:+ target = scene.cfg.target_pieces or len(scene.pieces)+ if target <= 1:+ raise ValueError(f"target_pieces={target} needs no cut — the planes ramp "+ "(target - 1 cuts) is undefined")+ return target - 1++ def setup(self) -> None:+ self._knife_z0 = self.scene.knife.data.root_pos_w[:, 2].clone() # resting on the rails+ self._target = self._cuts_needed(self.scene) + 1++ def check_success(self):+ return self._sliced()++ def _on_board(self):+ """(num_envs,) bool: every piece's root inside the board's footprint and above its top.+ The kinematic board is centred on the env origin (assets(): pos (0, 0)), so its+ half-extents are the test; a piece whose centre leaves the footprint tips off."""+ import torch++ s = self.scene+ hx, hy = s.cfg.board_size[0] / 2, s.cfg.board_size[1] / 2+ ok = torch.ones(s.env.num_envs, dtype=torch.bool, device=s.env.device)+ for pc in s.pieces:+ rel = pc.data.root_pos_w - s.env_origins+ ok &= (rel[:, 0].abs() < hx) & (rel[:, 1].abs() < hy) & (rel[:, 2] > s._board_top)+ return ok++ def _sliced(self):+ return (self.scene.pieces_count() >= self._target) & self._on_board()++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] ---------------------+ def knife_taken(self):+ rise = self.scene.knife.data.root_pos_w[:, 2] - self._knife_z0+ return (rise >= self.scene.cfg.rest_rail_h).float()++ def planes_cut(self):+ made = (self.scene.pieces_count() - 1).float()+ return (made / (self._target - 1)).clamp(0.0, 1.0)++ def sliced(self):+ return self._sliced().float()diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..53ffa8687f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,346 @@+{+ "action_dim": 8,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.004166666666666667,+ "preset": "cutting.slice.franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/board/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/board/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/knife/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/knife/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_1/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_1/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_2/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_2/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_3/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_3/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_4/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_4/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_5/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_5/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_6/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_6/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/piece_7/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/piece_7/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.5799999833106995,+ 0.8579999804496765,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.8700000047683716,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.10000000149011612,+ -0.2736485004425049,+ 0.923056960105896,+ 0.36312851309776306,+ 0.6067435145378113,+ 0.36312851309776306,+ 0.6067435145378113,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.07558400928974152,+ 0.0005210351082496345,+ 0.8981127738952637,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.04757993668317795,+ -0.00012431092909537256,+ 0.9008064270019531,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.024032164365053177,+ -0.0008916323422454298,+ 0.9019894599914551,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.00013416247384157032,+ -0.0006178170442581177,+ 0.9014658331871033,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.025195427238941193,+ 0.0004911758005619049,+ 0.9012535810470581,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.049077294766902924,+ 0.0007258327677845955,+ 0.90040522813797,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.07350704818964005,+ 0.0008993648225441575,+ 0.8991332054138184,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.09790591895580292,+ -0.0010726850014179945,+ 0.898447573184967,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "f7ef5fb015317427134974ddcdd09c40b5b379fcfcfd0ec2b1e30c92c27393a8"+}diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..e370fe5403--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "cutting.slice.franka.osc",+ "grader": "grader/slice_food.py",+ "title": "Slice the food with a chef knife (Franka, operational-space control)",+ "text": "A carrot lies on a chopping board on a kitchen island; a chef knife lies on a knife rest beside the board. The carrot is scored at 7 transverse planes. Goal: pick up the knife and press its edge down through each scored plane (blade aligned with the plane) to cut the carrot into slices. The carrot is cut once every plane has been pressed through and the pieces separate, all of them staying on the board.",+ "success": "Success, exactly: at the end of the run the carrot is in 8 separate pieces. All 7 of its scored transverse joints have been released [`pieces_count() >= 8`]. The centre (vertex-mean centroid) of every piece lies over the chopping board: within 0.30 m of the board's centre along its long side, within 0.13 m along its short side, and above the board's top surface (0.882 m above the floor). A plane releases, permanently, at the first instant all of these hold, measured in the carrot's live frame (anchored on its fifth piece): the knife edge, at its point nearest that plane's flesh centre, is within 6 mm of the plane and within 25 mm of the flesh centre across the carrot; the blade face is within 15° of parallel to the plane; the edge is lower than the higher of the flesh centre's height and 1.5 mm above the board top; every piece moves under 0.10 m/s; and the knife rises no faster than 0.02 m/s. Not true at the start."+}diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..eab1b1bf75--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/instruction.md@@ -0,0 +1,26 @@+# Slice the food with a chef knife (Franka, operational-space control) — standard mode++The task of `embodiedswe-cutting-slice-franka-osc-i00-privileged`, on the same frozen scene. You drive a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, 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+A carrot lies on a chopping board on a kitchen island; a chef knife lies on a knife rest beside the board. The carrot is scored at 7 transverse planes. Goal: pick up the knife and press its edge down through each scored plane (blade aligned with the plane) to cut the carrot into slices. The carrot is cut once every plane has been pressed through and the pieces separate, all of them staying on the board.++Success, exactly: at the end of the run the carrot is in 8 separate pieces. All 7 of its scored transverse joints have been released [`pieces_count() >= 8`]. The centre (vertex-mean centroid) of every piece lies over the chopping board: within 0.30 m of the board's centre along its long side, within 0.13 m along its short side, and above the board's top surface (0.882 m above the floor). A plane releases, permanently, at the first instant all of these hold, measured in the carrot's live frame (anchored on its fifth piece): the knife edge, at its point nearest that plane's flesh centre, is within 6 mm of the plane and within 25 mm of the flesh centre across the carrot; the blade face is within 15° of parallel to the plane; the edge is lower than the higher of the flesh centre's height and 1.5 mm above the board top; every piece moves under 0.10 m/s; and the knife rises no faster than 0.02 m/s. Not true at the start.++## This robot+- Action: `ee_pose` only, 9 values: the world pose of `panda_hand` (`x y z qw qx qy qz`) and the two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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): `front`, `overview` (static) and `wrist` (on the hand). 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(15 / `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 `front`, `wrist` at 4 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..74de2799de--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-cutting-slice-franka-osc-i00-standard"+description = "EmbodiedSWE cutting.slice.franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "cutting", "tool-use", "franka", "cutting.slice.franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda"+family = "cutting.slice.franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 3.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..66db808296--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-cutting-slice-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-cutting-slice-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/DIGESTindex 7b68a83ec2..edefbbd7a3 100644--- a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/DIGEST@@ -1 +1 @@-sha256:f38415406fe5a7b4ce6c15dc289b308b582cf911c9ff7a9081dd33052ef60b7e+sha256:a7a70b89b68cee647d17d3eacc2a0c90ac092f65575a045d176516af98f0096ediff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/README.mdindex 7581120887..61016626aa 100644--- a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard` || Simulator / robot | `embodiedswe` / `unitree-g1-dex3` || Family / instance | `locomanip.box_to_bin.g1.loco_pink_ik` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/DIGESTnew file mode 100644index 0000000000..2abc4f0254--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:b1e1b561b9ed6c617de6c4c5d7ac14991b858843458c0cddb8cdc16cc57c93fddiff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/README.mdnew file mode 100644index 0000000000..247da23165--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged` |+| Simulator / robot | `embodiedswe` / `unitree-g1-dex3` |+| Family / instance | `locomanip.box_to_bin.g1.loco_pink_ik` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Carry the box from the shelf to the bin (Unitree G1, walking, Pink IK): the scene, frozen instance and success predicate of `embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged`, with a Unitree G1 humanoid with three-finger hands, walking under EmbodiedSWE's frozen locomotion policy, its arms and waist under its Pink IK, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/box_to_bin.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..4baffa32bf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/grader/box_to_bin.py b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/grader/box_to_bin.pynew file mode 100644index 0000000000..cb7b2e0a85--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/grader/box_to_bin.py@@ -0,0 +1,52 @@+"""Grader for the box-to-bin scene: the box taken off the shelf, walked around the corner, and left in the bin.++Rubric stages (weights and modes live in RUBRIC) — the scene's own chain lifted -> transited ->+placed, one rung each:+ picked the scene's `lifted` latch: the box got clear of its shelf board, either raised+ `cfg.lift_h` above its resting height or seen held up in the apron in front of the+ shelf face (both pick styles the open shelving affords); a milestone+ carried the scene's own `carried_fraction()` — the fraction of the start-to-bin xy distance+ the box has closed, a linear ramp — reading 1 once the scene's `transited` latch has+ fired (its own "the transit is done" mark, which `success()` requires); a milestone,+ so a box that arrives and is released keeps the credit+ in_bin the scene's own `placed()` — fully inside the bin's inset interior bands, below the+ rim-excluding height cap, and settled; live, so it dips if the box leaves the bin+Success is the scene's own `success()` — `lifted & transited & placed()` — read on the final+state; the three rungs are exactly its three conjuncts, so progress reads 1.0 iff it holds.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.locomanip.scenes.box_to_bin import BoxToBinScene+++class BoxToBinGrader(BaseGrader):+ """The cardboard box picked off the shelf, carried around the corner, and resting inside the sorting bin.++ Ladder: picked 0.333 · carried 0.667 (linear in the distance closed) · in bin 1.00+ """++ SCENE = BoxToBinScene+ RUBRIC = (("picked", 1, "once"), ("carried", 1, "once"), ("in_bin", 1))+ scene: BoxToBinScene++ def setup(self) -> None:+ pass # every reference is the scene's own (latches, cfg bands); nothing to capture++ def check_success(self):+ return self.scene.success()++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] -----------------------+ def picked(self):+ return self.scene._lifted.float()++ def carried(self):+ import torch++ s = self.scene+ return torch.where(s._transited, torch.ones_like(s._transited, dtype=torch.float32),+ s.carried_fraction().clamp(0.0, 1.0))++ def in_bin(self):+ return self.scene.placed().float()diff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..13b13f5a00--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/instance.json@@ -0,0 +1,171 @@+{+ "action_dim": 32,+ "control_dt": 0.02,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.005,+ "preset": "locomanip.box_to_bin.g1.loco_pink_ik",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/box/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/box/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ -0.10000000149011612,+ -0.10000000149011612,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.30000001192092896,+ 0.30000001192092896,+ 0.0,+ 0.0,+ -0.20000000298023224,+ -0.20000000298023224,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.75,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.578499972820282,+ 0.8659999966621399,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "a38b928986833f46c985abcf31096890c26110ad1eddeb380479ed83f4e9fdc0"+}diff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..bc6f03c2da--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "locomanip.box_to_bin.g1.loco_pink_ik",+ "grader": "grader/box_to_bin.py",+ "title": "Carry the box from the shelf to the bin (Unitree G1, walking, Pink IK)",+ "text": "A steel shelving unit stands with its face 0.46 m ahead of the start pose, boards at 0.41, 0.76 and 1.49 m. On the middle board sits a brown cardboard box, 20 cm on a side and about 0.1 kg, its center 0.86 m up, nearly flush with the shelf's front edge and with 0.69 m of clear air above it. To the right, about 1.4 m away, a low table (top 0.53 m) carries an open blue sorting bin: interior about 48 x 72 cm around (1.81, -0.24), floor at 0.53 m, walls just 0.05 m tall — a shallow tray the box drops into, not a deep basket.\nGoal: pick the box up off the shelf, carry it to the table, and leave it resting inside the bin. The task is complete once the box sits fully inside the bin's walls, released and come to rest — not still held, not straddling the rim.\nThe bin is further away than any arm reaches, so the box can only get there if the robot itself does — and the table stands off the shelf's axis, so the route turns.",+ "success": "Success, exactly (floor frame: origin at the robot's start spot, +y straight ahead toward the shelf, +x to its right, z up): (a) at some moment the brown box was taken off the shelf. Either its centre rose above 0.913 m (5 cm above its 0.863 m resting height), or it was held above 0.35 m inside the window in front of the shelf face (y between 0.063 and 0.413 m, |x| < 0.50 m). (b) At or after that moment, its centre came within 0.1986 m horizontally of the bin centre (1.8072, -0.245), i.e. it closed more than 90% of the 1.986 m start-to-bin distance. (c) At the end, the box centre has x between 1.6672 and 1.9472 m, y between -0.505 and 0.015 m, and height below 0.6666 m (0.136 m above the 0.5306 m table top, which excludes a box lying across the rim). Every component of its linear (m/s) and angular (rad/s) velocity is under 0.20. Not true at the start."+}diff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/instruction.mdnew file mode 100644index 0000000000..c7ced42f46--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/instruction.md@@ -0,0 +1,28 @@+# Carry the box from the shelf to the bin (Unitree G1, walking, Pink IK) — standard mode++The task of `embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-privileged`, on the same frozen scene. You drive a Unitree G1 humanoid with three-finger hands, walking under EmbodiedSWE's frozen locomotion policy, its arms and waist under its 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+A steel shelving unit stands with its face 0.46 m ahead of the start pose, boards at 0.41, 0.76 and 1.49 m. On the middle board sits a brown cardboard box, 20 cm on a side and about 0.1 kg, its center 0.86 m up, nearly flush with the shelf's front edge and with 0.69 m of clear air above it. To the right, about 1.4 m away, a low table (top 0.53 m) carries an open blue sorting bin: interior about 48 x 72 cm around (1.81, -0.24), floor at 0.53 m, walls just 0.05 m tall — a shallow tray the box drops into, not a deep basket.+Goal: pick the box up off the shelf, carry it to the table, and leave it resting inside the bin. The task is complete once the box sits fully inside the bin's walls, released and come to rest — not still held, not straddling the rim.+The bin is further away than any arm reaches, so the box can only get there if the robot itself does — and the table stands off the shelf's axis, so the route turns.++Success, exactly (floor frame: origin at the robot's start spot, +y straight ahead toward the shelf, +x to its right, z up): (a) at some moment the brown box was taken off the shelf. Either its centre rose above 0.913 m (5 cm above its 0.863 m resting height), or it was held above 0.35 m inside the window in front of the shelf face (y between 0.063 and 0.413 m, |x| < 0.50 m). (b) At or after that moment, its centre came within 0.1986 m horizontally of the bin centre (1.8072, -0.245), i.e. it closed more than 90% of the 1.986 m start-to-bin distance. (c) At the end, the box centre has x between 1.6672 and 1.9472 m, y between -0.505 and 0.015 m, and height below 0.6666 m (0.136 m above the 0.5306 m table top, which excludes a box lying across the rim). Every component of its linear (m/s) and angular (rad/s) velocity is under 0.20. Not true at the start.++## This robot+- Action: `ee_pose` only, 32 values: the world poses of the left and right `wrist_yaw_link` (`x y z qw qx qy qz` each), 14 hand joint targets (rad), then the base command `vx vy wz hip_height` (`[0, 0, 0, 0.72]` stands still; the wrist poses are in the world frame, so move them with the robot while it walks). 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): `wide`, `pick`, `place`, `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 `wide`, `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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/task.tomlnew file mode 100644index 0000000000..32a9134b31--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard"+description = "EmbodiedSWE locomanip.box_to_bin.g1.loco_pink_ik (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "loco-manipulation", "humanoid", "unitree-g1", "walking", "locomanip.box_to_bin.g1.loco_pink_ik", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "unitree-g1-dex3"+family = "locomanip.box_to_bin.g1.loco_pink_ik"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 4.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..4baffa32bf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-box-to-bin-g1-loco-pink-ik-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/DIGESTindex b7130822dc..9c939eab13 100644--- a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/DIGEST@@ -1 +1 @@-sha256:e12c41a84dd24572b9e27121067bfedc32c6df4c108db99dd2675888f3f37da6+sha256:37103866864e492c4c70763f4b5935c37b5c9baed5b41127544dc0b660fe225ediff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/README.mdindex fb03cbee9b..53ba5e514d 100644--- a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard` || Simulator / robot | `embodiedswe` / `unitree-g1-dex3` || Family / instance | `locomanip.fruit_delivery.g1.loco_pink_ik` / seed 0 || Oracle | `none` — No reference solution in the repository. A scripted reference solve() exists outside the repository (internal only, used to check the task is solvable through the grading path); it is not shipped. |diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/DIGESTnew file mode 100644index 0000000000..94f7d5b389--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:81b1b1fd02faa18393e3c5be3c1c1853c5bbede6d9d7ec9f7a17f731951f33e4diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/README.mdnew file mode 100644index 0000000000..6035449a0d--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged` |+| Simulator / robot | `embodiedswe` / `unitree-g1-dex3` |+| Family / instance | `locomanip.fruit_delivery.g1.loco_pink_ik` / seed 0 |+| Oracle | `none` — No reference solution in the repository. The privileged twin's internal reference solve() (outside the repository), recorded on the service's start-up as this task's ee_pose rows and streamed through the client, scored 1 in a Harbor oracle trial (L40S, 2026-10-29); nop scored 0. |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Deliver the fruit to the plate (Unitree G1, walking, Pink IK): the scene, frozen instance and success predicate of `embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged`, with a Unitree G1 humanoid with three-finger hands, walking under EmbodiedSWE's frozen locomotion policy, its arms and waist under its Pink IK, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None in the repository (`oracle = "none"`). The privileged twin's internal reference solve(), recorded as `ee_pose` rows and streamed through the client, scored 1 (a Harbor oracle trial, L40S).++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/fruit_delivery.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..34734e1f81--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/grader/fruit_delivery.py b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/grader/fruit_delivery.pynew file mode 100644index 0000000000..bcc065e5e7--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/grader/fruit_delivery.py@@ -0,0 +1,86 @@+"""Grader for the fruit delivery scene: every fruit carried around the table and set on the far plate.++Rubric stages (weights and modes live in RUBRIC), each a fraction over the fruits PRESENT this+episode (the scene's `present` mask; identical fruits share one stage):+ lifted fraction of fruits ever raised clear of the table — the fruit's origin (the produce+ assets sit with their origin at the base, on `cfg.surface_z`) above the plate's rim+ height (`cfg.plate_rim_z`), the height every fruit must clear to enter the dish; a+ milestone, credit kept after the fruit is set down+ carried mean transit progress: for each fruit, a linear ramp of its radial xy distance from+ the plate's counted centre (the scene's own body-frame measure, see `_on_plate`) from+ where it lay at the graded reset (0) to the counted footprint edge+ `cfg.radius_frac * cfg.plate_radius` (1); a milestone, so a fruit that arrives and is+ released keeps the credit+ placed the scene's own `fruits_placed()` — on the plate AND settled — as a fraction of the+ present fruits, GATED by the scene's `nonfruits_on_plate()` being empty: a pumpkin or+ onion on the plate fails the task, so it zeroes the done stage rather than being a+ weighted stage of its own (it is trivially "true" at reset)+Success is the scene's own `success()`: every present fruit placed and nothing that is not a fruit+on the plate, read on the final state.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.locomanip.scenes.fruit_delivery import FruitDeliveryScene+++class FruitDeliveryGrader(BaseGrader):+ """Every fruit carried around the table and resting on the far-side plate, nothing else put on it.++ Ladder (one fruit): lifted 0.333 · carried 0.667 · placed 1.00+ With N fruits every rung is the fraction over the N present fruits, so k fruits fully+ delivered score k/N.+ """++ SCENE = FruitDeliveryScene+ RUBRIC = (("lifted", 1, "once"), ("carried", 1, "once"), ("placed", 1))+ scene: FruitDeliveryScene++ def setup(self) -> None:+ s = self.scene+ # each fruit's radial distance from the plate's counted centre at the graded reset —+ # the start of its transit ramp+ self._r0 = self._radial()[:, s._fruit_idx].clone() # (num_envs, n_fruits)++ def check_success(self):+ return self.scene.success()++ def _radial(self):+ """(num_envs, n_items) radial xy distance of every item from the plate's GEOMETRIC centre,+ in the plate's body frame — the same measure the scene's `_on_plate` footprint test uses."""+ import torch+ from isaaclab.utils.math import quat_apply_inverse++ s = self.scene+ pp, pq = s.plate.data.root_pos_w, s.plate.data.root_quat_w+ cols = []+ for name in s.names:+ loc = quat_apply_inverse(pq, s.items[name].data.root_pos_w - pp)+ cols.append((loc[:, :2] - s._plate_center).norm(dim=-1))+ return torch.stack(cols, dim=1)++ def _frac_present(self, per_fruit):+ """Mean of a per-fruit (num_envs, n_fruits) value over the fruits present in each env."""+ pres = self.scene.fruits_present()+ return (per_fruit.float() * pres).sum(dim=1) / pres.sum(dim=1).clamp(min=1).float()++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] -----------------------+ def lifted(self):+ import torch++ s = self.scene+ z = torch.stack([s.items[n].data.root_pos_w[:, 2] for n in s.names], dim=1)[:, s._fruit_idx]+ z = z - s.env_origins[:, 2:3]+ return self._frac_present(z > s.cfg.surface_z + s.cfg.plate_rim_z)++ def carried(self):+ s = self.scene+ r = self._radial()[:, s._fruit_idx]+ span = (self._r0 - s._plate_r).clamp(min=1e-6) # start -> counted footprint edge+ return self._frac_present(((self._r0 - r) / span).clamp(0.0, 1.0))++ def placed(self):+ s = self.scene+ clean = ~s.nonfruits_on_plate().any(dim=1)+ return self._frac_present(s.fruits_placed()) * clean.float()diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..3e85efe220--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/instance.json@@ -0,0 +1,387 @@+{+ "action_dim": 32,+ "control_dt": 0.016667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.008333333333333333,+ "preset": "locomanip.fruit_delivery.g1.loco_pink_ik",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/lemon_01/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/lemon_01/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/plate/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/plate/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pumpkinlarge/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pumpkinlarge/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pumpkinsmall/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pumpkinsmall/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/redonion/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/redonion/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/serving_bowl/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/serving_bowl/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/spatula/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/spatula/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/storage_box/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/storage_box/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/wooden_spoons/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/wooden_spoons/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ -0.10000000149011612,+ -0.10000000149011612,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.30000001192092896,+ 0.30000001192092896,+ 0.0,+ 0.0,+ -0.20000000298023224,+ -0.20000000298023224,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.8500000238418579,+ 0.75,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.22302860021591187,+ -0.3694996237754822,+ 0.7020000219345093,+ 0.5125339031219482,+ 0.0,+ 0.0,+ 0.8586669564247131,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.31277498602867126,+ 0.281345009803772,+ 0.699999988079071,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.18000000715255737,+ -0.11999999731779099,+ 0.7319999933242798,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.25999999046325684,+ -0.33000001311302185,+ 0.7020000219345093,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.15000000596046448,+ -0.14000000059604645,+ 0.7319999933242798,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.41999998688697815,+ 0.05000000074505806,+ 0.7020000219345093,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.41999998688697815,+ -0.4300000071525574,+ 0.7319999933242798,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.5600000023841858,+ -0.07999999821186066,+ 0.7319999933242798,+ 0.9848077297210693,+ 0.0,+ 0.0,+ 0.1736481785774231,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.4399999976158142,+ -0.41999998688697815,+ 0.7020000219345093,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.7071068286895752,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "41faf1196e45d0b2cb30c701041bd3e300dc4e113cc29b9ce4ecb4bbb1b24b99"+}diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..438e6c127a--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "locomanip.fruit_delivery.g1.loco_pink_ik",+ "grader": "grader/fruit_delivery.py",+ "title": "Deliver the fruit to the plate (Unitree G1, walking, Pink IK)",+ "text": "A wooden kitchen table holds a mix of items on the side nearest you: fruit — a lemon — scattered among things that are not fruit: a pumpkin, a small pumpkin, a red onion, a serving bowl, a storage box, a pair of wooden spoons, and a spatula. A large round clay plate (about 30 cm across, a shallow dish) stands on the FAR side of the same table, well beyond arm's reach from where the items lie.\nGoal: pick up every FRUIT and place it on the plate, leaving everything else where it is. You cannot reach the plate from the near side — carry each fruit around the table and place it from the far side. Note that not all produce is fruit: the pumpkins and the onion belong on the table, not the plate. A fruit counts only when it is resting on the plate; the job is done when every fruit is on the plate and nothing else has been put on it.",+ "success": "Success, exactly: at the end of the run the lemon (the only fruit) rests on the clay plate on the far side of the table. Its origin (at its base) is within 0.1326 m horizontally of the dish's geometric centre (88% of the plate's 0.1506 m radius) and 0.005-0.1473 m above the plate's base, measured in the plate's own frame (the plate is fixed). It moves slower than 0.06 m/s. No non-fruit item (large pumpkin, small pumpkin, red onion, serving bowl, storage box, wooden spoons, spatula) has its origin inside that same counted volume, whatever its speed. The dish centre is 0.30 m right of and 0.30 m beyond the table centre, on the side opposite the robot's start. Not true at the start."+}diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/instruction.mdnew file mode 100644index 0000000000..7ecd53fb31--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/instruction.md@@ -0,0 +1,27 @@+# Deliver the fruit to the plate (Unitree G1, walking, Pink IK) — standard mode++The task of `embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-privileged`, on the same frozen scene. You drive a Unitree G1 humanoid with three-finger hands, walking under EmbodiedSWE's frozen locomotion policy, its arms and waist under its 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+A wooden kitchen table holds a mix of items on the side nearest you: fruit — a lemon — scattered among things that are not fruit: a pumpkin, a small pumpkin, a red onion, a serving bowl, a storage box, a pair of wooden spoons, and a spatula. A large round clay plate (about 30 cm across, a shallow dish) stands on the FAR side of the same table, well beyond arm's reach from where the items lie.+Goal: pick up every FRUIT and place it on the plate, leaving everything else where it is. You cannot reach the plate from the near side — carry each fruit around the table and place it from the far side. Note that not all produce is fruit: the pumpkins and the onion belong on the table, not the plate. A fruit counts only when it is resting on the plate; the job is done when every fruit is on the plate and nothing else has been put on it.++Success, exactly: at the end of the run the lemon (the only fruit) rests on the clay plate on the far side of the table. Its origin (at its base) is within 0.1326 m horizontally of the dish's geometric centre (88% of the plate's 0.1506 m radius) and 0.005-0.1473 m above the plate's base, measured in the plate's own frame (the plate is fixed). It moves slower than 0.06 m/s. No non-fruit item (large pumpkin, small pumpkin, red onion, serving bowl, storage box, wooden spoons, spatula) has its origin inside that same counted volume, whatever its speed. The dish centre is 0.30 m right of and 0.30 m beyond the table centre, on the side opposite the robot's start. Not true at the start.++## This robot+- Action: `ee_pose` only, 32 values: the world poses of the left and right `wrist_yaw_link` (`x y z qw qx qy qz` each), 14 hand joint targets (rad), then the base command `vx vy wz hip_height` (`[0, 0, 0, 0.72]` stands still; the wrist poses are in the world frame, so move them with the robot while it walks). 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/task.tomlnew file mode 100644index 0000000000..cdef6a8e93--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard"+description = "EmbodiedSWE locomanip.fruit_delivery.g1.loco_pink_ik (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "loco-manipulation", "humanoid", "unitree-g1", "walking", "locomanip.fruit_delivery.g1.loco_pink_ik", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "unitree-g1-dex3"+family = "locomanip.fruit_delivery.g1.loco_pink_ik"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository. The privileged twin's internal reference solve() (outside the repository), recorded on the service's start-up as this task's ee_pose rows and streamed through the client, scored 1 in a Harbor oracle trial (L40S, 2026-10-29); nop scored 0."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 4.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..34734e1f81--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-fruit-delivery-g1-loco-pink-ik-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/DIGESTindex 4917842e1c..631d5629b4 100644--- a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/DIGEST@@ -1 +1 @@-sha256:d01ce3f610cc85623bddbbbf1062376fad154593955192be3aff3175bc3d7365+sha256:27c20424fcb970f363124de7241067e87886ed542e18abaf5fcfcd98f6e451f2diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/README.mdindex 50690d0536..073519f797 100644--- a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard` || Simulator / robot | `embodiedswe` / `unitree-g1-dex3` || Family / instance | `locomanip.wheel_carry.g1.loco_pink_ik` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/DIGESTnew file mode 100644index 0000000000..aef02f9350--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:b0014593f881b0dd653fb4100686b7a5286fe4b4c8a399ea0facc4d2a34e8d06diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/README.mdnew file mode 100644index 0000000000..cbc085335b--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged` |+| Simulator / robot | `embodiedswe` / `unitree-g1-dex3` |+| Family / instance | `locomanip.wheel_carry.g1.loco_pink_ik` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Carry the wheel to the basket (Unitree G1, walking, Pink IK): the scene, frozen instance and success predicate of `embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged`, with a Unitree G1 humanoid with three-finger hands, walking under EmbodiedSWE's frozen locomotion policy, its arms and waist under its Pink IK, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/wheel_carry.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..34f0814b56--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/grader/wheel_carry.py b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/grader/wheel_carry.pynew file mode 100644index 0000000000..54eca93343--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/grader/wheel_carry.py@@ -0,0 +1,52 @@+"""Grader for the wheel carry scene: the wheel picked up here, walked over there, and left in the basket.++Rubric stages (weights and modes live in RUBRIC) — the scene's own chain lifted -> transited ->+placed, one rung each:+ picked the scene's `lifted` latch: the wheel's origin raised `cfg.lift_h` above the pick+ table top; a milestone, credit kept after it is put down+ carried the scene's own `carried_fraction()` — the fraction of `cfg.carry_dx` the wheel+ has travelled along +x from the pick station, a linear ramp — reading 1 once the+ scene's `transited` latch has fired (its own "the transit is done" mark, which+ `success()` requires); a milestone, so a wheel that arrives and is released keeps+ the credit+ in_basket the scene's own `placed()` — inside the basket's target bands, below the height+ cap, and settled; live, so it dips if the wheel leaves the basket+Success is the scene's own `success()` — `lifted & transited & placed()` — read on the final+state; the three rungs are exactly its three conjuncts, so progress reads 1.0 iff it holds.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.locomanip.scenes.wheel_carry import WheelCarryScene+++class WheelCarryGrader(BaseGrader):+ """The steering wheel lifted off the near table, carried across, and resting inside the far basket.++ Ladder: picked 0.333 · carried 0.667 (linear in the distance closed) · in basket 1.00+ """++ SCENE = WheelCarryScene+ RUBRIC = (("picked", 1, "once"), ("carried", 1, "once"), ("in_basket", 1))+ scene: WheelCarryScene++ def setup(self) -> None:+ pass # every reference is the scene's own (latches, cfg bands); nothing to capture++ def check_success(self):+ return self.scene.success()++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] -----------------------+ def picked(self):+ return self.scene._lifted.float()++ def carried(self):+ import torch++ s = self.scene+ return torch.where(s._transited, torch.ones_like(s._transited, dtype=torch.float32),+ s.carried_fraction().clamp(0.0, 1.0))++ def in_basket(self):+ return self.scene.placed().float()diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..68ba3326b7--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/instance.json@@ -0,0 +1,171 @@+{+ "action_dim": 32,+ "control_dt": 0.02,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.005,+ "preset": "locomanip.wheel_carry.g1.loco_pink_ik",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/wheel/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/wheel/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ -0.10000000149011612,+ -0.10000000149011612,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.30000001192092896,+ 0.30000001192092896,+ 0.0,+ 0.0,+ -0.20000000298023224,+ -0.20000000298023224,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.75,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.3499999940395355,+ 0.44999998807907104,+ 0.6995999813079834,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "0d45f57179e09fee4fda231b164ce2750766876d37512bb963662db1dfa3e062"+}diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..23a5d03e25--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "locomanip.wheel_carry.g1.loco_pink_ik",+ "grader": "grader/wheel_carry.py",+ "title": "Carry the wheel to the basket (Unitree G1, walking, Pink IK)",+ "text": "Two heavy-duty packing tables stand 3.0 m apart, their tops 0.69 m off the floor. On the near table a car steering wheel about 29 cm across lies flat, hub up. The far table carries an open plastic basket, its rim 0.78 m up and its interior about 70 x 46 cm — roomy enough to take the wheel lying flat. Nothing stands between the two tables but open floor.\nGoal: pick the steering wheel up off the near table, carry it to the far table, and put it in the basket. The task is complete once the wheel is resting inside the basket, released and come to rest — not still held, not balanced on the rim.\nThe two tables are further apart than any arm reaches, so the wheel can only get there if the robot itself does.",+ "success": "Success, exactly (floor frame: origin at the robot's start spot, +y straight ahead toward the near table, +x to its right toward the far table, z up): (a) at some moment the steering wheel's origin, which starts 5.6 mm above the near table top with the wheel flat, rose above 0.744 m (5 cm above the 0.694 m table top). (b) At or after that moment, the origin was more than 2.70 m to the right (x > 2.7 m, 90% of the 3.0 m table-to-table offset). (c) At the end, the wheel's origin is inside the basket target zone: x between 3.40 and 3.85 m, y between 0.35 and 0.60 m (an inset within the basket's ~0.70 x 0.46 m interior), and height below 1.100 m (0.406 m above the far table top). Every component of its linear (m/s) and angular (rad/s) velocity is under 0.20. Not true at the start."+}diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/instruction.mdnew file mode 100644index 0000000000..9746bb2b80--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/instruction.md@@ -0,0 +1,28 @@+# Carry the wheel to the basket (Unitree G1, walking, Pink IK) — standard mode++The task of `embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-privileged`, on the same frozen scene. You drive a Unitree G1 humanoid with three-finger hands, walking under EmbodiedSWE's frozen locomotion policy, its arms and waist under its 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+Two heavy-duty packing tables stand 3.0 m apart, their tops 0.69 m off the floor. On the near table a car steering wheel about 29 cm across lies flat, hub up. The far table carries an open plastic basket, its rim 0.78 m up and its interior about 70 x 46 cm — roomy enough to take the wheel lying flat. Nothing stands between the two tables but open floor.+Goal: pick the steering wheel up off the near table, carry it to the far table, and put it in the basket. The task is complete once the wheel is resting inside the basket, released and come to rest — not still held, not balanced on the rim.+The two tables are further apart than any arm reaches, so the wheel can only get there if the robot itself does.++Success, exactly (floor frame: origin at the robot's start spot, +y straight ahead toward the near table, +x to its right toward the far table, z up): (a) at some moment the steering wheel's origin, which starts 5.6 mm above the near table top with the wheel flat, rose above 0.744 m (5 cm above the 0.694 m table top). (b) At or after that moment, the origin was more than 2.70 m to the right (x > 2.7 m, 90% of the 3.0 m table-to-table offset). (c) At the end, the wheel's origin is inside the basket target zone: x between 3.40 and 3.85 m, y between 0.35 and 0.60 m (an inset within the basket's ~0.70 x 0.46 m interior), and height below 1.100 m (0.406 m above the far table top). Every component of its linear (m/s) and angular (rad/s) velocity is under 0.20. Not true at the start.++## This robot+- Action: `ee_pose` only, 32 values: the world poses of the left and right `wrist_yaw_link` (`x y z qw qx qy qz` each), 14 hand joint targets (rad), then the base command `vx vy wz hip_height` (`[0, 0, 0, 0.72]` stands still; the wrist poses are in the world frame, so move them with the robot while it walks). 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): `wide`, `pick`, `place`, `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 `wide`, `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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/task.tomlnew file mode 100644index 0000000000..192c312de1--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard"+description = "EmbodiedSWE locomanip.wheel_carry.g1.loco_pink_ik (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "loco-manipulation", "humanoid", "unitree-g1", "walking", "locomanip.wheel_carry.g1.loco_pink_ik", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "unitree-g1-dex3"+family = "locomanip.wheel_carry.g1.loco_pink_ik"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 4.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..34f0814b56--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-locomanip-wheel-carry-g1-loco-pink-ik-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/DIGESTindex 196523fa5e..582b1fcf91 100644--- a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/DIGEST@@ -1 +1 @@-sha256:0db07c6c08424aa6dad693e315a9f60f73b61a5da72e1198ab1eb1c1072213ae+sha256:4012ac64d0458538b07a5bb24cf4116bdf3c02b23ba7417a4dc862b7347db859diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/README.mdindex b2a95402d4..2be2af1f24 100644--- a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard` || Simulator / robot | `embodiedswe` / `unitree-g1-dex3` || Family / instance | `packing.clear_organic_objects.g1.pink_ik` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/DIGESTnew file mode 100644index 0000000000..3a219c78be--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:0e24426fd0fa3c7bf3857e9c7121408e5be8496842e201afdcbe523daf03ef8ediff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/README.mdnew file mode 100644index 0000000000..82a90ce0da--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged` |+| Simulator / robot | `embodiedswe` / `unitree-g1-dex3` |+| Family / instance | `packing.clear_organic_objects.g1.pink_ik` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Sort the front-row items into the crate and onto the tray (Unitree G1, fixed pelvis, Pink IK): the scene, frozen instance and success predicate of `embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-privileged`, with a Unitree G1 humanoid with three-finger hands, its pelvis fixed, its arms and waist under EmbodiedSWE's Pink IK, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/clear_organic_objects.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..8d3b56f693--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/grader/clear_organic_objects.py b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/grader/clear_organic_objects.pynew file mode 100644index 0000000000..9df79cb3ec--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/grader/clear_organic_objects.py@@ -0,0 +1,94 @@+"""Grader for the clear_organic_objects scene: every organic in the bin, nothing else in it.++Rubric stages (weights and modes live in RUBRIC):+ organics_cleared fraction of the required placements that hold right now — in the+ legacy variant every PRESENT organic cleared into the bin (the scene's+ `cleared()`: origin inside the bin's interior box in the bin's body+ frame, settled); in the sort variant (`sort_to_bin` / `sort_to_tray`)+ the scene's own `bin_targets` cleared plus its `tray_targets` resting+ on the tray. The organics are interchangeable sub-goals, so they share+ this one fraction stage. It is GATED by the two sanity predicates+ below: the whole stage reads 0 while either fails, and recovers when+ the state is repaired (live)+Gates (no weight of their own — rule 7 sanity predicates on the one and only stage, which+is also the done stage):+ no distractor in the bin the scene's `distractors_in_bin()` — identification IS the+ task: dumping everything in must not score as progress+ bin upright the bin's up-axis within its own topple angle of world-up, the+ angle (from `bin_bbox` x `bin_scale`) past which a free crate's+ centre leaves its base and it falls onto its side. A knocked-+ over bin with produce inside it must not pass. The default bin+ is kinematic and cannot move, so this only bites in the+ dynamic-bin variant+Success is the scene's own `success()` (every required placement holds, no distractor in the+bin) AND the bin upright, on the final state. `progress == 1` exactly when that holds.++Not measured: a grasped/lifted rung per item (the scene exposes no lift height or hold+criterion) and "bin in place" (a positional test would need an invented tolerance; the+body-frame judging already makes a moved bin judge identically).+"""++from __future__ import annotations++import math++from robobench.core import BaseGrader+from robobench.suites.packing.scenes.clear_organic_objects import ClearOrganicObjectsScene+++class ClearOrganicObjectsGrader(BaseGrader):+ """Every organic item in the bin, no non-food item in it, the bin still upright.++ Ladder (N required placements): k placed k / N — e.g. the default manifest's 15 organics:+ 1 in 0.067 · 2 in 0.133 · ... · 14 in 0.933 · 15 in 1.00 (a preset with 11 present: 0.091+ per organic); any non-food item in the bin, or the bin tipped over, gates the stage to 0+ until repaired.+ """++ SCENE = ClearOrganicObjectsScene+ # One stage: the sub-goals are identical, and "all cleared" is not a separate physical+ # action (unlike a lid or a set-down), so there is no distinct done step to weight.+ RUBRIC = (("organics_cleared", 1.0),)+ scene: ClearOrganicObjectsScene++ def setup(self) -> None:+ c = self.scene.cfg+ # Topple angle of the (scaled) crate: centre at half height, pivot on the shorter+ # base edge — tan(theta) = half_short_side / (height / 2).+ half_short = min(c.bin_bbox[0] * c.bin_scale[0], c.bin_bbox[1] * c.bin_scale[1]) / 2+ height = c.bin_bbox[2] * c.bin_scale[2]+ self._upright_cos = math.cos(math.atan2(half_short, height / 2))++ def check_success(self):+ return self.scene.success() & self._bin_upright()++ def _bin_upright(self):+ """(num_envs,) bool: the bin's body +z within its topple angle of world-up.+ R[2,2] of a (w, x, y, z) quaternion is 1 - 2 (x^2 + y^2)."""+ q = self.scene.bin.data.root_quat_w+ up_z = 1.0 - 2.0 * (q[:, 1] ** 2 + q[:, 2] ** 2)+ return up_z >= self._upright_cos++ def _sane(self):+ """(num_envs,) bool: no distractor in the bin AND the bin upright."""+ return ~self.scene.distractors_in_bin().any(dim=1) & self._bin_upright()++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] ---------------------+ def organics_cleared(self):+ import torch++ s = self.scene+ if s.tray_targets or s.cfg.sort_to_bin:+ # sort variant: the scene's own required placements, judged live (its latched+ # flags are the scene's partial-credit device; the grader keeps state live)+ idx = {n: i for i, n in enumerate(s.names)}+ cleared = s.cleared()+ on_tray = s.placed_on_tray()+ cols = [cleared[:, idx[n]] for n in s.bin_targets]+ cols += [on_tray[:, idx[n]] for n in s.tray_targets]+ frac = torch.stack(cols, dim=1).float().mean(dim=1)+ else:+ pres = s.organics_present() # (n, O)+ done = s.organics_cleared() & pres+ frac = done.sum(dim=1).float() / pres.sum(dim=1).clamp(min=1).float()+ return frac * self._sane().float()diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..2c14fb0b5a--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/instance.json@@ -0,0 +1,630 @@+{+ "action_dim": 28,+ "control_dt": 0.016667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.008333333333333333,+ "preset": "packing.clear_organic_objects.g1.pink_ik",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/bin/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/bin/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/crabbypenholder/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/crabbypenholder/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/lemon_a/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/lemon_a/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/lemon_b/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/lemon_b/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/lime01/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/lime01/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/lime01_01/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/lime01_01/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/lime_a/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/lime_a/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/lime_b/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/lime_b/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/milkjug_a01/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/milkjug_a01/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/orange_01/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/orange_01/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/orange_02/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/orange_02/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pomegranate01/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pomegranate01/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pumpkinlarge/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pumpkinlarge/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pumpkinsmall/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pumpkinsmall/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/serving_bowl/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/serving_bowl/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/tray/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/tray/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/utilityjug_a03/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/utilityjug_a03/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/whitepackerbottle_a01/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/whitepackerbottle_a01/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ -0.10000000149011612,+ -0.10000000149011612,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.30000001192092896,+ 0.30000001192092896,+ 0.44999998807907104,+ -1.0499999523162842,+ -0.20000000298023224,+ -0.20000000298023224,+ 0.1599999964237213,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.8999999761581421,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.5,+ 0.75,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.3799999952316284,+ -0.1599999964237213,+ 0.7799999713897705,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0965246856212616,+ 0.021515723317861557,+ 0.7820000052452087,+ 0.9659258127212524,+ 0.0,+ 0.0,+ 0.258819043636322,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.15821443498134613,+ -0.28615131974220276,+ 0.7820000052452087,+ 0.8910065293312073,+ 0.0,+ 0.0,+ 0.45399051904678345,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.056563347578048706,+ -0.25133171677589417,+ 0.7820000052452087,+ 0.7771459817886353,+ 0.0,+ 0.0,+ 0.6293204426765442,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.5487885475158691,+ -0.19979985058307648,+ 0.7820000052452087,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.10576660931110382,+ 0.10328016430139542,+ 0.7820000052452087,+ 0.8191520571708679,+ 0.0,+ 0.0,+ 0.5735764503479004,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.057010501623153687,+ -0.24309632182121277,+ 0.7820000052452087,+ 0.6293203830718994,+ 0.0,+ 0.0,+ 0.77714604139328,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.14889994263648987,+ -0.289178729057312,+ 0.7820000052452087,+ 0.45399054884910583,+ 0.0,+ 0.0,+ 0.8910065293312073,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.4946436285972595,+ 0.15929214656352997,+ 0.7820000052452087,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.3617478609085083,+ 0.018660863861441612,+ 0.7820000052452087,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.38560986518859863,+ 0.12582309544086456,+ 0.7820000052452087,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.438997745513916,+ -0.03870069608092308,+ 0.7820000052452087,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.46524572372436523,+ 0.1448618471622467,+ 0.7820000052452087,+ 0.9762960076332092,+ 0.0,+ 0.0,+ 0.2164396196603775,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.21789447963237762,+ 0.06548081338405609,+ 0.7820000052452087,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.2825109362602234,+ 0.2195398062467575,+ 0.7820000052452087,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.37105751037597656,+ -0.17305849492549896,+ 0.7799999713897705,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.24017132818698883,+ 0.10215108096599579,+ 0.7820000052452087,+ 0.9914448857307434,+ 0.0,+ 0.0,+ 0.13052619993686676,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.4702789783477783,+ -0.12463453412055969,+ 0.7820000052452087,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "4914bdc60f5a180e34a20c6fbef13f57d6369b2bddcd31891c9b158054a2c050"+}diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..2720e23353--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "packing.clear_organic_objects.g1.pink_ik",+ "grader": "grader/clear_organic_objects.py",+ "title": "Sort the front-row items into the crate and onto the tray (Unitree G1, fixed pelvis, Pink IK)",+ "text": "A work table holds a colourful spread of fruits, vegetables and household items, with an open blue plastic crate on one side and a round serving tray on the other.\nGoal: bus the table, SORTED. Move every fruit and vegetable that sits in the front working row — a lemon, and another lemon — into the blue crate, and move the non-food items from that row — a lime, and another lime — onto the round tray. Items further back on the table are part of the scene and stay where they are. The job is done when each listed item rests in its correct destination and nothing that is not food has been put in the crate.",+ "success": "Success, exactly: at the end of the run both yellow lemons of the front working row (its two right-hand items) [lemon_a, lemon_b] are in the blue crate on the robot's right. Each lemon's origin (at its base), in the crate's frame, is within ±0.1043 m along the table's width and ±0.0788 m along its depth of the crate's base centre, and 0.012-0.1739 m above the crate's base. Both green limes of that row (its two left-hand items) [lime_a, lime_b] are on the round tray on the robot's left: origin within 0.0896 m horizontally of the tray's geometric centre and 0-0.1731 m above the tray's base. All four move slower than 0.06 m/s. None of the five non-food items (milk jug, white bottle, crab pen holder, utility jug, serving bowl) has its origin inside that crate box, whatever its speed. The crate stands upright, up-axis within 56.95° of vertical; it is fixed, so this always holds. Other produce in the crate does not matter. Not true at the start."+}diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/instruction.mdnew file mode 100644index 0000000000..d27cc67f85--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/instruction.md@@ -0,0 +1,27 @@+# Sort the front-row items into the crate and onto the tray (Unitree G1, fixed pelvis, Pink IK) — standard mode++The task of `embodiedswe-packing-clear-organic-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+A work table holds a colourful spread of fruits, vegetables and household items, with an open blue plastic crate on one side and a round serving tray on the other.+Goal: bus the table, SORTED. Move every fruit and vegetable that sits in the front working row — a lemon, and another lemon — into the blue crate, and move the non-food items from that row — a lime, and another lime — onto the round tray. Items further back on the table are part of the scene and stay where they are. The job is done when each listed item rests in its correct destination and nothing that is not food has been put in the crate.++Success, exactly: at the end of the run both yellow lemons of the front working row (its two right-hand items) [lemon_a, lemon_b] are in the blue crate on the robot's right. Each lemon's origin (at its base), in the crate's frame, is within ±0.1043 m along the table's width and ±0.0788 m along its depth of the crate's base centre, and 0.012-0.1739 m above the crate's base. Both green limes of that row (its two left-hand items) [lime_a, lime_b] are on the round tray on the robot's left: origin within 0.0896 m horizontally of the tray's geometric centre and 0-0.1731 m above the tray's base. All four move slower than 0.06 m/s. None of the five non-food items (milk jug, white bottle, crab pen holder, utility jug, serving bowl) has its origin inside that crate box, whatever its speed. The crate stands upright, up-axis within 56.95° of vertical; it is fixed, so this always holds. Other produce in the crate does not matter. Not true at the start.++## 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/task.tomlnew file mode 100644index 0000000000..bbee7ac4bb--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard"+description = "EmbodiedSWE packing.clear_organic_objects.g1.pink_ik (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "packing", "sorting", "humanoid", "unitree-g1", "packing.clear_organic_objects.g1.pink_ik", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "unitree-g1-dex3"+family = "packing.clear_organic_objects.g1.pink_ik"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 3.5++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..8d3b56f693--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-clear-organic-objects-g1-pink-ik-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/DIGESTindex 7313178eb9..62a94390fb 100644--- a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/DIGEST@@ -1 +1 @@-sha256:bc312e4d85937154bb93bf35e09e04279073580fc63f687ba4ab1d54a66b6ce5+sha256:38e9b60fc4e03a406a128ae3ca2d58de98a4661f0d0d2be7ce8a9041173ed31cdiff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/README.mdindex e07eaebcb0..b93d9a733d 100644--- a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard` || Simulator / robot | `embodiedswe` / `unitree-g1-dex3` || Family / instance | `packing.egg_carton.g1.pink_ik` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/DIGESTnew file mode 100644index 0000000000..7cc6351e46--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:65594b1f31ce8f441cd1dea4397edc3ebb7552e16e998a889e9f57f6e0afb981diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/README.mdnew file mode 100644index 0000000000..41d6e9d49b--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged` |+| Simulator / robot | `embodiedswe` / `unitree-g1-dex3` |+| Family / instance | `packing.egg_carton.g1.pink_ik` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Put three eggs in the carton and close the lid (Unitree G1, fixed pelvis, Pink IK): the scene, frozen instance and success predicate of `embodiedswe-packing-egg-carton-g1-pink-ik-i00-privileged`, with a Unitree G1 humanoid with three-finger hands, its pelvis fixed, its arms and waist under EmbodiedSWE's Pink IK, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/egg_carton.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..a4f03783eb--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/grader/egg_carton.py b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/grader/egg_carton.pynew file mode 100644index 0000000000..d39d073fc5--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/grader/egg_carton.py@@ -0,0 +1,55 @@+"""Grader for the egg_carton scene: `target_eggs` distinct pockets filled with upright eggs, lid closed.++Rubric stages (weights and modes live in RUBRIC):+ eggs_seated fraction of the `target_eggs` pockets occupied by a seated egg — the+ scene's own `occupied()`: egg centre within `seat_xy_tol` of a cavity+ centre in the carton frame, in the `seat_z_min..seat_z_max` band, long axis+ within `egg_tilt_max_deg` of the pocket axis, still. Distinct pockets, so a+ second egg dropped into an occupied pocket earns nothing; the eggs are+ identical, so they share this one fraction stage+ lid_closed the scene's own `success()`: every target pocket filled, the lid within+ `lid_closed_deg` of shut (when `require_lid_closed`), eggs and lid settled.+ Gated on the pockets being filled: shutting the lid on an empty carton is not+ progress (it has to be reopened), and the scene's own rubric only awards the+ lid after the eggs+Both stages are live: an egg that topples or a lid that swings back open loses its credit.+Success is the scene's own `success()` on the final state.++Not measured: a grasped/lifted rung for the eggs. The scene exposes no lift height or hold+criterion, and inventing one is forbidden, so that rung is dropped.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.packing.scenes.egg_carton import EggCartonScene+++class EggCartonGrader(BaseGrader):+ """Three eggs seated upright in three distinct carton pockets, then the lid pushed closed.++ Ladder: 1 egg 0.30 · 2 eggs 0.60 · 3 eggs 0.90 · lid closed 1.00+ (0.90 * k / target_eggs per k pockets filled; the default target is three.)+ """++ SCENE = EggCartonScene+ # 0.9 : 0.1 — the three identical eggs share one fraction stage (0.30 each); the lid push+ # is one short non-prehensile action after three pick-and-place cycles, so it is worth+ # less than an egg.+ RUBRIC = (("eggs_seated", 0.9), ("lid_closed", 0.1))+ scene: EggCartonScene++ def setup(self) -> None:+ pass # every quantity is read live from the scene's own predicates++ def check_success(self):+ return self.scene.success() # (num_envs,) pockets filled, lid closed, settled++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] ---------------------+ def eggs_seated(self):+ target = self.scene.cfg.target_eggs+ filled = self.scene.occupied().sum(dim=1).clamp(max=target) # (n,) distinct pockets+ return filled.float() / float(target)++ def lid_closed(self):+ return self.scene.success().float()diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..1c063c2210--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/instance.json@@ -0,0 +1,295 @@+{+ "action_dim": 28,+ "control_dt": 0.016667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.008333333333333333,+ "preset": "packing.egg_carton.g1.pink_ik",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/carton/joint_position",+ [+ 1,+ 1+ ]+ ],+ [+ "/articulation/carton/joint_velocity",+ [+ 1,+ 1+ ]+ ],+ [+ "/articulation/carton/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/carton/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/egg_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/egg_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/egg_1/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/egg_1/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/egg_2/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/egg_2/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/egg_3/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/egg_3/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ -1.919862151145935,+ 0.0,+ 0.13798092305660248,+ -0.399666428565979,+ 0.699999988079071,+ 0.9978269338607788,+ 0.0,+ 0.0,+ 0.06588954478502274,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.10000000149011612,+ -0.10000000149011612,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.30000001192092896,+ 0.30000001192092896,+ 0.0,+ 0.0,+ -0.20000000298023224,+ -0.20000000298023224,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.800000011920929,+ 0.75,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.19022755324840546,+ -0.4445315897464752,+ 0.7400000095367432,+ 0.7070363163948059,+ -0.009980458766222,+ 0.7070363163948059,+ 0.009980458766222,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.20089486241340637,+ -0.35403376817703247,+ 0.7400000095367432,+ 0.7017326951026917,+ -0.08701284974813461,+ 0.7017326951026917,+ 0.08701284974813461,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.09877431392669678,+ -0.43746036291122437,+ 0.7400000095367432,+ 0.7044335007667542,+ -0.06142837554216385,+ 0.7044335007667542,+ 0.06142837554216385,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.09967996925115585,+ -0.3398646116256714,+ 0.7400000095367432,+ 0.7030220031738281,+ -0.07589486986398697,+ 0.7030220031738281,+ 0.07589486986398697,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "cac01f0068028025840ecaf9a616263e261cbe02e0ac6977ee4820992512a1c1"+}diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..23981911f5--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "packing.egg_carton.g1.pink_ik",+ "grader": "grader/egg_carton.py",+ "title": "Put three eggs in the carton and close the lid (Unitree G1, fixed pelvis, Pink IK)",+ "text": "Four loose eggs lie on their sides on the left half of the table. On the right is a small four-cell egg carton fixed to the table, with its hinged lid standing fully open. The carton has four distinct pockets in a 2 by 2 layout.\nGoal (three stages): pick eggs from the table one at a time, turn each upright, and place three eggs securely in three DISTINCT carton pockets; then push the hinged lid closed over them. Every seated egg must remain upright and settled, and the lid must rest closed at the end. The fourth egg is a distractor and can stay on the table.",+ "success": "Success, exactly: at the end of the run three different pockets of the 2 x 2 carton each hold a seated egg (at least three eggs seated, at least three distinct pockets occupied). Pocket centres are 30 mm from the carton's centre along each of its two base axes. An egg counts as seated when, in the carton's base frame (origin at the carton's bottom centre, z along the carton's up), its centre is within 21 mm horizontally of a pocket centre and 15-42 mm above the carton base, its long axis is within 50° of the carton's vertical (either end up), and it moves slower than 0.05 m/s. The hinged lid is within 7° of fully shut; it starts 110° open. All four eggs, the spare included, move slower than 0.05 m/s, and the lid swings slower than 0.10 rad/s. Not true at the start."+}diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/instruction.mdnew file mode 100644index 0000000000..b0bf81532b--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/instruction.md@@ -0,0 +1,27 @@+# Put three eggs in the carton and close the lid (Unitree G1, fixed pelvis, Pink IK) — standard mode++The task of `embodiedswe-packing-egg-carton-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+Four loose eggs lie on their sides on the left half of the table. On the right is a small four-cell egg carton fixed to the table, with its hinged lid standing fully open. The carton has four distinct pockets in a 2 by 2 layout.+Goal (three stages): pick eggs from the table one at a time, turn each upright, and place three eggs securely in three DISTINCT carton pockets; then push the hinged lid closed over them. Every seated egg must remain upright and settled, and the lid must rest closed at the end. The fourth egg is a distractor and can stay on the table.++Success, exactly: at the end of the run three different pockets of the 2 x 2 carton each hold a seated egg (at least three eggs seated, at least three distinct pockets occupied). Pocket centres are 30 mm from the carton's centre along each of its two base axes. An egg counts as seated when, in the carton's base frame (origin at the carton's bottom centre, z along the carton's up), its centre is within 21 mm horizontally of a pocket centre and 15-42 mm above the carton base, its long axis is within 50° of the carton's vertical (either end up), and it moves slower than 0.05 m/s. The hinged lid is within 7° of fully shut; it starts 110° open. All four eggs, the spare included, move slower than 0.05 m/s, and the lid swings slower than 0.10 rad/s. Not true at the start.++## 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/task.tomlnew file mode 100644index 0000000000..ce3bc780c3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard"+description = "EmbodiedSWE packing.egg_carton.g1.pink_ik (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "packing", "humanoid", "unitree-g1", "eggs", "packing.egg_carton.g1.pink_ik", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "unitree-g1-dex3"+family = "packing.egg_carton.g1.pink_ik"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 4.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..a4f03783eb--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-egg-carton-g1-pink-ik-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/DIGESTindex 527ca31365..0ab5094b07 100644--- a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:5d98f33b006e2fc255d960c1e0afad7f736deaf28d66338daedc7654c1fc9722+sha256:8aef49e7b385f363e79263d53e4387378e33ae1be093a7e1dcbb6bd863834d61diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/README.mdindex b8b1ad7ab6..afcfc57194 100644--- a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-packing-pen-holder-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda` || Family / instance | `packing.pen_holder.franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..4d2f0680ae--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:8f302d5d9884cc5348ffd0e7080322600b84c8633f54b82a291a15bf5505c7bediff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..834a41027f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-packing-pen-holder-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-packing-pen-holder-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda` |+| Family / instance | `packing.pen_holder.franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Fill the pen holder with pencils, tips up (Franka, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-packing-pen-holder-franka-osc-i00-privileged`, with a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/pen_holder.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..4fcfe13189--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-packing-pen-holder-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/grader/pen_holder.py b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/grader/pen_holder.pynew file mode 100644index 0000000000..eb539cec40--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/grader/pen_holder.py@@ -0,0 +1,57 @@+"""Grader for the pen_holder scene: every present pen in the holder tip-up, holder set down upright.++Rubric stages (weights and modes live in RUBRIC):+ pens_in fraction of the PRESENT pens the scene counts as in the holder — the+ scene's own `counted()`: bottom within `xy_tol` of the holder axis,+ deeper than `depth_min` below the rim, tip-up within `pen_align_max_deg`,+ holder within `holder_tilt_max_deg` of up, pen and holder settled. All+ pens are one identical family, so they share this one fraction stage;+ the fraction is over the sampled subset (the present pen count is drawn+ per env at reset, k ~ U{min_present..n} per family)+ holder_placed the loaded holder standing upright on the work surface (the scene's+ `holder_placed()`: within `placed_tilt_deg`, bottom within `placed_z_tol`+ of the surface, still), gated on every present pen being in. The holder+ spawns upright on the surface, so ungated it would be free credit at+ reset; the order is fill, then set down+Both stages are live: a pen ejected or a holder knocked over loses its credit. Success is+the scene's own `success()` — `all_inserted() & holder_placed()` — on the final state.++Not measured: a grasped/lifted rung for the pens. The scene exposes no lift height or hold+criterion, and inventing one is forbidden, so that rung is dropped.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.packing.scenes.pen_holder import PenHolderScene+++class PenHolderGrader(BaseGrader):+ """Every present pen in the holder tip-up, and the loaded holder standing upright on the surface.++ Ladder (N present pens): k pens in 0.90 * k / N · holder set down 1.00+ N = 4: 1 pen 0.225 · 2 pens 0.45 · 3 pens 0.675 · 4 pens 0.90 · set down 1.00+ N = 3: 1 pen 0.30 · 2 pens 0.60 · 3 pens 0.90 · set down 1.00+ """++ SCENE = PenHolderScene+ # 0.9 : 0.1 — the identical pens share one fraction stage; setting the filled holder+ # down is one short action after up to four insertions, so like the egg carton's lid+ # it is worth less than a pen.+ RUBRIC = (("pens_in", 0.9), ("holder_placed", 0.1))+ scene: PenHolderScene++ def setup(self) -> None:+ pass # every quantity is read live from the scene's own predicates++ def check_success(self):+ return self.scene.success() # (num_envs,) all present pens in AND holder set down++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] ---------------------+ def pens_in(self):+ counted = self.scene.counted() # (n, P) inserted & settled & present+ n_present = self.scene.present.sum(dim=1).clamp(min=1)+ return counted.sum(dim=1).float() / n_present.float()++ def holder_placed(self):+ return (self.scene.all_inserted() & self.scene.holder_placed()).float()diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..b1f31a34ac--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,211 @@+{+ "action_dim": 8,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.008333333333333333,+ "preset": "packing.pen_holder.franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/holder/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/holder/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pencil_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pencil_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pencil_1/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pencil_1/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pencil_2/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pencil_2/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pencil_3/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pencil_3/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.30000001192092896,+ 0.550000011920929,+ 0.7071068286895752,+ 0.0,+ 0.0,+ 0.7071068286895752,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.08155594766139984,+ 0.20186777412891388,+ 0.6119999885559082,+ 0.6194201707839966,+ 0.0,+ 0.0,+ 0.7850596904754639,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 1.0,+ 1.0,+ -0.4352000057697296,+ 0.6985141038894653,+ 0.1099000945687294,+ 0.6985141038894653,+ -0.1099000945687294,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 1.1399999856948853,+ 1.0,+ -0.4352000057697296,+ 0.6207275390625,+ -0.33866989612579346,+ 0.6207275390625,+ 0.33866989612579346,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.25887227058410645,+ 0.18763157725334167,+ 0.5587999820709229,+ 0.679343581199646,+ -0.19619454443454742,+ 0.679343581199646,+ 0.19619454443454742,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.1837357133626938,+ 0.07024850696325302,+ 0.5587999820709229,+ 0.650046169757843,+ -0.2782803177833557,+ 0.650046169757843,+ 0.2782803177833557,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "a9c3f0f1187b7c750e827eff2165efacdc50c865df571169af7c0a43a1b34e49"+}diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..71967e3cb2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "packing.pen_holder.franka.osc",+ "grader": "grader/pen_holder.py",+ "title": "Fill the pen holder with pencils, tips up (Franka, operational-space control)",+ "text": "An open hexagonal pen holder (a cup, ~80 mm wide across its corners, 120 mm tall) stands on a work table. Scattered on its other side lie mechanical pencils, flat on the surface: up to 4 pencils (12 mm thick, 150 mm long), each with a pointed writing tip at one end and a click button at the other. Between one and all pencils are present in any episode: count what you see.\nGoal: put every pencil into the holder tip-up (writing tip pointing out of the cup), then leave the loaded holder standing upright on the surface. You may hold the holder while filling it; a pencil dropped tip-down or left leaning outside the cup does not count, and a tipped-over holder scores nothing until it is stood up.",+ "success": "Success, exactly: for every pencil present in this episode, in the hexagonal pen holder's own frame its click-button end lies within 35 mm of the holder's centre axis, more than 35 mm below the holder's rim (holder 120 mm tall) and no more than 5 mm below the cup floor, and its button-to-tip line points tip-up within 45 deg of the holder axis; the holder stands with its axis within 10 deg of world vertical, its bottom within 10 mm of the table top height, and the holder and every pencil each move slower than 0.05 m/s. Absent pencils are ignored. Not true at the start (pencils lie flat outside the cup)."+}diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..fb5e7735b0--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/instruction.md@@ -0,0 +1,27 @@+# Fill the pen holder with pencils, tips up (Franka, operational-space control) — standard mode++The task of `embodiedswe-packing-pen-holder-franka-osc-i00-privileged`, on the same frozen scene. You drive a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, 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+An open hexagonal pen holder (a cup, ~80 mm wide across its corners, 120 mm tall) stands on a work table. Scattered on its other side lie mechanical pencils, flat on the surface: up to 4 pencils (12 mm thick, 150 mm long), each with a pointed writing tip at one end and a click button at the other. Between one and all pencils are present in any episode: count what you see.+Goal: put every pencil into the holder tip-up (writing tip pointing out of the cup), then leave the loaded holder standing upright on the surface. You may hold the holder while filling it; a pencil dropped tip-down or left leaning outside the cup does not count, and a tipped-over holder scores nothing until it is stood up.++Success, exactly: for every pencil present in this episode, in the hexagonal pen holder's own frame its click-button end lies within 35 mm of the holder's centre axis, more than 35 mm below the holder's rim (holder 120 mm tall) and no more than 5 mm below the cup floor, and its button-to-tip line points tip-up within 45 deg of the holder axis; the holder stands with its axis within 10 deg of world vertical, its bottom within 10 mm of the table top height, and the holder and every pencil each move slower than 0.05 m/s. Absent pencils are ignored. Not true at the start (pencils lie flat outside the cup).++## This robot+- Action: `ee_pose` only, 9 values: the world pose of `panda_hand` (`x y z qw qx qy qz`) and the two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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 `wrist` (on the hand). 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(15 / `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`, `wrist` at 4 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..bf23025934--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-packing-pen-holder-franka-osc-i00-standard"+description = "EmbodiedSWE packing.pen_holder.franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "packing", "insertion", "franka", "packing.pen_holder.franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda"+family = "packing.pen_holder.franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 3.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..4fcfe13189--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-packing-pen-holder-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-pen-holder-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/DIGESTindex f1e613209e..14d8e4b16f 100644--- a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:0e343a3167928608c7f817474b41c47e9a1526a965b8c998ba466476fd2b7f7c+sha256:1bbabb8e1196ed913355d6a2f0e1cbe8c17ba2fdc846b637bc26a0589e27ffc0diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/README.mdindex dd0b790096..ca526aa4ac 100644--- a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-packing-tool-packing-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda` || Family / instance | `packing.tool_packing.franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..9a18ca6a61--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:d0b72dbee3e151816f70c25aa6b84b3ac2feb1700984b65ccf0d399720a39c3adiff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..65156810ba--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-packing-tool-packing-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-packing-tool-packing-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda` |+| Family / instance | `packing.tool_packing.franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Pack three tools into their drawers (Franka, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-packing-tool-packing-franka-osc-i00-privileged`, with a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/tool_packing.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..c62c1c70ca--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-packing-tool-packing-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/grader/tool_packing.py b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/grader/tool_packing.pynew file mode 100644index 0000000000..bd2eeaf39c--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/grader/tool_packing.py@@ -0,0 +1,57 @@+"""Grader for the tool_packing scene: three tools stowed in their assigned drawers, cabinet shut.++Rubric stages (weights and modes live in RUBRIC):+ stowed fraction of the three tools inside their ASSIGNED drawer's tray — the+ scene's own `stowed()`: origin inside the tray-interior box in the drawer's+ body frame (wherever the drawer slid to), settled+ drawer_shut fraction of the three tools that are stowed AND whose own drawer is shut+ (joint within `drawer_closed_tol` of 0) — the second rung of each tool's+ ladder, since every tool has its own drawer to push home+ cabinet_shut the scene's own `success()`: all three stowed, EVERY drawer shut (the+ distractor drawer included), both doors shut on the toolbox variant, and+ items + joints settled+All three stages are live: a tool knocked out of its tray or a drawer that slides back open+loses its credit. Success is the scene's own `success()` on the final state.++Not measured: a grasped/lifted rung for the tools. The scene exposes no lift height or+hold criterion, and inventing one is forbidden, so that rung is dropped.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.packing.scenes.tool_packing import ToolPackingScene+++class ToolPackingGrader(BaseGrader):+ """All three tools stowed in their assigned drawers and the cabinet fully shut.++ Ladder: 1 stowed 0.15 · 2 stowed 0.30 · 3 stowed 0.45 · 1 drawer shut 0.60 ·+ 2 drawers shut 0.75 · 3 drawers shut 0.90 · cabinet shut 1.00+ """++ SCENE = ToolPackingScene+ # The three identical stows share one fraction stage (0.15 each) and the three identical+ # drawer-shuts another (0.15 each); the final cabinet shut is one short closing step after+ # the parts (on the chest it only adds the untouched distractor drawer + settle; on the+ # toolbox, both doors), so like the egg carton's lid it is worth less than a part.+ RUBRIC = (("stowed", 0.45), ("drawer_shut", 0.45), ("cabinet_shut", 0.10))+ scene: ToolPackingScene++ def setup(self) -> None:+ pass # every quantity is read live from the scene's own predicates++ def check_success(self):+ return self.scene.success() # (num_envs,) stowed, every drawer + door shut, settled++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] ---------------------+ def stowed(self):+ return self.scene.stowed().float().mean(dim=1)++ def drawer_shut(self):+ stowed = self.scene.stowed() # (n, I)+ own_closed = self.scene.drawers_closed()[:, self.scene._assigned] # (n, I) — privileged+ return (stowed & own_closed).float().mean(dim=1)++ def cabinet_shut(self):+ return self.scene.success().float()diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..8855e71297--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,206 @@+{+ "action_dim": 8,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.008333333333333333,+ "preset": "packing.tool_packing.franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/articulation/toolbox/joint_position",+ [+ 1,+ 4+ ]+ ],+ [+ "/articulation/toolbox/joint_velocity",+ [+ 1,+ 4+ ]+ ],+ [+ "/articulation/toolbox/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/toolbox/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/knife/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/knife/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/scissors/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/scissors/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/stapler/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/stapler/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.4300000071525574,+ 0.0,+ 0.550000011920929,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.10000000149011612,+ 0.1599999964237213,+ 0.550000011920929,+ 0.7071067690849304,+ 0.0,+ 0.0,+ -0.7071068286895752,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.27000001072883606,+ -0.41999998688697815,+ 0.5540000200271606,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.33000001311302185,+ -0.36000001430511475,+ 0.5559999942779541,+ 1.0,+ 0.0,+ 0.0,+ -0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.28999999165534973,+ -0.2800000011920929,+ 0.5550000071525574,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "5c2af60ab1190eecf6dc04126712cd44f9ac4cefbefc424b7aa1bbf30333259c"+}diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..ce94de2408--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "packing.tool_packing.franka.osc",+ "grader": "grader/tool_packing.py",+ "title": "Pack three tools into their drawers (Franka, operational-space control)",+ "text": "A black high-gloss chest of drawers (~37 cm wide, 36 cm tall) stands on the table: four sliding drawers stacked top to bottom, each with a real pull handle on its front. All drawers start shut. In front of the chest lie three tools: a green stapler, a pair of scissors, and a utility knife.\nGoal: pull drawers open as needed and pack the tools — the STAPLER goes in the TOP (1st) drawer, the SCISSORS in the SECOND drawer, the KNIFE in the THIRD drawer (the 4th/bottom drawer stays shut and gets nothing) — then push every drawer shut. An item counts only inside its own drawer's tray; the job is done when all three tools are stowed and every drawer is shut.",+ "success": "Success, exactly: a fixed point of the green stapler's body, not necessarily its centre [its rigid-body origin], lies inside the top drawer's tray interior, the scissors' inside the second drawer's, and the utility knife's inside the third drawer's — each tray interior being a box measured in that drawer's own frame (so it moves with the drawer), 355 mm side-to-side x 139 mm front-to-back x 54 mm tall [tray_center (0, 0.0006, 0.0388) m +/- tray_half (0.1775, 0.0694, 0.0268) m in the drawer link frame]; all four drawers (including the empty bottom one) are pulled out less than 15 mm from fully shut; every tool moves slower than 0.05 m/s and every drawer slides slower than 0.05 m/s. Not true at the start (drawers shut, tools on the table)."+}diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..2cf8872397--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/instruction.md@@ -0,0 +1,27 @@+# Pack three tools into their drawers (Franka, operational-space control) — standard mode++The task of `embodiedswe-packing-tool-packing-franka-osc-i00-privileged`, on the same frozen scene. You drive a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, 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+A black high-gloss chest of drawers (~37 cm wide, 36 cm tall) stands on the table: four sliding drawers stacked top to bottom, each with a real pull handle on its front. All drawers start shut. In front of the chest lie three tools: a green stapler, a pair of scissors, and a utility knife.+Goal: pull drawers open as needed and pack the tools — the STAPLER goes in the TOP (1st) drawer, the SCISSORS in the SECOND drawer, the KNIFE in the THIRD drawer (the 4th/bottom drawer stays shut and gets nothing) — then push every drawer shut. An item counts only inside its own drawer's tray; the job is done when all three tools are stowed and every drawer is shut.++Success, exactly: a fixed point of the green stapler's body, not necessarily its centre [its rigid-body origin], lies inside the top drawer's tray interior, the scissors' inside the second drawer's, and the utility knife's inside the third drawer's — each tray interior being a box measured in that drawer's own frame (so it moves with the drawer), 355 mm side-to-side x 139 mm front-to-back x 54 mm tall [tray_center (0, 0.0006, 0.0388) m +/- tray_half (0.1775, 0.0694, 0.0268) m in the drawer link frame]; all four drawers (including the empty bottom one) are pulled out less than 15 mm from fully shut; every tool moves slower than 0.05 m/s and every drawer slides slower than 0.05 m/s. Not true at the start (drawers shut, tools on the table).++## This robot+- Action: `ee_pose` only, 9 values: the world pose of `panda_hand` (`x y z qw qx qy qz`) and the two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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 `wrist` (on the hand). 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(15 / `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`, `wrist` at 4 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..cd6f0aab25--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-packing-tool-packing-franka-osc-i00-standard"+description = "EmbodiedSWE packing.tool_packing.franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "packing", "articulated", "drawers", "franka", "packing.tool_packing.franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda"+family = "packing.tool_packing.franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 3.5++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..c62c1c70ca--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-packing-tool-packing-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-packing-tool-packing-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/DIGESTindex 1ed86e9a0c..434486ba07 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/DIGEST@@ -1 +1 @@-sha256:00d539436ac9633929c610e5f5e9c3649fa1a0e3dac6058358cb7c401fc5d3e5+sha256:807963f0aecef5d2be7697a996663179a4a4d1817ce969767c817fa5c099f0dadiff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/README.mdindex ec5c2bb967..9afafbfbeb 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard` || Simulator / robot | `embodiedswe` / `unitree-g1-dex3` || Family / instance | `puzzle.classify_objects.g1.pink_ik` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/DIGESTnew file mode 100644index 0000000000..f8c9d95ec2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:876f9b5b53ae2296dcfdb58813e68a3f8dd5f6c5943fcbd1c37352a054357570diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/README.mdnew file mode 100644index 0000000000..9bc0fff137--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged` |+| Simulator / robot | `embodiedswe` / `unitree-g1-dex3` |+| Family / instance | `puzzle.classify_objects.g1.pink_ik` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Sort the blocks by colour (Unitree G1, fixed pelvis, Pink IK): the scene, frozen instance and success predicate of `embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-privileged`, with a Unitree G1 humanoid with three-finger hands, its pelvis fixed, its arms and waist under EmbodiedSWE's Pink IK, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/classify_objects.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..4a1cc93ea6--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/grader/classify_objects.py b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/grader/classify_objects.pynew file mode 100644index 0000000000..f158fd58e9--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/grader/classify_objects.py@@ -0,0 +1,40 @@+"""Grader for the classify_objects scene: every coloured block sorted into its matching zone.++Rubric stages (weights and modes live in RUBRIC):+ sorted_blocks fraction of the env's blocks correctly sorted — the scene's own+ `sorted_mask()`: centre within cfg.zone_half (xy) of ITS OWN category's+ (jittered) zone centre, resting on the surface (cfg.z_tol) and settled+ (cfg.settle_speed)+The blocks are identical pick-and-place sub-goals, so they share this ONE fraction stage+(k/B). It is LIVE: a block knocked off its zone loses the credit, which is what makes the+final state the only one that counts. No grasp/lift rung: the scene defines no lift+threshold, so it is dropped rather than invented. Success is the scene's own `success()`+— every block sorted — read on the final state.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.puzzle.scenes.classify_objects import ClassifyObjectsScene+++class ClassifyObjectsGrader(BaseGrader):+ """Every block resting, settled, inside the zone of its own colour.++ Ladder (k / B blocks sorted; B = len(cfg.manifest), 3 by default): 1 block 0.333 ·+ 2 blocks 0.667 · 3 blocks 1.00.+ """++ SCENE = ClassifyObjectsScene+ RUBRIC = (("sorted_blocks", 1),)+ scene: ClassifyObjectsScene++ def setup(self) -> None:+ pass # zones are captured by the scene itself at reset (`_zones`); nothing to cache++ def check_success(self):+ return self.scene.success() # (num_envs,) — every block of that env sorted++ # ---- rubric stages — each returns a (num_envs,) fraction over that env's blocks --------+ def sorted_blocks(self):+ return self.scene.n_sorted().float() / len(self.scene.cfg.manifest)diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..f3a21e91bb--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/instance.json@@ -0,0 +1,225 @@+{+ "action_dim": 28,+ "control_dt": 0.016667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.008333333333333333,+ "preset": "puzzle.classify_objects.g1.pink_ik",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/blue_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/blue_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/green_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/green_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/red_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/red_0/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ -0.10000000149011612,+ -0.10000000149011612,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.30000001192092896,+ 0.30000001192092896,+ 0.0,+ 0.0,+ -0.20000000298023224,+ -0.20000000298023224,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.6600000262260437,+ 0.75,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.014368387870490551,+ -0.478279709815979,+ 0.7245000004768372,+ 0.6136743426322937,+ 0.0,+ 0.0,+ 0.7895593047142029,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.06614047288894653,+ -0.41556334495544434,+ 0.7245000004768372,+ 0.9015799164772034,+ 0.0,+ 0.0,+ 0.43261265754699707,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.04501210153102875,+ -0.4181888699531555,+ 0.7245000004768372,+ 0.5348528027534485,+ 0.0,+ 0.0,+ -0.8449453115463257,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "fa98236bfabd138f3fc4ee7df9a6b5e4cc71a5cb8b97ca9266cccef13c0f2003"+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..10a93c9cfc--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "puzzle.classify_objects.g1.pink_ik",+ "grader": "grader/classify_objects.py",+ "title": "Sort the blocks by colour (Unitree G1, fixed pelvis, Pink IK)",+ "text": "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": "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)."+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/instruction.mdnew file mode 100644index 0000000000..c7af197289--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/instruction.md@@ -0,0 +1,26 @@+# 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/task.tomlnew file mode 100644index 0000000000..6fbfbfab3c--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard"+description = "EmbodiedSWE puzzle.classify_objects.g1.pink_ik (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "sorting", "pick-and-place", "humanoid", "unitree-g1", "puzzle.classify_objects.g1.pink_ik", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "unitree-g1-dex3"+family = "puzzle.classify_objects.g1.pink_ik"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 3.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..4a1cc93ea6--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-classify-objects-g1-pink-ik-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/DIGESTindex 92d244b5f6..093ed54f34 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:15c2cce17b16935f84fd41437aedfe7456b243c00f1d17b8d661fd9e45a8f4c0+sha256:db087f017377c4c67ac5bcf4d5e11408eb45f1b1182248014a44a561620c4c6ediff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/README.mdindex 464397ef3d..0be9c0eec4 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-puzzle-coffee-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda` || Family / instance | `puzzle.coffee.franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..23a02b41f6--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:a6e3c1a5fbba1bef04369ad1bcbb3e5c466ac3cec6402d705f43fee40b37a897diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..aedb2b1854--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-puzzle-coffee-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-puzzle-coffee-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda` |+| Family / instance | `puzzle.coffee.franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Make and serve a capsule coffee (Franka, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-puzzle-coffee-franka-osc-i00-privileged`, with a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/coffee_service.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..95e01af799--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-puzzle-coffee-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/grader/coffee_service.py b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/grader/coffee_service.pynew file mode 100644index 0000000000..820de85073--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/grader/coffee_service.py@@ -0,0 +1,77 @@+"""Grader for the coffee scene: one capsule coffee brewed and the filled mug set back on the tray.++Rubric stages (weights and modes live in RUBRIC) — the scene's own seven staged flags+(`CoffeeServiceScene.STAGES`), in the order the appliance's rules impose:+ pod_loaded the capsule seated in the bay pocket (`pod_seated`)+ bay_closed the cover slid shut over the seated capsule (`pod_seated & cover_closed`)+ cup_staged the mug standing on the platform under the spout (`cup_under_spout`)+ started the machine accepted START — it only does with cover closed, pod seated and+ cup staged (the `started` event of the appliance state machine)+ brewed the brew ran to completion: the machine's latched `filled` flag (an abort on+ early open or on a spill never sets it)+ cup_out the filled mug taken off the platform (`filled & ~cup_under_spout`)+ served the filled mug resting upright, settled, on the tray dish — the scene's own+ `success()`+The first six are milestones (a loaded pod, a closed bay or a staged cup need not persist once+the brew is done and the mug is carried away); the scene latches them itself at substep rate,+so the grader reads its flags. `brewed` is the machine's irreversible state, `served` is the+live end state. Success is the scene's `success()` on the final state.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.puzzle.scenes.coffee_service import CoffeeServiceScene+++class CoffeeServiceGrader(BaseGrader):+ """The mug filled by a completed brew and resting upright, settled, on the serving tray.++ Ladder: pod loaded 0.143 · bay closed 0.286 · cup staged 0.429 · started 0.571 ·+ brewed 0.714 · cup out 0.857 · served 1.000+ (uniform: one unit per stage of the appliance's chain, the scene's own even credit).+ """++ SCENE = CoffeeServiceScene+ RUBRIC = (+ ("pod_loaded", 1, "once"),+ ("bay_closed", 1, "once"),+ ("cup_staged", 1, "once"),+ ("started", 1, "once"),+ ("brewed", 1),+ ("cup_out", 1, "once"),+ ("served", 1),+ )+ scene: CoffeeServiceScene++ def setup(self) -> None:+ # the flag columns, by the scene's own stage names+ self._col = {name: k for k, name in enumerate(self.scene.STAGES)}++ def check_success(self):+ return self.scene.success() # filled AND on the tray, upright AND settled — live++ def _flag(self, name: str):+ return self.scene.stage_flags()[:, self._col[name]].float()++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] --------------------------+ def pod_loaded(self):+ return self._flag("pod_loaded")++ def bay_closed(self):+ return self._flag("bay_closed")++ def cup_staged(self):+ return self._flag("cup_staged")++ def started(self):+ return self._flag("started")++ def brewed(self):+ return self.scene.filled().float()++ def cup_out(self):+ return self._flag("cup_out")++ def served(self):+ return self.scene.success().float()diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..eeacb0c802--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,589 @@+{+ "action_dim": 8,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.008333333333333333,+ "preset": "puzzle.coffee.franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/btn_start/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/btn_start/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_chest_floor/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_chest_floor/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_head/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_head/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_nook_e/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_nook_e/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_nook_w/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_nook_w/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_platform/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_platform/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_pocket_e/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_pocket_e/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_pocket_floor/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_pocket_floor/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_pocket_n/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_pocket_n/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_pocket_s/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_pocket_s/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_pocket_w/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_pocket_w/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_rail_e/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_rail_e/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_rail_w/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_rail_w/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_spine/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_spine/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cm_tank/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cm_tank/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cover/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cover/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/cup/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/cup/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pod/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pod/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/tray/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/tray/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.550000011920929,+ 0.550000011920929,+ 0.7071068286895752,+ 0.0,+ 0.0,+ 0.7071068286895752,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.11999999731779099,+ 0.550000011920929,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.007499999832361937,+ 0.026000000536441803,+ 0.7174999713897705,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.007499999832361937,+ -0.06549999862909317,+ 0.871999979019165,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.06949999928474426,+ -0.06650000065565109,+ 0.699999988079071,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.07850000262260437,+ -0.06650000065565109,+ 0.699999988079071,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.007000000216066837,+ -0.12349999696016312,+ 0.5899999737739563,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.026000000536441803,+ 0.019999999552965164,+ 0.9154999852180481,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.007000000216066837,+ 0.019999999552965164,+ 0.8920000195503235,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.007000000216066837,+ 0.05299999937415123,+ 0.9154999852180481,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.007000000216066837,+ -0.013000000268220901,+ 0.9154999852180481,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.03999999910593033,+ 0.019999999552965164,+ 0.9154999852180481,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.05299999937415123,+ 0.026000000536441803,+ 0.7429999709129333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.06750000268220901,+ 0.026000000536441803,+ 0.7429999709129333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.007000000216066837,+ 0.125,+ 0.7429999709129333,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.007000000216066837,+ 0.28949999809265137,+ 0.7210000157356262,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.11999999731779099,+ 0.550000011920929,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.30596184730529785,+ -0.09933283179998398,+ 0.6079999804496765,+ 0.0870961844921112,+ 0.0,+ 0.0,+ 0.996199905872345,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.42077797651290894,+ -0.16906611621379852,+ 0.5857999920845032,+ 0.6194201707839966,+ 0.0,+ 0.0,+ 0.7850596904754639,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.3799999952316284,+ -0.14000000059604645,+ 0.550000011920929,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "18ee32a1d26f71fcebff471dce858fe3821c25dbc88fa4ca640ccd18a9fa6f08"+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..648e3a0303--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "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."+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..3ae060a77a--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/instruction.md@@ -0,0 +1,29 @@+# Make and serve a capsule coffee (Franka, operational-space control) — standard mode++The task of `embodiedswe-puzzle-coffee-franka-osc-i00-privileged`, on the same frozen scene. You drive a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, 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+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).+The 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.+Do 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.+Goal: 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, 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.++## This robot+- Action: `ee_pose` only, 9 values: the world pose of `panda_hand` (`x y z qw qx qy qz`) and the two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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 `wrist` (on the hand). 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(15 / `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`, `wrist` at 4 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..daed009c05--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-puzzle-coffee-franka-osc-i00-standard"+description = "EmbodiedSWE puzzle.coffee.franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "long-horizon", "articulated", "franka", "puzzle.coffee.franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda"+family = "puzzle.coffee.franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 4.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..95e01af799--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-puzzle-coffee-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-coffee-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/DIGESTindex 236cc7cb50..aca7e1ab68 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/DIGEST@@ -1 +1 @@-sha256:2d1b813eedf49225c6f53fa8e11d1d9113913ac523a9d5dca6f7ce2a7736dc6f+sha256:6a7e59944d8f0d6e02e1a74db60f272f2d065c7375ff5cdfcd2982544d3e446cdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/README.mdindex c5eba2a727..da2cefc32a 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard` || Simulator / robot | `embodiedswe` / `unitree-g1-dex3` || Family / instance | `puzzle.push_shapes.g1.pink_ik` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/DIGESTnew file mode 100644index 0000000000..b3fe6d9fe6--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:f4abeb35727cb723bc30ee1d4f67a2c542cfc6c0931caf77e2ea2bc790aa4103diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/README.mdnew file mode 100644index 0000000000..347915d0d5--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged` |+| Simulator / robot | `embodiedswe` / `unitree-g1-dex3` |+| Family / instance | `puzzle.push_shapes.g1.pink_ik` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Push the shapes onto their pads (Unitree G1, fixed pelvis, Pink IK): the scene, frozen instance and success predicate of `embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-privileged`, with a Unitree G1 humanoid with three-finger hands, its pelvis fixed, its arms and waist under EmbodiedSWE's Pink IK, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/push_shapes.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..dc7127a424--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/grader/push_shapes.py b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/grader/push_shapes.pynew file mode 100644index 0000000000..5d8bbde2d7--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/grader/push_shapes.py@@ -0,0 +1,62 @@+"""Grader for the push_shapes scene: the T, X and L blocks each pushed into their own cutout.++Rubric stages (weights and modes live in RUBRIC). The three blocks are identical sub-goals,+so every stage is ONE fraction over the env's three blocks (k/3), never a stage per block:+ yaw_aligned blocks whose orientation is inside the scene's coarse yaw band of their pad+ (`yaw_matched`: cfg.yaw_stage_tolerance_deg) — the pivot push is done+ near_pad blocks whose centre is within cfg.near_xy_tolerance of their own pad centre —+ the translation push has arrived at the cutout+ seated blocks seated in their recess AND settled — the scene's own per-piece success+ gate (`seated() & settled()`: xy within cfg.xy_tolerance, orientation within+ cfg.orientation_tolerance_deg, not lifted, dropped into the recess, at rest)+All three are LIVE: a block knocked back out of tolerance loses the credit, exactly as the+scene's own `success()` is a live conjunction. Every rung is implied by the next (7 mm inside+30 mm, 7 deg inside 10 deg), so a seated block earns all three. Success is the scene's own+`success()` — all three blocks seated and settled — read on the final state.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.puzzle.scenes.push_shapes import PIECES, PushShapesScene+++class PushShapesGrader(BaseGrader):+ """All three blocks pushed into their own cutouts — aligned, dropped in, and at rest.++ Ladder (3 blocks, 3 equal rungs each, 1/9 per rung): per block yaw aligned +1/9 ·+ near its pad +1/9 · seated +1/9; 1 block seated 0.333 · 2 blocks seated 0.667 ·+ 3 blocks seated 1.00.+ """++ SCENE = PushShapesScene+ # Equal rungs: each is a distinct physical event the scene measures with its own band+ # (yaw_stage_tolerance_deg, near_xy_tolerance, seated()); each stage is a fraction over+ # the three blocks, so one block contributes 1/3 of each rung.+ RUBRIC = (("yaw_aligned", 1), ("near_pad", 1), ("seated", 1))+ scene: PushShapesScene++ def setup(self) -> None:+ pass # everything is measured against the pads, which never move after reset++ def check_success(self):+ return self.scene.success() # (num_envs,) — all three seated AND settled, live++ # ---- rubric stages — each returns a (num_envs,) fraction over that env's blocks --------+ def yaw_aligned(self):+ import torch++ return torch.stack([self.scene.yaw_matched(k) for k in PIECES], dim=1).float().mean(dim=1)++ def near_pad(self):+ import torch++ tol = self.scene.cfg.near_xy_tolerance+ near = torch.stack([self.scene.position_error(k) <= tol for k in PIECES], dim=1)+ return near.float().mean(dim=1)++ def seated(self):+ import torch++ done = torch.stack([self.scene.seated(k) & self.scene.settled(k) for k in PIECES], dim=1)+ return done.float().mean(dim=1)diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..1d71cd65bb--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/instance.json@@ -0,0 +1,306 @@+{+ "action_dim": 28,+ "control_dt": 0.016667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.008333333333333333,+ "preset": "puzzle.push_shapes.g1.pink_ik",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/block_l/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/block_l/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/block_t/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/block_t/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/block_x/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/block_x/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pad_l/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pad_l/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pad_t/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pad_t/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pad_x/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pad_x/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ -0.10000000149011612,+ -0.10000000149011612,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.30000001192092896,+ 0.30000001192092896,+ 0.0,+ 0.0,+ -0.20000000298023224,+ -0.20000000298023224,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.6000000238418579,+ 0.75,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.12049475312232971,+ -0.29654815793037415,+ 0.7161250114440918,+ 0.599850058555603,+ 0.0,+ 0.0,+ 0.8001124262809753,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.06888329982757568,+ -0.3153599202632904,+ 0.7161250114440918,+ 0.6129464507102966,+ 0.0,+ 0.0,+ 0.7901244759559631,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.017701957374811172,+ -0.277939110994339,+ 0.7161250114440918,+ 0.7841041684150696,+ 0.0,+ 0.0,+ 0.6206293106079102,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.12200000137090683,+ -0.18799999356269836,+ 0.7008000016212463,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.7071068286895752,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.06599999964237213,+ -0.20499999821186066,+ 0.7008000016212463,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.7071068286895752,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.017999999225139618,+ -0.16200000047683716,+ 0.7008000016212463,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.7071068286895752,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "e3da1210bfff7ef47b551ec76c352fec3cd56a0164ef4a9e1e72acc34284d23a"+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..02a13e50ab--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "puzzle.push_shapes.g1.pink_ik",+ "grader": "grader/push_shapes.py",+ "title": "Push the shapes onto their pads (Unitree G1, fixed pelvis, Pink IK)",+ "text": "A raised work board lies on the table in front of you, with three shape cutouts sunk into it: a T, a cross, and an L, their recess floors coloured dark red, dark blue, and dark amber. Three flat coloured blocks rest on the board, each some distance behind the cutout of its own shape: a red T, a blue cross, and an amber L.\nEach block starts rotated away from its cutout's orientation.\nGoal: slide every block across the board into the cutout of its own shape so that it drops in and lies flat inside its recess, matching the recess outline in position and rotation. The blocks can only be pushed; lifting them does not solve the task. A block that arrives misaligned will catch on the recess rim instead of dropping in, and a wedged block is hard to recover — align each block before it reaches its cutout.",+ "success": "Success, exactly: each of the three blocks (red T, blue cross, amber L) lies in the cutout of its own shape: its centre within 7 mm horizontally of that cutout's centre, its full 3-D orientation within 7 deg of the cutout's (no symmetry allowance), its underside dropped through the 6 mm board to between 5 mm below and 2 mm above the table top under the board (table top 0.70 m; board top 0.706 m), and it is at rest — linear speed below 0.03 m/s and angular speed below 0.20 rad/s. All three must hold at once at the end. Not true at the start (blocks sit on the board, about 11 cm short of their cutouts and yawed 12-18 deg off)."+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/instruction.mdnew file mode 100644index 0000000000..e0f3d91efd--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/instruction.md@@ -0,0 +1,28 @@+# Push the shapes onto their pads (Unitree G1, fixed pelvis, Pink IK) — standard mode++The task of `embodiedswe-puzzle-push-shapes-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+A raised work board lies on the table in front of you, with three shape cutouts sunk into it: a T, a cross, and an L, their recess floors coloured dark red, dark blue, and dark amber. Three flat coloured blocks rest on the board, each some distance behind the cutout of its own shape: a red T, a blue cross, and an amber L.+Each block starts rotated away from its cutout's orientation.+Goal: slide every block across the board into the cutout of its own shape so that it drops in and lies flat inside its recess, matching the recess outline in position and rotation. The blocks can only be pushed; lifting them does not solve the task. A block that arrives misaligned will catch on the recess rim instead of dropping in, and a wedged block is hard to recover — align each block before it reaches its cutout.++Success, exactly: each of the three blocks (red T, blue cross, amber L) lies in the cutout of its own shape: its centre within 7 mm horizontally of that cutout's centre, its full 3-D orientation within 7 deg of the cutout's (no symmetry allowance), its underside dropped through the 6 mm board to between 5 mm below and 2 mm above the table top under the board (table top 0.70 m; board top 0.706 m), and it is at rest — linear speed below 0.03 m/s and angular speed below 0.20 rad/s. All three must hold at once at the end. Not true at the start (blocks sit on the board, about 11 cm short of their cutouts and yawed 12-18 deg off).++## 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/task.tomlnew file mode 100644index 0000000000..002215d8b0--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard"+description = "EmbodiedSWE puzzle.push_shapes.g1.pink_ik (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "pushing", "non-prehensile", "humanoid", "unitree-g1", "puzzle.push_shapes.g1.pink_ik", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "unitree-g1-dex3"+family = "puzzle.push_shapes.g1.pink_ik"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 3.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..dc7127a424--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-push-shapes-g1-pink-ik-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/DIGESTindex d16ebc38af..64bc410cd9 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:b7fa01e3f4c67f5409d4b660132abd194fb838a79b19dce8012807b3b1b2854b+sha256:682ae38d6326b35aeb6b946f59a2939d73e7d75ef53eb9f320dd787def36e32fdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/README.mdindex 6aaea71db5..bd64232dfa 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-puzzle-spatula-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda` || Family / instance | `puzzle.spatula.franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..db4b54e4f2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:27e22f15bd4a3de5961e11819316a720a3e76381c218c2b0858b84cea7e4b8ebdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..6d368de20d--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-puzzle-spatula-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-puzzle-spatula-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda` |+| Family / instance | `puzzle.spatula.franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Flip a slice of bread in the pan with a spatula, then serve it onto the plate (Franka, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-puzzle-spatula-franka-osc-i00-privileged`, with a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/spatula_flip_serve.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..c14d73455b--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-puzzle-spatula-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/grader/spatula_flip_serve.py b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/grader/spatula_flip_serve.pynew file mode 100644index 0000000000..90b7277bfb--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/grader/spatula_flip_serve.py@@ -0,0 +1,83 @@+"""Grader for the spatula scene: the bread flipped in the pan and/or served onto the plate on the blade.++The scene's `cfg.goal` picks the chain (its own `_stage_table`); the rubric follows the goal,+uniform credit per rung:+ serve lifted -> wedged -> loaded -> served+ flip lifted -> wedged -> flipped_in_pan+ flip_serve lifted -> wedged -> flipped -> loaded (after the flip) -> served++Rubric stages (weights and modes live in RUBRIC) — the scene's latched stages, read from its+substep-rate latches (the journey), plus the live destination:+ lifted the blade above the surface by `lift_gate` (`_lifted`) — a milestone+ wedged the bread riding the blade while still down at pan-floor level (`_wedged`)+ flipped the bread inverted by >= `flip_min_deg` AND at rest flat in the pan+ (`_flipped`); a milestone in `flip_serve` (the slice is served afterwards)+ loaded the bread riding the blade above `lift_gate` — the friction carry+ (`_loaded`; in `flip_serve` the scene's `_loaded_pf`, the carry AFTER the+ flip, so a load during the flip lift earns nothing)+ served the scene's `success()` for the serve goals: the bread resting flat on the+ plate now, having ARRIVED ON THE BLADE (`_served`, the contact-history+ clause; `flip_serve` also demands the flip latch)+ flipped_in_pan the scene's `success()` for the flip goal: flipped latched AND the bread+ resting inverted, flat and settled in the pan now+Success is the scene's own goal-dependent `success()` on the final state.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.puzzle.scenes.spatula_flip_serve import SpatulaFlipServeScene+++class SpatulaFlipServeGrader(BaseGrader):+ """The bread flipped in the pan and/or served flat onto the plate (per the scene's goal), carried there on the blade.++ Ladder (uniform, one unit per rung of the goal's chain):+ flip_serve: lifted 0.20 · wedged 0.40 · flipped 0.60 · loaded after flip 0.80 · served 1.00+ serve: lifted 0.25 · wedged 0.50 · loaded 0.75 · served 1.00+ flip: lifted 0.333 · wedged 0.667 · flipped in pan 1.000+ """++ SCENE = SpatulaFlipServeScene+ RUBRICS = {+ "serve": (("lifted", 1, "once"), ("wedged", 1, "once"), ("loaded", 1, "once"),+ ("served", 1)),+ "flip": (("lifted", 1, "once"), ("wedged", 1, "once"), ("flipped_in_pan", 1)),+ "flip_serve": (("lifted", 1, "once"), ("wedged", 1, "once"), ("flipped", 1, "once"),+ ("loaded", 1, "once"), ("served", 1)),+ }+ RUBRIC = RUBRICS["flip_serve"] # the scene's default goal+ scene: SpatulaFlipServeScene++ def __init__(self, env) -> None:+ # the chain is the scene's goal: pick that goal's rubric before the base wires the stages+ scene = getattr(env, "scene", None)+ if isinstance(scene, self.SCENE):+ self.RUBRIC = self.RUBRICS[scene.cfg.goal]+ super().__init__(env)++ def setup(self) -> None:+ self._goal = self.scene.cfg.goal++ def check_success(self):+ return self.scene.success() # goal-dependent: the journey latches AND the live destination++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] --------------------------+ def lifted(self):+ return self.scene._lifted.float()++ def wedged(self):+ return self.scene._wedged.float()++ def flipped(self):+ return self.scene._flipped.float()++ def loaded(self):+ latch = self.scene._loaded_pf if self._goal == "flip_serve" else self.scene._loaded+ return latch.float()++ def served(self):+ return self.scene.success().float()++ def flipped_in_pan(self):+ return self.scene.success().float()diff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..0356560250--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,238 @@+{+ "action_dim": 8,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.008333333333333333,+ "preset": "puzzle.spatula.franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/bread_l/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/bread_l/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/bread_m/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/bread_m/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/bread_s/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/bread_s/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/pan/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/pan/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/plate/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/plate/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/spatula/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/spatula/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.6000000238418579,+ 0.05000000074505806,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 1.3200000524520874,+ 1.0,+ 0.018587499856948853,+ 0.987848162651062,+ 0.0,+ 0.0,+ -0.15542221069335938,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.16883303225040436,+ 0.09640082716941833,+ 0.019474999979138374,+ 0.6194201707839966,+ 0.0,+ 0.0,+ 0.7850596904754639,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 1.0,+ 1.0,+ 0.015362500213086605,+ 0.0870961844921112,+ 0.0,+ 0.0,+ 0.996199905872345,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.14000000059604645,+ 0.07999999821186066,+ 0.0,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.7071067690849304,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.1570889800786972,+ 0.06445534527301788,+ 0.0,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.02953898161649704,+ -0.1649862825870514,+ 0.003000000026077032,+ 0.9978439211845398,+ 0.0,+ 0.0,+ -0.0656316950917244,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "1df7ac9890d56d6265350c45620c3f7d31de03f94137893aff6753257b3d867c"+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..c0230e97cf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "puzzle.spatula.franka.osc",+ "grader": "grader/spatula_flip_serve.py",+ "title": "Flip a slice of bread in the pan with a spatula, then serve it onto the plate (Franka, operational-space control)",+ "text": "A slice of bread (7-9 cm across) lies in a stainless fry pan (26 cm across, rim 5 cm high) on a sturdy table; an empty bamboo plate (30 cm) waits beside it. A red-handled spatula (thin 9 cm blade) rests on the surface.\nGoal: first FLIP the bread in the pan (the browned underside ends up), then slide the blade under it again, carry it over the pan's rim and set it down flat on the plate.\nThe pan's rim walls the slice in: enter over the rim, and the wall is a backstop a slide can pin the slice against.\nTOOL ONLY: never touch the bread with fingers or gripper — it disqualifies the episode. The bread must ARRIVE on the blade: a slice pushed, shoved or thrown onto the plate does not count. A slice spilled onto the bare surface is a failure you can recover from — wedge it up and continue. The spatula holds in a firm pinch: close the fingers across its handle and the grip locks; open wide to release.",+ "success": "Success, exactly: (1) at some moment the 80 mm bread slice lay flipped in the pan — its originally upward face pointing down within 15 deg of straight down, centre within 109.5 mm horizontally of the pan centre, underside (centre height minus 14 mm) within 12 mm of the pan floor (3.5 mm above the table), slower than 0.05 m/s; (2) at some moment it rested on the plate as in (3) within 600 physics substeps (5.0 s) after it last rode the blade with its underside more than 50 mm above the table; and (3) now it rests on the bamboo plate: centre within 112.8 mm horizontally of the plate centre, underside within 12 mm of the plate's recess floor (12.6 mm above the table), either face up within 15 deg of flat, slower than 0.05 m/s. Not true at the start."+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..175ba8513c--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/instruction.md@@ -0,0 +1,30 @@+# Flip a slice of bread in the pan with a spatula, then serve it onto the plate (Franka, operational-space control) — standard mode++The task of `embodiedswe-puzzle-spatula-franka-osc-i00-privileged`, on the same frozen scene. You drive a Franka Panda arm with its parallel gripper, under EmbodiedSWE's operational-space (torque) controller, 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+A slice of bread (7-9 cm across) lies in a stainless fry pan (26 cm across, rim 5 cm high) on a sturdy table; an empty bamboo plate (30 cm) waits beside it. A red-handled spatula (thin 9 cm blade) rests on the surface.+Goal: first FLIP the bread in the pan (the browned underside ends up), then slide the blade under it again, carry it over the pan's rim and set it down flat on the plate.+The pan's rim walls the slice in: enter over the rim, and the wall is a backstop a slide can pin the slice against.+TOOL ONLY: never touch the bread with fingers or gripper — it disqualifies the episode. The bread must ARRIVE on the blade: a slice pushed, shoved or thrown onto the plate does not count. A slice spilled onto the bare surface is a failure you can recover from — wedge it up and continue. The spatula holds in a firm pinch: close the fingers across its handle and the grip locks; open wide to release.++Success, exactly: (1) at some moment the 80 mm bread slice lay flipped in the pan — its originally upward face pointing down within 15 deg of straight down, centre within 109.5 mm horizontally of the pan centre, underside (centre height minus 14 mm) within 12 mm of the pan floor (3.5 mm above the table), slower than 0.05 m/s; (2) at some moment it rested on the plate as in (3) within 600 physics substeps (5.0 s) after it last rode the blade with its underside more than 50 mm above the table; and (3) now it rests on the bamboo plate: centre within 112.8 mm horizontally of the plate centre, underside within 12 mm of the plate's recess floor (12.6 mm above the table), either face up within 15 deg of flat, slower than 0.05 m/s. Not true at the start.++## This robot+- Action: `ee_pose` only, 9 values: the world pose of `panda_hand` (`x y z qw qx qy qz`) and the two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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 `wrist` (on the hand). 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(15 / `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`, `wrist` at 4 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 (7.4 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".+- Tool only: the hand and fingers (`panda_hand`, `panda_leftfinger`, `panda_rightfinger`) must never touch the bread. The service reads PhysX's contact forces between them and the bread after every physics substep; one contact with a nonzero force ends the episode, disqualified (success 0, progress 0). The spatula may touch the bread.+- 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..22944aeaaf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-puzzle-spatula-franka-osc-i00-standard"+description = "EmbodiedSWE puzzle.spatula.franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "tool-use", "non-prehensile", "flipping", "franka", "puzzle.spatula.franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda"+family = "puzzle.spatula.franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 4.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..c14d73455b--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-puzzle-spatula-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-spatula-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/DIGESTindex fc8c5a3d95..e89e875dce 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/DIGEST@@ -1 +1 @@-sha256:c0ec502c2bb6e1a75216ba6ba013c928bf657150d0d0a0c74ac1a583522cf173+sha256:91c24cd84218d2d97f1ce7330340f830b14e27b81531f82e5c40e9d22d95c5a1diff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/README.mdindex a2b8175145..5726b0666b 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard` || Simulator / robot | `embodiedswe` / `unitree-g1-dex3` || Family / instance | `puzzle.stack_blocks.g1.pink_ik` / seed 0 || Oracle | `none` — No reference solution in the repository. A scripted reference solve() exists outside the repository (internal only, used to check the task is solvable through the grading path); it is not shipped. |diff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/DIGESTnew file mode 100644index 0000000000..fdd59381c5--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:4ed011eebd8cc9c8fea8ea068ed5856f40295c6755c414b3527016e64dc91d9cdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/README.mdnew file mode 100644index 0000000000..860ff5f3e9--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged` |+| Simulator / robot | `embodiedswe` / `unitree-g1-dex3` |+| Family / instance | `puzzle.stack_blocks.g1.pink_ik` / seed 0 |+| Oracle | `none` — No reference solution in the repository. The privileged twin's internal reference solve() (outside the repository), recorded on the service's start-up as this task's ee_pose rows and streamed through the client, scored 1 in a Harbor oracle trial (L40S, 2026-10-29); nop scored 0. |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Stack the blocks (Unitree G1, fixed pelvis, Pink IK): the scene, frozen instance and success predicate of `embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-privileged`, with a Unitree G1 humanoid with three-finger hands, its pelvis fixed, its arms and waist under EmbodiedSWE's Pink IK, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None in the repository (`oracle = "none"`). The privileged twin's internal reference solve(), recorded as `ee_pose` rows and streamed through the client, scored 1 (a Harbor oracle trial, L40S).++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/stack_blocks.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..cc7dc5c70e--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/grader/stack_blocks.py b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/grader/stack_blocks.pynew file mode 100644index 0000000000..45200628b4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/grader/stack_blocks.py@@ -0,0 +1,42 @@+"""Grader for the stack_blocks scene: all blocks stacked into one upright tower on the pad.++Rubric stages (weights and modes live in RUBRIC):+ tower contiguous tower height in blocks over cfg.n_blocks — the scene's own+ `tower_height()`: slots 0, 1, 2, ... above the pad centre, each filled by a block+ within cfg.align_tol of the pad axis, at the slot height within cfg.z_tol,+ upright within cfg.upright_max_deg, settled with the whole scene settled+ (cfg.settle_speed), counted up to the first empty slot+The cubes are identical sub-goals, so they share this ONE fraction stage (k/n_blocks). It is+LIVE: a toppled tower loses the credit. No grasp/lift rung: the scene defines no lift+threshold, so it is dropped rather than invented. Success is the scene's own `success()` —+every slot filled by exactly one block — read on the final state. With n_blocks blocks and+n_blocks slots, a full-height tower (every slot >= 1 block) is exactly one block per slot,+so the stage reaches 1 if and only if `success()` holds.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.puzzle.scenes.stack_blocks import StackBlocksScene+++class StackBlocksGrader(BaseGrader):+ """One clean tower on the pad — every slot filled by exactly one upright, settled block.++ Ladder (k / n_blocks tower height; cfg.n_blocks = 4 by default): 1 block 0.25 ·+ 2 blocks 0.50 · 3 blocks 0.75 · 4 blocks 1.00.+ """++ SCENE = StackBlocksScene+ RUBRIC = (("tower", 1),)+ scene: StackBlocksScene++ def setup(self) -> None:+ pass # the pad axis is cfg.pad_pos (env-local) and the slots are cfg-derived; nothing to cache++ def check_success(self):+ return self.scene.success() # (num_envs,) — every slot of that env holds exactly one block++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] -------------------------+ def tower(self):+ return self.scene.tower_height().float() / self.scene.cfg.n_blocksdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..dff6338184--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/instance.json@@ -0,0 +1,252 @@+{+ "action_dim": 28,+ "control_dt": 0.016667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.008333333333333333,+ "preset": "puzzle.stack_blocks.g1.pink_ik",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/robot/joint_position",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/joint_velocity",+ [+ 1,+ 43+ ]+ ],+ [+ "/articulation/robot/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/robot/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/block_0/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/block_0/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/block_1/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/block_1/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/block_2/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/block_2/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/block_3/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/block_3/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ -0.10000000149011612,+ -0.10000000149011612,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.30000001192092896,+ 0.30000001192092896,+ 0.0,+ 0.0,+ -0.20000000298023224,+ -0.20000000298023224,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.6600000262260437,+ 0.75,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.707099974155426,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.07575836032629013,+ -0.4298767149448395,+ 0.7245000004768372,+ 0.5494756698608398,+ 0.0,+ 0.0,+ 0.835509717464447,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.01151351723819971,+ -0.47487229108810425,+ 0.7245000004768372,+ 0.6136743426322937,+ 0.0,+ 0.0,+ 0.7895593047142029,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.021809665486216545,+ -0.45889779925346375,+ 0.7245000004768372,+ 0.6750413775444031,+ 0.0,+ 0.0,+ -0.7377798557281494,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.09302892535924911,+ -0.433660089969635,+ 0.7245000004768372,+ 0.9868704080581665,+ 0.0,+ 0.0,+ -0.16151416301727295,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "7e47584746a3ad34b5ed6a8ad803a237c1f6734eb20e828ec17e8166a8285859"+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..4018537207--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "puzzle.stack_blocks.g1.pink_ik",+ "grader": "grader/stack_blocks.py",+ "title": "Stack the blocks (Unitree G1, fixed pelvis, Pink IK)",+ "text": "4 coloured wooden blocks (45 mm cubes) lie scattered flat on a work table, beside a marked square pad. Goal: stack all 4 blocks into a single upright tower centred on the pad — one block squarely on top of the next, faces level, so the finished tower stands 4 blocks high and stays standing. A block placed off-centre enough to overhang, set down crooked, or left off the pad does not count toward the tower.",+ "success": "Success, exactly: the four 45 mm blocks form one tower on the dark square pad with exactly one block in each of the four levels: every block's centre is within 30 mm horizontally of the pad centre, its centre height is within 20 mm of 0.7225 m + 0.045 m x its level (levels 0-3, i.e. 0.7225 / 0.7675 / 0.8125 / 0.8575 m; table top 0.70 m), one of its faces is level within 25 deg (some cube axis within 25 deg of vertical), and every block moves slower than 0.05 m/s. Not true at the start (blocks scattered flat behind the pad)."+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/instruction.mdnew file mode 100644index 0000000000..b6c52906ba--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/instruction.md@@ -0,0 +1,26 @@+# Stack the blocks (Unitree G1, fixed pelvis, Pink IK) — standard mode++The task of `embodiedswe-puzzle-stack-blocks-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+4 coloured wooden blocks (45 mm cubes) lie scattered flat on a work table, beside a marked square pad. Goal: stack all 4 blocks into a single upright tower centred on the pad — one block squarely on top of the next, faces level, so the finished tower stands 4 blocks high and stays standing. A block placed off-centre enough to overhang, set down crooked, or left off the pad does not count toward the tower.++Success, exactly: the four 45 mm blocks form one tower on the dark square pad with exactly one block in each of the four levels: every block's centre is within 30 mm horizontally of the pad centre, its centre height is within 20 mm of 0.7225 m + 0.045 m x its level (levels 0-3, i.e. 0.7225 / 0.7675 / 0.8125 / 0.8575 m; table top 0.70 m), one of its faces is level within 25 deg (some cube axis within 25 deg of vertical), and every block moves slower than 0.05 m/s. Not true at the start (blocks scattered flat behind the pad).++## 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/task.tomlnew file mode 100644index 0000000000..a01995ca77--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard"+description = "EmbodiedSWE puzzle.stack_blocks.g1.pink_ik (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "stacking", "humanoid", "unitree-g1", "puzzle.stack_blocks.g1.pink_ik", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "unitree-g1-dex3"+family = "puzzle.stack_blocks.g1.pink_ik"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository. The privileged twin's internal reference solve() (outside the repository), recorded on the service's start-up as this task's ee_pose rows and streamed through the client, scored 1 in a Harbor oracle trial (L40S, 2026-10-29); nop scored 0."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 3.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..cc7dc5c70e--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-stack-blocks-g1-pink-ik-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.logdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/DIGEST b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/DIGESTindex b676d88ab2..6179fc6496 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/DIGEST+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/DIGEST@@ -1 +1 @@-sha256:65315b63f1da9d5dd4e8ff1b72826826b126a6a9e9cf707e5ffaca2846507f8d+sha256:815d7dc907763b8076dc64b105b47f8fa4c32b58714710e764eb702ca5dd286fdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/README.md b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/README.mdindex 85b1ebde80..c375700aa2 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/README.md+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/README.md@@ -4,7 +4,7 @@|---|---|| Benchmark | EmbodiedSWE || Mode | privileged |-| Twin | — (privileged only) |+| Twin | `embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard` || Simulator / robot | `embodiedswe` / `franka-panda-bimanual` || Family / instance | `puzzle.syringe.bimanual_franka.osc` / seed 0 || Oracle | `none` — No reference solution in the repository, and none written for this scene yet; the build, the start-state hash and a do-nothing run scoring 0 are checked. |diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/environment/Dockerfileindex 2990b882b0..4fa4166340 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/environment/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/environment/Dockerfile@@ -2,7 +2,7 @@# commit, scrubbed, + its assets by sha256); built locally, not published (images/embodiedswe/BUILD_ONLY). The tooling# comes from the files image (images/embodiedswe-files/, source embodied_first_exam/benchmarks/embodiedswe/).FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /esw_submit.py /opt/efe/COPY instance.json /app/instance.jsonRUN ln -s /opt/efe/esw_submit.py /usr/local/bin/submit && mkdir -p /app/outputWORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/tests/Dockerfileindex 1a65de4d1e..2ae07ce5d9 100644--- a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/tests/Dockerfile+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged/tests/Dockerfile@@ -2,7 +2,7 @@# task's grader (EmbodiedSWE's, unchanged, at the pinned commit). /tests is root-only: the solution process (nobody)# cannot read it.FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0-COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.0@sha256:7980b458441ec1c964fec6ede5e5f6b914e81134daa4062fc0c4a5ebdc3c099b /rcb_embodiedswe.py /esw_proxy.py /opt/efe/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e /rcb_embodiedswe.py /esw_proxy.py /opt/efe/COPY grade.py instance.json test.sh /tests/COPY grader/ /tests/grader/RUN chmod 700 /tests && chmod +x /tests/test.sh && mkdir -p /app/output /logs/verifierdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/DIGEST b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/DIGESTnew file mode 100644index 0000000000..38b25b1227--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/DIGEST@@ -0,0 +1 @@+sha256:fca2095029d224b53869443f0f462ff8dbd3b21561450cfe7a53e876d4b5e7e6diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/README.md b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/README.mdnew file mode 100644index 0000000000..9d1b48cb7a--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/README.md@@ -0,0 +1,38 @@+# embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard++| | |+|---|---|+| Benchmark | EmbodiedSWE |+| Mode | standard (`eai-standard/2.2`) |+| Twin | `embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged` |+| Simulator / robot | `embodiedswe` / `franka-panda-bimanual` |+| Family / instance | `puzzle.syringe.bimanual_franka.osc` / seed 0 |+| Oracle | `none` — No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4). |+| Agent time budget | 14400 s; tokens: protocol default (docs/protocol/running.md "Official runs") |+| Base image | `ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0` |++## Task+Draw and dose liquid with a syringe (two Frankas, operational-space control): the scene, frozen instance and success predicate of `embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged`, with two Franka Panda arms with parallel grippers, each under EmbodiedSWE's operational-space (torque) controller, in standard mode+(tasks/embodiedswe/README.md "Standard mode").++## Difficulty+That of the privileged twin, from camera images, depth and proprioception only: no resets, no object poses, no success predicate.++## Reference solution+None (`oracle = "none"`): no reference solution has been recorded through the standard API.++## Verification+Graded by the live episode: `tests/grade.py` reads the service's `final.json` (EmbodiedSWE's grader for this scene,+`environment/sim/grader/syringe_dosing.py`, on the live state); tasks/embodiedswe/README.md "Standard mode".++## Resources+Caps per container (PROTOCOL §6).++| Container | CPUs | Memory | Processes | GPU memory | Disk |+|---|---|---|---|---|---|+| `main` (the agent's) | 8 | 24 GiB | 1024 | no GPU | 10 GiB |+| `sim` | 8 | 24 GiB | 2048 | 18 GiB | — |+| verifier (as `main`) | 8 | 24 GiB | no cap | no GPU | 10 GiB |++- GPU: an RTX-class NVIDIA GPU (ray-tracing cores), one of the models in `gpu_types`: L40S, L40, L4, RTX 4090, RTX 6000 Ada, held by `sim`.+- Recommended GPU: L40S 48GB / L4 24GB / RTX 4090 24GB.diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/Dockerfilenew file mode 100644index 0000000000..866f7fcbcf--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/Dockerfile@@ -0,0 +1,9 @@+# Standard mode: the agent container has NO simulator and no EmbodiedSWE code — only Python and the client.+# The client base image and the pip pins are the shared ones of every standard task (embodied_first_exam/standard/client.env).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY client-requirements.txt /tmp/client-requirements.txt+RUN pip install --no-cache-dir -r /tmp/client-requirements.txt+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 /rcb_client.py /rcb1.py /opt/tools/+ENV PYTHONPATH=/opt/tools+RUN mkdir -p /app/output+WORKDIR /appdiff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/client-requirements.txt b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/client-requirements.txtnew file mode 100644index 0000000000..8aa73a968f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/client-requirements.txt@@ -0,0 +1,11 @@+# Exact pins for what the standard agent container installs (and a verifier, if it installs anything): the closure of+# `pip install requests numpy pillow scipy`, the unpinned line of every standard task at 9eb18edf, resolved on+# 2026-10-01 in CLIENT_IMAGE (client.env: Python 3.12.14, pip 25.0.1). A change here is a shared-files PR.+certifi==2026.7.22+charset-normalizer==3.5.2+idna==3.20+numpy==2.5.3+pillow==12.3.0+requests==2.34.2+scipy==1.18.1+urllib3==2.8.0diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/docker-compose.yaml b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/docker-compose.yamlnew file mode 100644index 0000000000..3d85cf11a4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/docker-compose.yaml@@ -0,0 +1,68 @@+# Standard mode: EmbodiedSWE runs in the `sim` sidecar (GPU PhysX + cameras); the agent's container has only the client and+# reaches it on localhost:8000. Crash recovery: docs/protocol/standard_mode.md; the Kit cache is a trial-scoped volume.+services:+ main:+ pids_limit: 1024 # rcb-monitor+ volumes: # rcb-monitor+ - rcb_limits:/run/rcb-limits:ro # rcb-monitor+ depends_on: [sim]+ sim:+ cpus: 8 # rcb-monitor+ mem_limit: 24576m # rcb-monitor+ pids_limit: 2048 # rcb-monitor+ x-gpu-memory-gb: 18 # GiB # rcb-monitor+ build:+ context: ./sim+ dockerfile: Dockerfile+ volumes:+ - rcb_observe:/run/rcb-observe:ro # rcb-monitor+ - esw_cache_trusted:/cache+ working_dir: /tmp+ command: sh /srv/run.sh+ restart: on-failure:6+ environment:+ RCB_DATA: /data+ RCB_WALL_CLOCK_S: "14400"+ RCB_STARTUP_TIMEOUT_S: "900"+ PYTHONPATH: /srv:/opt/embodiedswe+ RCB_SESSION_LOG: ""+ shm_size: "8gb"+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)+ rcb_monitor:+ image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a+ pid: host+ cgroup: host+ network_mode: none+ cap_add: [SYS_PTRACE]+ cpus: 0.5+ mem_limit: 256m+ pids_limit: 64+ restart: on-failure+ working_dir: /var/rcb-monitor+ volumes:+ - ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro+ - rcb_limits:/run/rcb-limits+ - rcb_observe:/run/rcb-observe+ environment:+ RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}+ RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}+ command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]+ deploy:+ resources:+ reservations:+ devices:+ - driver: nvidia+ count: 1+ capabilities: [gpu]+ # <<< rcb_monitor+volumes:+ rcb_limits: # rcb-monitor+ rcb_observe: # rcb-monitor+ esw_cache_trusted:diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/rcb_monitor/limits.json b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/rcb_monitor/limits.jsonnew file mode 100644index 0000000000..8c5fc10ec2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/rcb_monitor/limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/.dockerignore b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/.dockerignorenew file mode 100644index 0000000000..e22e196276--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/.dockerignore@@ -0,0 +1,3 @@+# the build's own files, not part of /srv+Dockerfile+.dockerignorediff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/Dockerfilenew file mode 100644index 0000000000..e47cd89fd4--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/Dockerfile@@ -0,0 +1,18 @@+# The `sim` sidecar: EmbodiedSWE's base image (images/embodiedswe/, built locally: BUILD_ONLY), this directory at /srv+# (the task's instance, grader and text), and at their paths under /srv the shared files, from pinned files-only images.+FROM ghcr.io/mll-lab-nu/efe-private:embodiedswe-0.3.0+COPY . /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-files-0.3.1@sha256:ef309a60a26d8813914d4c5284eb9a1008d58f3123871491535f7cf11bbc743e \+ /rcb_embodiedswe.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:embodiedswe-standard-files-0.2.0@sha256:cc789638a487ded01e60aee88bad91c28119cdffbef2e36b2e2cc119b18b41ee \+ /sim/esw_std.py \+ /sim/finalize.sh \+ /sim/live_video.py \+ /sim/server.py \+ /srv/+COPY --from=ghcr.io/mll-lab-nu/efe:standard-files-0.4.0@sha256:90253c4cb419668f84c6728dc6d6e23ea55ef8d7f7e7835a5eb65015729f91b0 \+ /rcb1.py \+ /rcb_limited.py \+ /run.sh \+ /srv/diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/grader/syringe_dosing.py b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/grader/syringe_dosing.pynew file mode 100644index 0000000000..2841d8fe88--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/grader/syringe_dosing.py@@ -0,0 +1,60 @@+"""Grader for the syringe scene: a full draw, one in-band dose in each of three tubes, syringe laid back down.++Rubric stages (weights and modes live in RUBRIC):+ drawn the draw: 1 once the scene's `_drawn_ok` latch is set (liquid >= `draw_min` while+ seated on the reservoir); before that, the liquid in the barrel as a linear ramp+ from empty (0) to `draw_min`. A milestone — the liquid is dispensed afterwards+ dosed fraction over the three identical tubes: a tube inside the scene's `dose_band`+ counts 1; below the band, the dose as a linear ramp from 0 to the band's lower+ edge; pushed past the band it counts 0 — wells never un-fill, so an over-dose is+ the scene's irreversible ruin of that tube. Live: an over-push drops a tube+ parked the scene's `success()`: syringe lying at its home spot, on the shelf, settled+ (`parked`) — GATED on the draw + all three doses. The syringe SPAWNS parked, so+ the park only counts once the dosing it concludes is done (else it is free credit)+Success is the scene's own `success()` (drawn AND doses_ok AND parked) on the final state.+"""++from __future__ import annotations++from robobench.core import BaseGrader+from robobench.suites.puzzle.scenes.syringe_dosing import SyringeDosingScene+++class SyringeDosingGrader(BaseGrader):+ """A full draw from the reservoir, an in-band dose in each of the three tubes, and the syringe laid back at its spot.++ Ladder: full draw 0.20 · 1 dose 0.40 · 2 doses 0.60 · 3 doses 0.80 · parked 1.00+ """++ SCENE = SyringeDosingScene+ # dosed x3: three identical tubes, one unit of credit per tube — the same unit as the draw+ # and the park (the egg-carton ladder: each egg a step, the lid the last step)+ RUBRIC = (("drawn", 1, "once"), ("dosed", 3), ("parked", 1))+ scene: SyringeDosingScene++ def setup(self) -> None:+ pass # every quantity is a scene ledger; nothing to capture at reset++ def check_success(self):+ return self.scene.success() # drawn AND doses_ok AND parked — live++ # ---- rubric stages — each returns a (num_envs,) value in [0, 1] --------------------------+ def drawn(self):+ import torch++ s = self.scene+ ramp = (s.liquid() / s.cfg.draw_min).clamp(0.0, 1.0)+ return torch.where(s.drawn(), torch.ones_like(ramp), ramp)++ def dosed(self):+ import torch++ s = self.scene+ lo, hi = s.cfg.dose_band+ d = s.doses() # (num_envs, 3) fraction of capacity per tube+ ramp = (d / lo).clamp(0.0, 1.0)+ per_tube = torch.where(d > hi, torch.zeros_like(d), ramp) # in band -> ramp is 1+ return per_tube.mean(dim=1)++ def parked(self):+ return self.scene.success().float()diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/instance.json b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/instance.jsonnew file mode 100644index 0000000000..ed064a6880--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/instance.json@@ -0,0 +1,232 @@+{+ "action_dim": 16,+ "control_dt": 0.066667,+ "device": "cuda:0",+ "format": "esw-instance/1",+ "gpu_model": "NVIDIA L40S",+ "physics_dt": 0.008333333333333333,+ "preset": "puzzle.syringe.bimanual_franka.osc",+ "seed": 0,+ "start_state": {+ "layout": [+ [+ "/articulation/left/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/left/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/left/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/left/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/articulation/right/joint_position",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/right/joint_velocity",+ [+ 1,+ 9+ ]+ ],+ [+ "/articulation/right/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/right/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/articulation/syringe/joint_position",+ [+ 1,+ 1+ ]+ ],+ [+ "/articulation/syringe/joint_velocity",+ [+ 1,+ 1+ ]+ ],+ [+ "/articulation/syringe/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/articulation/syringe/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/rack/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/rack/root_velocity",+ [+ 1,+ 6+ ]+ ],+ [+ "/rigid_object/reservoir/root_pose",+ [+ 1,+ 7+ ]+ ],+ [+ "/rigid_object/reservoir/root_velocity",+ [+ 1,+ 6+ ]+ ]+ ],+ "vector": [+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.2800000011920929,+ 0.41999998688697815,+ 0.7099999785423279,+ 0.7071068286895752,+ 0.0,+ 0.0,+ -0.7071068286895752,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.001500000013038516,+ -0.19699999690055847,+ -0.00139999995008111,+ -1.9759999513626099,+ -0.0002800000074785203,+ 1.7799999713897705,+ 0.7860000133514404,+ 0.03999999910593033,+ 0.03999999910593033,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.2800000011920929,+ 0.41999998688697815,+ 0.7099999785423279,+ 0.7071068286895752,+ 0.0,+ 0.0,+ -0.7071068286895752,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.05999999865889549,+ -0.07999999821186066,+ 0.7942000031471252,+ 0.5,+ -0.5,+ 0.5,+ -0.5,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ -0.0030286055989563465,+ 0.14050038158893585,+ 0.7491999864578247,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.15416723489761353,+ -0.04127092286944389,+ 0.7742000222206116,+ 1.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0,+ 0.0+ ]+ },+ "state_sha": "2a7447886826f62cb02e55f5d1231071a64cab07c23d09ec5d5232f3f4679976"+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/task.json b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/task.jsonnew file mode 100644index 0000000000..03971bb874--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/environment/sim/task.json@@ -0,0 +1,7 @@+{+ "preset": "puzzle.syringe.bimanual_franka.osc",+ "grader": "grader/syringe_dosing.py",+ "title": "Draw and dose liquid with a syringe (two Frankas, operational-space control)",+ "text": "On the top shelf of a medical cart: a large syringe LYING FLAT (a scanned model — translucent barrel with graduation marks and finger flanges, a plunger with a thumb plate, travel 0.12 m = its full capacity, and a luer nozzle at the tip), a rack of three GLASS TEST TUBES, and a wide RESERVOIR beaker of water (its blue level visibly drops as liquid is drawn). The cart's lower shelf holds packaged syringes and a basin — scenery only.\nLiquid moves with the plunger, but ONLY while the syringe is roughly upright with the nozzle tip seated on a mouth: hovering within 6 mm laterally and 12 mm above the rim. Pulling the plunger while seated on the reservoir draws liquid; pushing it dispenses into whichever tube the tip is seated on — anywhere else the liquid is WASTED. Tubes never un-fill: a tube pushed past its band is ruined for the episode (the reservoir can be re-drawn from, but over-dispensing cannot be undone). The water is VISIBLE: a blue column inside the translucent barrel shows the drawn liquid, and each tube fills with a blue column as it receives its dose. The plunger has deliberate friction: push/pull it slowly and steadily.\nGoal: draw a full load (>= 95% of capacity, tip seated in the reservoir), dispense between 23% and 43% of capacity into EACH of the three tubes, then lay the syringe back down at its spot on the shelf.",+ "success": "Success, exactly: (1) at some moment the barrel held at least 95% of capacity (liquid gained only from plunger draw while the tip was seated on the reservoir) while the tip was seated on the reservoir beaker; (2) each of the three test tubes has received between 23% and 43% of capacity (0.12 m stroke), counting only plunger pushes made while the tip was seated on that tube's mouth; (3) now the syringe lies at its starting spot on the shelf: barrel centre within 60 mm horizontally of its start position, barrel axis within about 20.5 deg of horizontal (|vertical component| < 0.35), barrel centre within 80 mm of the shelf top height, moving slower than 0.05 m/s. 'Seated' = nozzle tip within 6 mm horizontally of the mouth centre, from 12 mm below to 12 mm above its rim, plunger end up with the barrel within ~31.8 deg of vertical, counted for 10 substeps after it last held. Not true at the start."+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/instruction.md b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/instruction.mdnew file mode 100644index 0000000000..c0f3a810ee--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/instruction.md@@ -0,0 +1,28 @@+# Draw and dose liquid with a syringe (two Frankas, operational-space control) — standard mode++The task of `embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-privileged`, on the same frozen scene. You drive two Franka Panda arms with parallel grippers, each under EmbodiedSWE's operational-space (torque) controller, 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+On the top shelf of a medical cart: a large syringe LYING FLAT (a scanned model — translucent barrel with graduation marks and finger flanges, a plunger with a thumb plate, travel 0.12 m = its full capacity, and a luer nozzle at the tip), a rack of three GLASS TEST TUBES, and a wide RESERVOIR beaker of water (its blue level visibly drops as liquid is drawn). The cart's lower shelf holds packaged syringes and a basin — scenery only.+Liquid moves with the plunger, but ONLY while the syringe is roughly upright with the nozzle tip seated on a mouth: hovering within 6 mm laterally and 12 mm above the rim. Pulling the plunger while seated on the reservoir draws liquid; pushing it dispenses into whichever tube the tip is seated on — anywhere else the liquid is WASTED. Tubes never un-fill: a tube pushed past its band is ruined for the episode (the reservoir can be re-drawn from, but over-dispensing cannot be undone). The water is VISIBLE: a blue column inside the translucent barrel shows the drawn liquid, and each tube fills with a blue column as it receives its dose. The plunger has deliberate friction: push/pull it slowly and steadily.+Goal: draw a full load (>= 95% of capacity, tip seated in the reservoir), dispense between 23% and 43% of capacity into EACH of the three tubes, then lay the syringe back down at its spot on the shelf.++Success, exactly: (1) at some moment the barrel held at least 95% of capacity (liquid gained only from plunger draw while the tip was seated on the reservoir) while the tip was seated on the reservoir beaker; (2) each of the three test tubes has received between 23% and 43% of capacity (0.12 m stroke), counting only plunger pushes made while the tip was seated on that tube's mouth; (3) now the syringe lies at its starting spot on the shelf: barrel centre within 60 mm horizontally of its start position, barrel axis within about 20.5 deg of horizontal (|vertical component| < 0.35), barrel centre within 80 mm of the shelf top height, moving slower than 0.05 m/s. 'Seated' = nozzle tip within 6 mm horizontally of the mouth centre, from 12 mm below to 12 mm above its rim, plunger end up with the barrel within ~31.8 deg of vertical, counted for 10 substeps after it last held. Not true at the start.++## This robot+- Action: `ee_pose` only, 18 values: left arm then right arm, each the world pose of its `panda_hand` (`x y z qw qx qy qz`) and its two finger position targets (m, 0 closed, 0.04 open). Rows are streamed at the 15 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), `left_wrist` (on the left hand), and `right_wrist` (on the right hand). 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(15 / `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`, `left_wrist`, `right_wrist` at 2 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 (7.4 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 (for example Codex's `yield_time_ms`) 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).diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/task.toml b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/task.tomlnew file mode 100644index 0000000000..d88011539c--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/task.toml@@ -0,0 +1,68 @@+schema_version = "1.3"+artifacts = [{ source = "/var/rcb-monitor/", service = "rcb_monitor" },+ { source = "/data/final.json", service = "sim" },+ { source = "/data/episode.jsonl", service = "sim" },+ { source = "/data/trajectory.npz", service = "sim" },+ { source = "/data/live.mp4", service = "sim" }, # the live episode's video (filmed by the service)+ { source = "/data/live.last.png", service = "sim" },+ { source = "/data/server.log", service = "sim" }, # the service's own output (Harbor keeps none)+ { source = "/data/journal.f64", service = "sim" }, # crash recovery: every executed control step (float64 rows)+ { source = "/data/startups.jsonl", service = "sim" }, # crash recovery: one line per service start+ { source = "/data/video.log", service = "sim" }, # the collect hook's video encode (never decides anything)+ "/app/output/",+]++[task]+name = "embodied-first-exam/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard"+description = "EmbodiedSWE puzzle.syringe.bimanual_franka.osc (robobench at 67f44e8a2ca5, Isaac Lab 2.3.2 / Isaac Sim 5.1, GPU PhysX), standard mode: the frozen instance of the privileged twin (seed 0) served by a sim sidecar; the agent gets only the client (camera images, depth, proprioception; ee_pose chunks), one episode, no reset, graded live."+keywords = ["robotics", "embodiedswe", "isaac-lab", "isaac-sim", "bimanual", "tool-use", "dosing", "franka", "puzzle.syringe.bimanual_franka.osc", "standard-mode", "trajectory"]++[metadata]+task_type = "trajectory"+simulator = "embodiedswe"+robot = "franka-panda-bimanual"+family = "puzzle.syringe.bimanual_franka.osc"+dynamics = "static"+protocol = "eai-standard/2.2"+oracle = "none"+oracle_evidence = "No reference solution in the repository, and no positive example yet; nop scored 0 (Harbor, L40S, 2026-10-29). Human review per family (PROTOCOL §4)."+instance_seed = 0+upstream_commit = "67f44e8a2ca51c3e133867e5e669377778e8f97d"+expert_time_estimate_hours = 4.0++[verifier]+timeout_sec = 1200.0+environment_mode = "separate"+network_mode = "no-network"++# Resources (PROTOCOL §6): seal the monitor's record first.+[[verifier.collect]]+service = "rcb_monitor"+command = "python3 /opt/rcb_monitor/monitor.py seal --wait 90"+timeout_sec = 120++# The agent's time is up: stop whatever it left running in its container, so no script keeps driving the robot.+[[verifier.collect]]+service = "main"+command = "kill -9 -1 2>/dev/null; exit 0"+timeout_sec = 30++[[verifier.collect]]+service = "sim"+command = "sh /srv/finalize.sh" # end + dump + exit the service, write final.json from the live episode (no replay), encode live.mp4+timeout_sec = 3600 # = finalize.sh's HOOK_BUDGET_S (keep them equal)++[agent]+timeout_sec = 14400.0+network_mode = "allowlist"+allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "auth.openai.com", "api.openai.com", "*.openai.com", "api.anthropic.com", "*.anthropic.com", "openrouter.ai", "*.openai.azure.com", "*.cognitiveservices.azure.com", "pypi.org", "files.pythonhosted.org", "deb.debian.org", "security.debian.org", "archive.ubuntu.com", "security.ubuntu.com", "snapshot.ubuntu.com"]++[environment]+build_timeout_sec = 5400.0+cpus = 8+memory_mb = 24576+storage_mb = 10240+gpu_types = ["L40S", "L40", "L4", "RTX 4090", "RTX 6000 Ada"]++[verifier.env]+RCB_LIMITS_ENFORCE = "${RCB_LIMITS_ENFORCE:-0}"diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/tests/Dockerfile b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/tests/Dockerfilenew file mode 100644index 0000000000..1a5dcc7fd3--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/tests/Dockerfile@@ -0,0 +1,8 @@+# Separate verifier sandbox: grades the sim service's own artifacts; needs nothing but python (the shared client base).+FROM docker.io/library/python:3.12.14-slim@sha256:f77ac9e44ae96ef2c90b8053ea08c31f8be030f824196b0ae4db6d462c84e51f+COPY test.sh /tests/test.sh+COPY grade.py /tests/grade.py+RUN chmod +x /tests/test.sh+# resources (PROTOCOL §6) # rcb-monitor+COPY --from=ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a /opt/rcb_monitor/rcb_limits.py /tests/rcb_limits.py+COPY rcb_limits.json /tests/rcb_limits.jsondiff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/tests/grade.py b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/tests/grade.pynew file mode 100644index 0000000000..83f8cd90c2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/tests/grade.py@@ -0,0 +1,62 @@+"""Standard-mode verifier (EmbodiedSWE): reads what the sim service (which the agent could not touch) wrote:+/data/final.json (the LIVE episode's verdict and the crash-recovery record), /data/trajectory.npz, /data/live.mp4.+Graded by the live episode, no grading replay: success = EmbodiedSWE's verdict on the live state at the episode's end+(the grader's success predicate; a broken tool-only rule disqualifies), and no infrastructure failure; progress = the+grader's rubric score. Numeric-only reward.json (tasks/embodiedswe/README.md "Standard mode").++infra_error = 1 (no verdict on the agent): final.json missing, unreadable or not finalized; the service gave up after+crashes outside a call, never ended the episode, or found the scene was not the frozen instance (`instance_mismatch`).+A give-up after crashes during a call (`sim_crashed_on_call`) and a simulator error raised by the agent's actions+(reason "error") stay the agent's 0."""+import json, os, shutil, traceback+LOG = os.environ.get("RCB_VERIFIER_LOG_DIR", "/logs/verifier"); DATA = os.environ.get("RCB_DATA", "/data")+os.makedirs(LOG, exist_ok=True)+++def write(ok, out):+ open(f"{LOG}/reward.txt", "w").write("1\n" if ok else "0\n"); json.dump(out, open(f"{LOG}/reward.json", "w")); print(out)+++NONE = {"success": 0, "progress": 0.0, "live_success": 0, "graded_by_live": 1, "replays": 0, "finalized": 0, "sim_error": 0}+p = f"{DATA}/final.json"+if not os.path.exists(p):+ write(False, {**NONE, "missing_log": 1, "grader_error": 0, "infra_error": 1}); raise SystemExit+try:+ d = json.load(open(p))+ if not isinstance(d, dict):+ raise ValueError(f"final.json holds a {type(d).__name__}, not an object")+except Exception: # noqa: BLE001 -- a truncated or corrupt final.json is the infrastructure's failure, not the agent's+ traceback.print_exc()+ write(False, {**NONE, "missing_log": 0, "grader_error": 1, "infra_error": 1}); raise SystemExit+for f in ("live.mp4", "live.last.png", "trajectory.npz", "episode.jsonl"):+ try:+ if os.path.exists(f"{DATA}/{f}"):+ shutil.copy(f"{DATA}/{f}", f"{LOG}/{f}")+ except OSError:+ traceback.print_exc() # the evidence never decides the verdict+++def num(k):+ try:+ return float(d.get(k) or 0)+ except (TypeError, ValueError):+ return 0.0+++unfinished = not d.get("finalized")+infra = bool(d.get("infra_error")) or unfinished+sim_error = d.get("reason") == "error"+ok = bool(d.get("success")) and not infra and not sim_error+write(ok, {"success": int(ok), "progress": 0.0 if infra else num("progress"), "live_success": int(bool(d.get("success"))),+ "graded_by_live": 1, "replays": 0, "finalized": int(not unfinished), "missing_log": 0,+ "n_actions": int(num("n_actions")), "sim_steps": int(num("control_steps")), "physics_steps": int(num("physics_steps")),+ "steps": int(num("steps")), "calls": int(num("calls")), "elapsed_s": num("elapsed_s"),+ "success_ended_episode": int(d.get("reason") == "success"), "step_cap_reached": int(d.get("reason") == "step_guard"),+ "tool_only": int(num("tool_only")), "tool_contact": int(num("tool_contact")), "disqualified": int(num("disqualified")),+ "video_rendered": int(bool(d.get("video"))), "video_frames": int(num("video_frames")), "sim_error": int(sim_error),+ "instance_mismatch": int(bool(d.get("instance_mismatch"))), "instance_exact": int(bool(d.get("instance_exact"))),+ "grader_error": 0, "infra_error": int(infra), "gave_up": int(bool(d.get("gave_up"))),+ "sim_crashed_on_call": int(d.get("reason") == "sim_crashed_on_call"),+ "sim_startups": int(num("sim_startups")), "resumes": int(num("resumes")),+ "resume_state_mismatch": int(num("resume_state_mismatch")), "resume_max_tcp_dev_m": num("resume_max_tcp_dev_m"),+ "resume_max_joint_dev": num("resume_max_joint_dev")})diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/tests/rcb_limits.json b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/tests/rcb_limits.jsonnew file mode 100644index 0000000000..8c5fc10ec2--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/tests/rcb_limits.json@@ -0,0 +1,27 @@+{+ "agent_timeout_sec": 14400,+ "caps": {+ "main": {+ "cpus": 8.0,+ "disk_gb": 10.0,+ "memory_gb": 24.0,+ "pids": 1024+ },+ "sim": {+ "cpus": 8.0,+ "gpu_memory_gb": 18.0,+ "memory_gb": 24.0,+ "pids": 2048+ }+ },+ "disk_gb": 10.0,+ "disk_tick_sec": 60,+ "format": "rcb-limits/2",+ "gpu": false,+ "mode": "standard",+ "scope_services": [+ "main"+ ],+ "task": "embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard",+ "tick_sec": 5+}diff --git a/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/tests/test.sh b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/tests/test.shnew file mode 100755index 0000000000..829b8e824f--- /dev/null+++ b/tasks/embodiedswe/embodiedswe-puzzle-syringe-bimanual-franka-osc-i00-standard/tests/test.sh@@ -0,0 +1,9 @@+#!/bin/bash+# Verifier (separate sandbox): the sim sidecar's artifacts were uploaded to /data by Harbor.+# Harbor also mounts /logs/verifier into the agent's container: start from an empty directory, so nothing the agent+# left there (a planted reward, a symlink) can count. rm never follows symlinks.+rm -rf /logs/verifier/* # verdicts from an earlier run never survive (docs/protocol/README.md Appendix H.1)+trap 'p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py verify' EXIT # resources, after the grader (PROTOCOL §6)+p=$(command -v python3 || command -v python); "$p" /tests/rcb_limits.py sanitize /app/output || true # untrusted agent files (PROTOCOL H.1)+mkdir -p /logs/verifier+python /tests/grade.py 2> /logs/verifier/grade.log