Skip to content

chore(infra): #894 rebased onto main, plus the infra review (trust layer, serving, release engineering, verifier) - #895

Merged
geng-haoran merged 63 commits into
mainfrom
feat/infra-gates-main
Nov 29, 2026
Merged

geng-haoran merged 63 commits into
mainfrom
feat/infra-gates-main

Conversation

@geng-haoran

Copy link
Copy Markdown
Collaborator

Why this PR exists. #894 was merged into its base branch chore/curate-tasks (9da6d04), not into main, so none of its content reached main. This branch is the 51 commits of #894 rebased onto current main (tree byte-identical to origin/chore/curate-tasks) plus ten commits from the infra review that followed. Squash-merge it into main; chore/curate-tasks and feat/infra-gates can then be deleted.

Infra review (2026-11-29)

Five independent reviewers covered the bench core, the policy-serving interface, the CLI and docs, release engineering, and the results and asset layer: 75 findings, 9 blockers. Everything reachable from the repository is fixed here; the user-side items (ruleset, Actions and code-security settings, PyPI environment, mirror, GPU runner, Hub uploads) are in RELEASING.md §5 and §6.

  • Trust layer (metasim.bench): validate_result checks a result file against itself (episode count, indices, instances, types, finiteness, checkpoint hash, embedded summary); PROTOCOL_REVISION = 2: episode i always runs instance i mod n, so a seed cannot choose instances, revision-1 files are readable but not runnable; result_key adds num_envs, the instance-pool hash and the revision; policy_identity pools by weights (name#<sha> when two checkpoints share a name); matrix marks mixed protocols; submission_problems / manifest_problems are what the leaderboard requires beyond the schema. The leaderboard generator refuses any row it cannot re-run and lists the three existing submissions as provisional with the reasons.
  • Serving: a served policy's time-out or 5xx ends the episodes in flight (PolicyError, EpisodeResult.policy_error), not the run, with --max-policy-errors; usage deltas on /act; bearer token (--token / ROBOVERSE_BENCH_TOKEN, constant-time compare); below the privileged tier the policy gets an opaque instance handle, not the pool index; the LLM agent sends turns back verbatim and records its model id and transcripts.
  • CLI: INFO logging by default (one episode prints 17 lines, not 338), one-line errors with suggestions, --sim checked at the parser, bench submit, bench validate --suite --json, bench summarize --json, bench matrix [--suite] --json, --checkpoint-url recorded with the hash.
  • Release engineering: requirements/bench-cpu.lock.txt (tools/release/lock.sh, a lock CI job), digest-pinned eval image with OCI labels built from the lock, release.yml refuses a tag until the [Unreleased] CHANGELOG sections are folded, PyPI publish gated by the PYPI_PUBLISH variable, every action SHA-pinned, read-only default token, Python 3.12 in the matrix, hosted MuJoCo nightly lane inside the eval image that opens an issue on a red night, CITATION.cff.
  • Assets: a suite freezes the bytes it is scored on (roboverse_pack/suites/manifests/tabletop-mujoco.json, 73 files with sha256 and the Hub revision, tools/assets/freeze_suite_manifest.py --check); bench suite run pins Hub downloads to it and exits 1 when the loaded bytes differ; every result records provenance.hub and notes.demo_file.
  • Verifier: tools/bench/verify_submission.py rebuilds a submission's bench suite run from its files, re-runs it, compares per-task rates within a tolerance and writes VERIFIED.json next to it; the weekly verify-submissions workflow runs it inside the eval image (PR step gated by VERIFY_OPEN_PR).
  • Docs: the landing page leads with the ten-minute evaluate page, a canonical benchmark page and the leaderboard; the invented suites are gone; a policy-server protocol page gives the observation and action contract per tier.
  • Second review (/code-review high on the fix commits): ten findings, all fixed in 4a1ea54 (lock gate drift, checkpoint_url never written, demo-file resolution and freezer enumeration, names refused before the first episode, policy-error threshold, token compare, bench submit collisions, Hub pin per repository).

Verification: MetaSim general suite 966 passed; pytest tests/ 1542 passed; pre-commit clean; tools/release/lock.sh --check, freeze_suite_manifest.py --check and leaderboard.py --check current; Sphinx builds; a one-episode bench suite run on MuJoCo pinned to the Hub revision produced hashes matching the manifest.

Before tagging: fold both [Unreleased] sections (release.yml refuses otherwise), re-run the three provisional submissions from the release image, re-record pick_cube demo instance 0 on the Hub.


Original description of #894

Phase 0 and the CI half of Phase 1 of the plan, stacked on #893.

  • Security: SECURITY.md (GitHub private reporting, acknowledgement in 3 working days, coordinated disclosure within 90 days, supported versions). Dependency floors raised past the 13 open advisories: torch>=2.6, build setuptools>=78.1.1, the vulnerable setuptools==59.5.0 pin dropped from the robosplatter extra. Private vulnerability reporting, Dependabot security updates and secret scanning must be switched on in the repository settings by an admin (the token cannot).

  • Asset manifest gate: tools/assets/check_manifest.py scans every roboverse_data/... literal in the packs and checks it against the Hub file list; runs in task-contract on every PR with an explicit allow-list (robot template placeholders, the Blender asset root, openarm_wuji until its assets are uploaded, the EmbodiedGen / Kujiale collections that come from their own downloaders). It found 51 dangling references beyond the retired tasks.

  • Task contract in source: tests/test_task_contract_static.py (unique registered names, one registration per class, at most 16 registered classes per module so variants are parameters not generated classes, a class-level scenario or a pack base, traj_filepath under roboverse_data/).

  • Nightly gate: .github/workflows/nightly-gate.yml + tools/gate/nightly.sh run bench health --floor --repeat 2 over every registered task on MuJoCo and Isaac Sim 6 on a self-hosted runner labelled self-hosted, gpu, roboverse (to be registered on the 8-GPU box), publishing the health table as the job summary.

  • Dead robots and paths: 15 robot configs whose asset files exist neither on the Hub nor locally are retired and listed in RETIRED_TASKS.md (agibot_a2, allegrohand, ant, anymal, brainco hands, cartpole, go2, inspire hands, kinova_gen3, psihand, walker, g1_feet); dead mjx_mjcf_paths and dead alternate asset paths on kept tasks removed; the unregistered class bodies left by chore(tasks): curate the registry to the tasks that pass the release gate (3083 → 62 classes, recovery list included) #893 in mixed files removed; docs/.../robots.md is now generated from the configs (the hand-written table listed robots that had no config).

  • Demo recorder (plan 2.3): python -m metasim bench record drives a task with any policy (the scripted skills by default) and writes the {robot: [demos]} file the gate replays; bench run / bench health --demos PATH evaluate against a recorded set before it replaces the published one. Proof: the five tabletop tasks recorded with 20 scripted episodes each replay at 1.0 under the gate (hold floor 0, identical repeats). This removes the "no demos" failure class for new tabletop tasks.

  • Results registry and leaderboard (plan 2.1): results/<suite>/<date>-<name>/*.json is the only source of numbers; tools/bench/leaderboard.py renders docs/.../benchmark/leaderboard.md and --check fails CI when the page is stale. Submissions so far: the PoC matrix (replay 0.96, scripted 0.90, LLM agent 0.88 privileged / 0.12 image-only, OpenVLA zero-shot 0.00, hold and random 0), the Isaac Sim 6 twin (replay 0.98, the same scripted skills 0.74 macro with pick/push/stack at 1.0 and pull 0.7, no change to the skills), and the first learned row: a diffusion policy (ddpm_dit, 100 epochs per task on scripted demos recorded with bench record: 100 for pick/push/stack, 64 pull, 48 peg) under the visual tier, 20 episodes per task: push 1.00, pull 0.90, pick 0.75, peg 0.70 (83 demos from the corrected start, scored from the corrected instances; 0.55 on the shipped start, 0.00 when the corrected policy meets the shipped start), stack 0.20, macro 0.71. bench matrix keeps engines apart (@isaacsim rows).

  • Engine isolation: bench suite run --isolate auto|always|never runs each task in a child process on backends that end the process in close() (Isaac Sim); bench run and suite run save results before closing the simulator (Isaac lost every result before).

  • Robot self-check (plan 3.1): python -m metasim robot check <name> [--sim isaacsim]: config (limits and defaults for every actuator), assets (exist locally or on the Hub), kinematics (MJCF loads, end-effector found, finite FK) and hold (200 steps at the default pose, joints within 0.05 rad, fixed base within 1 cm). Franka, YAM and the Sharpa hand pass on MuJoCo; Franka passes on Isaac Sim 6; YAM's missing USD is a named failure, not a skip.

  • Start pages: docs/source/start/{evaluate_a_policy,add_a_task,add_a_robot}.md, README positioning ("What RoboVerse is (1.0)"), CONTRIBUTING "The gate is the review"; the SimplerEnv integration page says the package was retired and how it comes back.

  • IL stack repairs: lr_scheduler imports, ILPolicy takes action_type/obs_type/device so the bench adapter runs joint-position policies on the GPU; the il camera preset equals the collector's camera0.

  • Initial states must be physical (bench health status invalid, metasim.bench.validate_instances): a demo whose initial state puts a robot joint outside its limits fails the gate, and bench record refuses to record from it. Found by the IL baseline: the shipped lift_peg_upright demos start the Franka fingers at 1.0 in a 0 to 0.04 range; the gate replayed them as is at 1.0 while the IL collector, which settles the scene after reset, failed 60 of 108 of the very same demos. From a corrected start the scripted plan scores 0.70 (not 0.90) and both pipelines agree. The corrected demo file needs an upload to the Hub (a user-side step).

  • Review fixes (from /code-review on this branch): the isolated bench health child now receives --demos, --floor and --repeat (the Isaac gate could never report unreliable/flaky); a custom access tier is written under logs/ and no longer breaks bench summarize and the leaderboard check; bench record keeps the policy provenance (spec, checkpoint, sha256), refuses non-joint-target action spaces and reads the handler state once per step; robot check names the asset field per backend, exits 1 on failure even on Isaac Sim and drops its unused --device; the nightly gate uploads its report when it fails; a dangling __all__ entry and the BeyondMimic tracking config/docs now match the retirements.

  • Robot check sweep (all 43 configs on MuJoCo): 17 pass. robot check gained a limits row (config limits vs the MJCF ranges), fetches the asset folder, judges tool kinematics only for arms and reports a floating base rather than judging it. Fixed from the sweep: so_arm100, koch_1, ur5e, ur10e, lite6 and arx_l5 named a tool body (tool0) their MJCF does not have; so_arm100, koch_1, gen3 and iiwa14 carried another arm's joint limits; three configs were not exported; get_robot(name) now resolves robots whose class is not named after them (koch_1, g1, go1, cartpole). The sweep table and backlog (shadow_hand's MJCF uses a removed option, h1_hand lacks an actuator, placeholder G1 variants, assets missing on the Hub) are in the add-a-robot page.

  • Robot kit (plan 3.1): python -m metasim robot add --mjcf <path> --name <robot> generates the RobotCfg from the MJCF (joints and ranges, the MJCF actuators' servo gains and force ranges, keyframe or --default home pose, gripper joints, the tool body as their common parent, a grasp site as the TCP; equality-coupled joints are passive and mirror their partner), marks every guess TODO, imports the file back and runs the self-check on it. The generated Franka and YAM configs reproduce the hand-written limits, gains and tool bodies. robot check gained an actuators row (an MJCF actuator must be named after its joint or the MuJoCo handler adds a second servo; it names ARX L5's gripper actuator). python -m metasim robot parity <robot> --sims mujoco isaacsim tracks one canned joint trajectory on both engines (50 steps settling, 400 control steps of a phase-shifted sinusoid at a pinned 15 ms control step) and reports max / RMS cross-engine difference, tracking error and lag per joint with a verdict (--save / --load carry a trace between environments). Sweep of every dual-asset robot at 0.63 rad/s (the speed of a tabletop demo): Gen3 0.0004 rad, Z1 0.0011, Franka 0.0043, UR5e 0.028, UR10e 0.036 pass; Franka also passes the full-range probe (1.5 rad/s) within 0.004 rad; H1 is reported not judged (floating base); iiwa14's USD does not build on Isaac Lab 3; so_arm100, lite6, koch_1 have no USD. The sweep's first version started each phase-shifted joint with a step and failed every arm (that is why the trajectory now ramps in); the detour measured that pinning Franka's datasheet effort limits (MJCF clamps +-40 N m, USD 87 / 12 N m, effort_limit_sim unset) changes the MuJoCo dynamics the shipped demos were recorded under (stack_cube replay 0.6, pick_cube 0.8), so the limits stay unpinned and the fact is in FrankaCfg's docstring.

  • Headless MuJoCo, one rule (metasim.sim.gl, after a second /code-review high on these commits): on Linux with no display, nothing asked for and a loadable libEGL / libOSMesa, MUJOCO_GL is set once at the process entry (python -m metasim), by the backend package before mujoco loads, and by the benchmark base, which used to force egl unconditionally. MuJoCo's GLFW default died inside the GL library on the first camera render of a bench health sweep; a first version of this fix asked for EGL on the GitHub runner, which has no libEGL, and failed the import itself.

  • Robot sweep as a command: python -m metasim robot list and robot check --all --out-dir (one table, robots.json / robots.md, exit 1 on any failure); tools/gate/nightly.sh runs it on MuJoCo after the task gate.

  • Generated robot numbers: results/robots/ holds the MuJoCo sweep (robot check --all, 42 robots, 17 pass), the Isaac Sim 6 sweep (--isolate: one child process per robot, cheap checks in the parent; 9 pass: franka, g1_dof12, g1_dof29, gen3, h1, h1_wrist, ur10e, ur5e, z1; three USDs do not build on Isaac Lab 3: g1, go1, iiwa14, "no rigid bodies under the prim") and the parity runs; generate_robot_docs.py renders the newest of each into the Robots page with a --check CI step, so robot numbers in the docs are traceable to a file like the leaderboard's.

  • Generated task inventory: docs/.../tasks/inventory.md is rendered from the task registry (every registered name by pack, the suites, the retired count) with a --check CI step; it replaces three hand-written pages about retired source families and the 42 placeholder per-task pages the Sphinx build generated into no toctree.

  • Second review pass (/code-review high on the new commits): the leaderboard check crashed on the robot result files under results/ (and CI hid it behind the coverage step); the asset-manifest scanner dropped a static roboverse_data/... literal whenever an f-string mentioned the same path (now tested); stale child reports, the handler leak on a failed launch, double MJCF parses, a missing-demo-file refusal in bench record, the nightly artifact and its forced MUJOCO_GL are fixed.

  • Nightly gate dry run (tools/gate/nightly.sh mujoco end to end on this box): 20 registered tasks with demos gated (10 ok, 4 unsupported on MuJoCo, 6 invalid: the shipped peg demos, the libero_90 kitchen drawer demos whose finger starts at -0.034, and RLBench close_box whose finger sits 1.3e-6 above its limit, which was the validator being too strict and is fixed), then the robot sweep. The sweep showed that a robot with no asset for the engine must not count as a failure or both engines stay red forever: the verdict is now FAIL when an applicable row fails (a config defect fails everywhere), else n/a when the robot is not a candidate for the engine, else pass; registry: MuJoCo 17 pass / 21 fail / 4 n/a, Isaac Sim 6 9 / 23 / 10.

  • Install surface: the dead isaacsim211 extra (Isaac Sim 4.5 + torch 2.5.1+cu118, which the Isaac Sim 6 backend cannot run) is removed; the sapien2 extra installs sapien>=2.2,<3 instead of the third-party mani-skill2 package. bench suite run no longer leaves a stale errors.json after a clean re-run.

  • Served-policy conformance (plan 2.4): python -m metasim bench conformance --policy-url <url> [--robot franka] exercises a server of roboverse.bench.remote/1 without a simulator: metadata, reset, act shape and finiteness (action chunks reported with their horizon), partial reset, malformed body (now a 400, not a 500), unknown path; determinism, action box and latency are reported. Anyone can run it against their server before the first episode.

  • CLI end to end: bench access|list|suite list|summarize|matrix|validate|suite report|conformance each have a test that drives main() on fabricated result files (plan 1.5).

Fresh-install acceptance (uv venv + editable install of both packages, MuJoCo extra, cached wheels): install 47 s, first bench run result at 128 s.

Verification: manifest check 139 references, 0 missing; MetaSim general 905 passed; pytest tests/ 3241 passed; pre-commit clean. The tests job passes since the coverage floor was reset to the measured 40% (#893).

2026-11-28 evening (the five decisions)

  • Coverage floor reset to the measured 40% on chore/curate-tasks (chore(tasks): curate the registry to the tasks that pass the release gate (3083 → 62 classes, recovery list included) #893) and rebased here; the tests job passes on both PRs. Merging needs the UI: main's ruleset asks an extra approval for unattributed commits.
  • Asset rules decided from the paths (metasim.utils.asset_check, the asset-management module asked for): each asset field must name a file of its format (usd_path a USD, mjcf_path an MJCF, urdf_path a URDF), checked in the robot check config row and in tests/test_roboverse_robot_cfg_validation.py on every pull request; a USD's sublayers, references and payloads are walked with the pxr the process already has and fetched from the Hub. The two "no rigid bodies under the prim" failures on Isaac Lab 3 were both asset-side: the iiwa14 USD on the Hub is a shell over usd/configuration/*.usd that the single-file fetch never brought (the downloader now fetches a USD's folder, and the Isaac resolver resolves the composition before the stage opens), and the mjlab g1 / go1 / YAM / cartpole configs pointed usd_path at their MJCF (g1 now loads the 29-dof g1 USD on the Hub, same joint names; the others declare none and are n/a). iiwa14 and g1 pass robot check --sim isaacsim. The probe never imports a second pxr into a process that will start Isaac Sim: the first version did, and the kit then failed inside omni.usd.
  • Retired: the five pure passthrough packs (dm_control, gym_robotics, metaworld, myosuite, robosuite with tools/robosuite_integration), which re-registered another library's gym ids and registered no MetaSim task, bridged no data and had no tests or docs page; the rule is in CONTRIBUTING.md (a pack registers tasks the gate runs, or bridges an external benchmark's data or environments into MetaSim formats with tests and a docs page; RoboTwin, LIBERO-plus, ManiSkill and mjlab stay). The last libero_90 task: its demo file stores panda_finger_joint2 in robosuite's sign (-0.034 in a [0, 0.04] joint); with the sign mirrored into range the demos replay at 0.78 over 50 episodes (repeat 2 agrees), under the 0.80 threshold, so it is retired with the restore commit in RETIRED_TASKS.md.
  • Registry: MuJoCo sweep re-run unchanged (17 pass / 21 fail / 4 n/a; 15 of the failures are configs without default_joint_positions or joint_limits, the next bulk fix); Isaac Sim 6 sweep re-run with the fixes (numbers below).
  • Robot configs, second pass (the config row of the sweep): eight configs received the default_joint_positions (h1_hand and google_robot_static also the joint_limits) the handlers had been falling back to silently (the zero pose clamped into the limits, the MJCF defaults where there is an MJCF, the Franka home pose for the Franka variant), h1_simple_hand's placeholder limits became its MJCF ranges, cartpole's slider range became the MJCF's, and five configs whose asset paths point outside the Hub tree (data_isaaclab/..., roboverse_data_release/..., a directory not in the repository, or nothing at all) were retired: aloha, iiwa, ur5e_2f85, h1_2_without_hand, vega.
  • MuJoCo handler: actuators matched by transmission. The handler looked a joint's actuator up by name, so an asset whose servos are named differently (the Shadow-hand convention lh_A_WRJ2 for lh_WRJ2 on h1_hand, gripper for joint7 on ARX L5, slide for slider on the mjlab cartpole) failed at launch, and a config joint such an actuator drove would have received a second, synthesized servo. It now resolves actuator_trnid; the actuator's name is free, two actuators on one joint and tendon- or site-driven actuators are errors with the joint named. Robots whose actuators carried their joint's name resolve to the same actuators (Franka's hold and the five tabletop replays are unchanged: pick 0.8, stack / push / pull 1.0 over 5 episodes, peg invalid as before). The actuators check row and its docs follow. h1_hand builds and passes; arx_l5 builds and shows a real 0.06 rad sag at joint7.
  • Registry after all of it: MuJoCo 19 pass / 8 fail / 10 n/a over 37 configs (was 17 / 21 / 4 over 42 in the morning); Isaac Sim 6 13 pass / 6 fail / 18 n/a (was 9 / 23 / 10): franka_with_gripper_extension and kinova_gen3_robotiq_2f85 hold once their configs carry a default pose; sawyer's USD cannot be turned into an articulation by Isaac Lab 3 (new finding). The eight MuJoCo failures are three assets missing on the Hub, shadow_hand's apirate, cartpole's scene file, aloha_agilex's limits (RoboTwin checkout), arx_l5's and koch_1's hold.

2026-11-29: benchmark infra (after the five decisions)

  • Evidence videos (2f1b188): bench run|health|suite run --video DIR [--video-camera NAME] [--video-episodes N] writes one H.264 mp4 per scored episode from a camera the task renders, exactly as rendered for the policy (the front preset is added to a task without one). Files are numbered by episode index and listed in the result's notes["videos"]; the nightly gate keeps the first replay episode of every task next to its result file. Built on a new keyword-only evaluate(..., on_observation) hook (metasim.bench.video.EpisodeVideoRecorder); API snapshot updated. Verified on MuJoCo EGL: pick_cube 2 episodes (251 / 71 frames = steps + the reset frame), health with --video-episodes 1, the tabletop suite (one folder per split).
  • Command provenance (4f44788): every result records notes["command"], the python -m metasim ... invocation, next to the git commit, asset hashes and backend versions already in the provenance block. The results README promised it; the files did not have it.
  • CLI end to end (4f44788): test_cli_entry_general.py drives the twelve entry points that had no test (bench list|access|summarize|matrix|validate|suite list|suite report|suite run|health|record|conformance|serve, robot list, the sweep table) through main(argv) with fakes. MetaSim general suite 932 passed.
  • H1 family spawns standing (ed058aa): the four H1 configs declare default_position (their MJCF roots the pelvis at the origin, so bare scenarios put the legs 1.1 m below the floor; found while rendering the release preview). New test judges every floating-base robot with an MJCF at its default pose.
  • Evaluation container (2399e3e): docker/eval/Dockerfile (python:3.11-slim, CPU torch, MuJoCo, EGL / OSMesa, entry point python -m metasim) and eval-image.yml, which builds it on PRs that touch it, scores pick_cube inside it with --video, validates the result, and publishes ghcr.io/roboverseorg/roboverse-eval:<version> on a release tag. Verified by the workflow on this PR (no container engine on the dev box).
  • Leaderboard provenance (1707e17, d306aee): each submission block ends with one row per result file (tier, episodes, seed, cap and source, seconds per episode, checkpoint hash, usage counters, recorded command); tests/test_leaderboard_generator.py drives the generator. bench validate now walks a submission directory.
  • The eval-image workflow passed on this PR: the image builds, scores pick_cube inside the container with --video, and the result validates.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG

geng-haoran and others added 30 commits November 29, 2026 06:20
… in CI, nightly gate, dead robot configs retired

- SECURITY.md (private reporting, 90-day coordinated disclosure); torch>=2.6 and
  setuptools>=78.1.1 floors past the open advisories.
- tools/assets/check_manifest.py: every roboverse_data path the packs name must
  exist on the Hub; wired into the task-contract workflow with an explicit
  allow-list (template, blender root, openarm_wuji until uploaded, external
  EmbodiedGen/Kujiale collections).
- tests/test_task_contract_static.py: the task contract in source (unique names,
  one registration per class, no generated variant families, a scenario).
- nightly-gate workflow + tools/gate/nightly.sh for the self-hosted GPU runner.
- 15 robot configs whose assets exist nowhere retired (RETIRED_TASKS.md); dead
  alternate asset paths removed from kept tasks and robots; dead unregistered
  class bodies removed; robots.md generated from the configs.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…a recorded set

bench record drives a task with a policy (the scripted skills by default)
through the evaluator and writes the {robot: [demos]} file the task bases load
and the gate replays. bench run / bench health --demos PATH point the instance
pool at another file, so a recorded set is gated before it is published.
Recorded today: the five tabletop tasks, 20 scripted episodes each, every set
replaying at 1.0 with the hold floor at 0 and identical repeats.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…ools floors

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…exist only on this machine

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
… il camera preset

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
… imports fixed for current diffusers

results/<suite>/<submission>/ holds validated result files; tools/bench/leaderboard.py
renders docs/.../leaderboard.md from them (methods x tiers, per-submission tables
with provenance) and CI fails when the page is stale. First submission: the
2026-11-27 proof of concept. roboverse_learn/il/utils/lr_scheduler.py imported
Optional / Union / Optimizer through diffusers.optimization, which current
diffusers no longer re-exports.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…process in close); IL adapter states its spaces; README positioning

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…ter (Isaac Sim suites)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
… row (diffusion policy on pick_cube, visual tier 0.75)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…cs and hold self-check before a task is built on a robot

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…d how it comes back

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…(Isaac ends the process in close)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…tasks, visual tier, macro 0.68)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…ew fixes for the isolated health child, the recorder and robot check

bench health gains the status invalid (metasim.bench.validate_instances): an initial state that puts a robot
joint outside its limits fails the gate, and bench record refuses to record from one. The shipped
lift_peg_upright demos start the fingers at 1.0 in a 0 to 0.04 range; the gate replayed them as is (1.0)
while the IL collector settled them first (0.45 on the same demos).

Review fixes: the isolated health child receives --demos/--floor/--repeat; a custom access tier is written
under logs/, not next to the result files; bench record keeps the policy provenance, refuses non-joint-target
action spaces and reads the handler state once per step; robot check names the asset field per backend, exits
1 on failure even on Isaac Sim and drops the unused --device; nightly gate uploads its report on failure;
embodiedgen __all__ and the BeyondMimic tracking config/docs say what was retired.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…l tool body, four carry their MJCF's limits, the registry resolves robots by name

python -m metasim robot check gains a limits row (config joint_limits vs the MJCF ranges), fetches the asset folder
from the Hub, judges tool kinematics only for arms and reports a floating base instead of judging it. The sweep on
MuJoCo: 17 of 43 pass. so_arm100, koch_1, ur5e, ur10e, lite6 and arx_l5 named a tool body (tool0) their MJCF does
not have; so_arm100, koch_1, gen3 and iiwa14 carried another arm's joint limits (so_arm100's wrist default was 0.7
rad outside the reachable range); the ARX L5 gripper actuator is keyed by its joint. AlohaAgilexCfg, ArxL5Cfg and
Z1Cfg were not exported from roboverse_pack.robots; get_robot(name) now also resolves a config whose class is not
named after the robot (KochCfg for koch_1, MjlabG1Cfg for g1). The sweep table and backlog are in the add-a-robot
page.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
… start (0.70); results record a --demos override

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…F, `robot parity` tracks one trajectory on MuJoCo and Isaac Sim, `bench conformance` checks a policy server

`python -m metasim robot add --mjcf <path> --name <robot>` reads joints, ranges, the MJCF actuators' servo
gains and force ranges, the home keyframe (or --default), gripper joints, the tool body and a grasp site,
writes the config with every guess marked TODO, imports it back and runs the self-check. The generated
Franka and YAM configs reproduce the hand-written limits, gains and tool bodies.

`robot check` gains an `actuators` row: an MJCF actuator must be named after its joint (the MuJoCo handler
adds a second servo otherwise; ARX L5's `gripper` actuator is the case), and every config joint must exist.

`python -m metasim robot parity <robot> --sims mujoco isaacsim` tracks one canned joint trajectory on both
engines (50 steps settling, 400 steps of a phase-shifted sinusoid, 15 ms control step pinned) and reports
max / RMS difference, tracking error and lag per joint; --save/--load carry a trace between environments.
Sweep at 0.63 rad/s: Franka 0.038 rad, UR5e 0.024, UR10e 0.026 pass; Z1 and Gen3 fail on MuJoCo-side
wrist gains; H1 reported not judged; iiwa14's USD does not build. At 1.5 rad/s every arm fails because the
gains saturate torque limits that differ between engines (Franka: MJCF +-40 N m vs USD 87 / 12 N m, no
effort_limit_sim). Pinning the datasheet limits drops the MuJoCo replay baseline (stack_cube 0.6), so it
stays unpinned and documented in FrankaCfg.

`python -m metasim bench conformance --policy-url <url>` exercises roboverse.bench.remote/1 without a
simulator (metadata, reset, act shape, chunks, partial reset, malformed body -> 400, unknown path;
determinism, action box and latency reported). Every bench CLI entry now has an end-to-end test.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…step; headless MuJoCo defaults to EGL

The first parity sweep failed every arm because each phase-shifted joint began with a step from its default
to the first sample: the step saturated the servos (Franka drifted 0.17 rad between engines, Z1's 30 N m
wrist lagged half a second on MuJoCo, Gen3's unlimited wrist swung a radian). With the amplitude ramped in
over the first period every fixed-base arm agrees across MuJoCo and Isaac Sim 6: Gen3 0.0004 rad, Z1
0.0011, Franka 0.0043 (0.0034 at the full-range 1.5 rad/s probe), UR5e 0.028, UR10e 0.036. The docs, the
Franka docstring and the changelog now tell that story instead of the saturated-gains one; `--amplitude-max`
is forwarded by the CLI (it was parsed and ignored).

`metasim.sim.mujoco` sets MUJOCO_GL=egl before `mujoco` is imported when no display is present and nothing was
asked for: MuJoCo's GLFW default died inside the GL library on the first camera render of a `bench health`
sweep (the depth task), taking the process with it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…end-to-end tests for `suite run` and `record`

The new tests drive both entries through main() with a fake env, policy and evaluator: one result file per
task with the suite note, errors.json and exit 1 when a task cannot be built, the recorder's provenance and
summary line. The first run of the suite test found that a clean re-run into the same directory kept the
previous run's errors.json.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…nstalled

Asking for EGL on a machine without libEGL (the GitHub runner) fails `import mujoco` itself. The package now
probes for libEGL, then OSMesa, and leaves MuJoCo's default alone when neither exists.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…stalls SAPIEN, not ManiSkill2

`isaacsim211` pinned Isaac Sim 4.5 with torch 2.5.1+cu118 while the backend targets Isaac Sim 6 / Isaac Lab 3
(`_versions.py`, `doctor`), so it installed a version the handler cannot run. `sapien2` pulled SAPIEN 2 in as a
side effect of `mani-skill2==0.5.3`; it now installs `sapien>=2.2,<3`, the range `doctor` checks.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…ightly gate publishes; one rule for the headless MuJoCo backend

`metasim.utils.setup_util.list_robots` walks every submodule of the robot packages (an unexported class is
listed too); `robot check --all --out-dir` prints one table, writes robots.json / robots.md, keeps going past a
robot that cannot be resolved and exits 1 when any fails. `tools/gate/nightly.sh` runs it on MuJoCo after the
task gate and the workflow appends the table to the job summary.

Review fixes (/code-review high on the previous commits): the headless GL decision moves to `metasim.sim.gl`
and is taken once at the process entry (`python -m metasim`), by the MuJoCo backend package before `mujoco`
loads, and by the benchmark task base, which used to force MUJOCO_GL=egl unconditionally; Linux only; the
library is probed with ctypes.CDLL, not find_library; the subprocess-heavy tests become one pure-rule unit
test plus one smoke test; the parity CLI test asserts the forwarded kwargs instead of reading source; the
trajectory ramp is computed once.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…/robots/ holds the sweep and parity runs

`results/robots/2026-11-28-mujoco-check/robots.json` (robot check --all: 42 robots, 17 pass) and
`results/robots/2026-11-28-parity-mujoco-isaacsim/*.json` (seven robots plus Franka's full-range probe) are
the first entries. `generate_robot_docs.py` renders the newest sweep per simulator and the newest parity run
per engine pair into robots.md, with `--check` in the tests workflow next to the leaderboard check, and a test
that the committed page matches. The add-a-robot page keeps the narrative and points at the generated tables.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…n Isaac Sim; the nightly sweeps both engines

Isaac Sim boots Kit once per process and may end the process in close(), so a sweep cannot share one
interpreter. The parent runs the cheap rows (config, assets, kinematics, limits, actuators) and spawns a child
for the simulator check only when they pass: a robot without a USD is a named failure in milliseconds, not a
Kit boot. A child that dies without a report is a failed hold row with its exit code and last log line.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…ng them after the fact)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…s robots.json, not from stdout

Isaac Sim's log is full of bracketed lines, so slicing stdout from the first '[' never parsed; the first Isaac
sweep reported every booted robot as 'child exited 0 without a report' although each child had passed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…anifest keeps static literals, child reports cannot go stale

From /code-review high on the branch: `tools/bench/leaderboard.py --check` crashed on the robot result files
(not benchmark results) and CI hid it because the step runs after the coverage step; it now skips
`results/robots/`. `tools/assets/check_manifest.py` dropped a static `roboverse_data/...` literal whenever the
same path also appeared in an f-string (ast.walk visits f-string parts twice; docstrings are prose) and had
a wrong return annotation; two tests pin the scanner. `robot check --all --isolate` removes a stale child
report before the child runs, cleans its hand-off directory, and reports the child's last *error* line, not
Isaac Sim's shutdown line. `check_hold` registers the handler before launch so a failed launch is still
closed; the two MJCF checks share one parse. `instance_pool` treats a demo file nobody recorded yet as "no
recorded instances" (bench record for a new task), still an error for a file without the robot's entry.
The nightly gate uploads the whole gate directory and lets `metasim.sim.gl` choose the GL backend. The
docs-split test's fake Sphinx is a regular package so a real Sphinx in site-packages cannot shadow it.
Retired configs are removed from the robot-config allowlist.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
geng-haoran and others added 27 commits November 29, 2026 06:20
…lder and composition; iiwa14 and mjlab g1 build on Isaac Sim 6

metasim.utils.asset_check: check_asset_fields requires each asset field to name a
file of its format (usd_path a USD, mjcf_path an MJCF, urdf_path a URDF); the
robot check applies it in the config row and tests/test_roboverse_robot_cfg_validation
on every pull request. usd_dependencies / fetch_usd_dependencies walk a USD's
sublayers, references and payloads with the pxr the process already has and fetch
what the Hub still owes; the probe never imports a second pxr into a process that
will start Isaac Sim (the kit's launch then fails inside omni.usd).

check_and_download_single fetches a USD's folder instead of the one file (the iiwa14
USD on the Hub is a shell over usd/configuration/*.usd) and resolves the composition
once a USD backend is up; resolve_isaacsim_file_path does the same before the stage
opens. The mjlab g1, go1, YAM and cartpole configs pointed usd_path and urdf_path at
their MJCF, which Isaac Sim spawned as an empty prim: g1 now loads the 29-dof g1
USD/URDF on the Hub (same joint names), the others declare neither (n/a).

Verified: robot check iiwa14 and g1 --sim isaacsim pass (venv_isaac6); MuJoCo
sweep re-run unchanged at 17 pass / 21 fail / 4 n/a; metasim general subset and
tests/ subset pass; pre-commit clean.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…ero_90 task

dm_control, gym_robotics, metaworld, myosuite and robosuite re-registered another
library's gym ids under a RoboVerse prefix, registered no MetaSim task, bridged no
data and had no tests or docs page; they go with tools/robosuite_integration. The
rule they fail is now in CONTRIBUTING.md: a pack registers tasks the gate runs, or
bridges an external benchmark's data or environments into MetaSim formats with tests
and a docs page (RoboTwin, LIBERO-plus, ManiSkill and mjlab stay).

libero_90.kitchen_scene4_close_the_bottom_drawer_of_the_cabinet: its demo file
stores panda_finger_joint2 in robosuite's sign (-0.034 in a [0, 0.04] joint), which
the gate now rejects as invalid; with the sign mirrored into range the demos replay
at 0.78 over 50 episodes (repeat 2 agrees), under the 0.80 threshold. The pack and
its BDDL goal predicates are retired together; RETIRED_TASKS.md and the csv record
the restore commit. The task inventory page is regenerated.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…ass, 20 fail, 11 n/a

iiwa14 and the mjlab g1 pass (USD folder fetched, real g1 USD); go1 is n/a (no USD
on the Hub). The Robots page is regenerated from the file.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…e five configs whose assets are nowhere; decouple the LIBERO replay tool

The robot sweep's config row failed 15 configs. Eight now carry what the handlers
had been falling back to silently: default_joint_positions for fetch, sawyer,
unitree_dex3_1_left, kinova_gen3_robotiq_2f85, h1_simple_hand and h1_hand (the
zero pose clamped into the limits, the MJCF defaults where there is an MJCF, the
Franka home pose for franka_with_gripper_extension), joint_limits for h1_hand's 48
Shadow-hand joints (its MJCF) and for google_robot_static (its URDF); h1_simple_hand's
placeholder limits (+-6, +-1) are its MJCF ranges and cartpole's slider range the
MJCF's +-1.8. Five configs declare assets that exist nowhere a fetch can reach
(data_isaaclab/..., roboverse_data_release/..., a directory not in the repository,
or no path at all): aloha, iiwa, ur5e_2f85, h1_2_without_hand, vega are retired
with the restore commit in RETIRED_TASKS.md (second batch); their test allowlists
go with them. The stale libero_90 row leaves THIRD_PARTY_NOTICES.md, and the
LIBERO replay tool defines the groundless handler it used to import from the
retired robosuite pack.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…ion, not by name

The MuJoCo handler looked a joint's actuator up by name, so an MJCF whose servos
are named differently (the Shadow-hand convention lh_A_WRJ2 for lh_WRJ2 on h1_hand,
gripper for joint7 on ARX L5, slide for slider on the mjlab cartpole) failed at
launch, and a config joint such an actuator drove would have received a second,
synthesized servo. One resolver, _actuator_by_joint(), reads actuator_trnid and
feeds the gain override, the state writer, the passive-joint list and the per-joint
actuator ids; the synthesis skips joints the asset already drives. Two actuators
on one joint and a tendon- or site-driven actuator under the robot are errors that
name the joint. The actuators check row judges transmissions and lists differently
named actuators as matched, and the docs follow.

Verified: robots whose actuators already carried their joint's name resolve to the
same actuators (Franka's hold row identical; bench health on the five tabletop tasks
unchanged: pick 0.8, stack / push / pull 1.0, peg invalid as before); h1_hand builds
and passes the sweep, arx_l5 builds and shows its real 0.06 rad sag at joint7;
MetaSim general 909 passed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…ass / 8 fail / 10 n/a, Isaac Sim 6 13 / 6 / 18 (37 configs)

New on Isaac Sim: franka_with_gripper_extension and kinova_gen3_robotiq_2f85 hold
their default pose once their configs carry one; sawyer's USD cannot be turned
into an articulation by Isaac Lab 3 (a new asset finding). On MuJoCo h1_hand passes
with its actuators matched by transmission. The Robots page and the add-a-robot
sweep paragraphs are regenerated and rewritten from the files.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
… code

sawyer's Isaac error carries the regex fragment env_[^/]+, which MyST read as a
footnote reference and a link target; the Sphinx build reported two docutils
errors on the page. Every detail is now rendered as inline code.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…LIBERO tool tidied

From /code-review on the transmission-matching commit: set_states writes a joint
position only into a position servo (a motor's ctrl is a force and was pushed for a
decimation window); a joint driven by two actuators aborts only the robot that owns
it, with the actuator names, not any launch that has such a scene object; a config
joint with no actuator after synthesis raises instead of keeping the asset gains
silently; a tendon-, site- or body-driven actuator is attributed to the robot by what
it drives, so an unnamed one is caught too (the check and the handler agree);
jointinparent counts as a joint transmission. Tests cover each path and the check's
two-drivers and stray branches; usage.md states the new contract.

h1_simple_hand's thumb defaults are the MJCF's zeros, not the generator's open-gripper
guess; kinova_gen3_robotiq_2f85 lists a default for its five passive linkage joints;
the LIBERO replay tool uses ScenarioCfg.add_default_ground=False instead of a handler
subclass.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
… episode

A result file says that a policy succeeded; a leaderboard reviewer, a checker under suspicion or a
freshly recorded demo set needs to see how. `bench run`, `bench health` and `bench suite run` take
`--video DIR [--video-camera NAME] [--video-episodes N]` and write one H.264 mp4 per scored episode from
a camera the task renders, exactly as rendered for the policy (no extra lights, no overlay). A task
whose scenario renders no camera gets the `front` preset for the run. Files are numbered by episode
index and listed in the result's notes["videos"]; the nightly gate keeps the first replay episode of
every task next to its result file.

`metasim.bench.video.EpisodeVideoRecorder` hangs off a new keyword-only `evaluate(..., on_observation)`
hook, called with every observation the policy acts on and {env slot: episode index} for the scoring
slots (a restarted slot is reported once, with its new episode). Additive; the API snapshot is updated.

Verified: MetaSim general suite 918 passed; the root subset for bench / gate / docs 180 passed;
`bench run --video` on pick_cube (2 episodes: 251 and 71 frames = steps + the reset frame),
`bench health --video --video-episodes 1` on push_cube, `bench suite run --video` on tabletop-mujoco
(one folder per split), all on MuJoCo EGL; Sphinx build clean.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
… entry point tested end to end

`notes["command"]` on every result `bench run`, `bench suite run` and `bench health` write: the
`python -m metasim ...` invocation as parsed (also when `main(argv)` is called in-process), next to the git
commit, asset hashes and backend versions the provenance block already carried. The results README promised
this; the files did not have it.

`metasim/test/test_cli_entry_general.py` drives the twelve entry points that had no test through `main(argv)`
with fakes for the simulator, the evaluator, the demo recorder and the policy server: bench list / access /
summarize / matrix / validate / suite list / suite report / suite run (tags, report, errors.json lifecycle) /
health (rows, table, exit code, no-demos filtering) / record / conformance / serve, robot list and the robot
sweep table. A break in the wiring between parser and library now fails the general suite.

Verified: MetaSim general suite 932 passed; pre-commit clean.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…judged at the floor

The four H1 configs (h1, h1_wrist, h1_hand, h1_simple_hand) declare `default_position` (pelvis at 1.14 / 1.20 m):
their MJCF roots the pelvis at the origin, so a bare scenario (robot check, a gallery render, a first run on the
robot) put the legs 1.1 to 1.2 m below the floor. Found while rendering the release preview. Tasks were unaffected
(their initial states carry the root pose). Measured after the fix: lowest geom bound +0.011 to +0.014 m.

`tests/test_roboverse_robot_cfg_validation.py::test_floating_base_robot_spawns_on_the_floor` judges every
floating-base robot with an MJCF at its config's default pose (bounding spheres, 15 cm tolerance; a robot whose
MJCF is not on the Hub is skipped and reported). 261 passed in the file.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
… result files out

`docker/eval/Dockerfile` builds `python -m metasim` from the checkout on python:3.11-slim with CPU torch, EGL /
OSMesa for headless rendering and both packages installed (MetaSim first); assets live in the mounted
`roboverse_data`, nothing phones home. `.dockerignore` keeps the context to the two packages and their metadata.

`.github/workflows/eval-image.yml` builds the image on every pull request that touches it, scores the replay
baseline on pick_cube inside it with `--video`, validates the result file, prints the recorded command and
backend versions, uploads the smoke output, and on a release tag publishes
`ghcr.io/roboverseorg/roboverse-eval:<version>` and `:latest` with the workflow's own token.

Documented in the quick start (install section) and the CHANGELOG. The image cannot be built on this machine
(no container engine); the workflow is the verification and runs on this pull request.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…ets a test

Each submission block on the leaderboard page now ends with a provenance table, one row per result file:
tier, episodes, seed, episode cap and its source, checkpoint hash, usage counters (model calls, tokens, tool
calls; timings left out) and the recorded command. A field a run predates shows a dash, never a guess. This is
what plan item 2.5 asked of every row; the page is regenerated from the committed results (160 rows).

`tests/test_leaderboard_generator.py` drives `tools/bench/leaderboard.py` on a temporary results tree: the
layout rule (results/<suite>/<submission>/**/*.json; results/robots/ ignored), a file that fails the schema
fails the build, the provenance rows, `--check` on a stale and a fresh page, and the committed page against
the committed results (the CI step, run in the suite too).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
… walks a submission directory

The provenance table gains `s / episode`, the run's wall clock over its episodes (simulation and policy time
together, on whatever machine ran it): the number a team budgets an evaluation with, read off the committed
results instead of a hand-written throughput table. Page regenerated.

`bench validate` accepts directories: every `*.json` under one (the suite / errors / health reports aside) is
checked, so a submission directory under results/ is validated with one argument; an empty directory fails.

Verified: leaderboard generator tests 4 passed, `--check` clean; CLI entry tests 14 passed; pre-commit clean.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…nd; validate a submission directory

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
… equals, and the leaderboard refuses what it cannot reproduce

Trust layer of the benchmark infrastructure, after the infra review.

Result schema: `validate_result` parses the protocol, matches the episode count, indices and explicit
instances, type-checks every field, requires finite numbers, a sha256 behind every named checkpoint and an
embedded summary that agrees with the episode rows; `require_provenance` is the submission gate. Strict JSON
on save; non-finite rewards leave return_sum null and are counted. Names are restricted and every rendered
cell is escaped (the generated page took raw policy names).

Protocol revision 2: episode i always runs pool[i % n]; the seed cannot choose instances. A protocol without
the field reads as revision 1 and never pools with revision 2. hold_steps outside the held rule is refused.

Comparability: result_key / summarize / matrix include num_envs (per-batch seeding), the instance-pool
fingerprint and the revision, and pool by policy identity (name + weights), so two checkpoints under one
name are two rows and a mixed cell says so instead of summing. matrix judges partial coverage against the
suite's task list.

Evaluator: the access tier's wall_time_s is judged on policy time (reset + act), recorded per episode as
policy_time_s; an explicit cap above the task's is clipped and reported; a task whose demo file cannot be
read is refused unless recording; notes carry the pool hash, the seeding mode and what the tier enforces.
ReplayPolicy refuses instances without actions; checkpoint_sha256 refuses a missing file.

Leaderboard: `metasim.bench.submission_problems` and `bench validate --suite` hold a row to the suite's
protocol and backend, a clean commit, the recorded command, the pool hash and the policy's weights. The
generator applies it, fails the build on misfiled, duplicated or unmarked unreproducible files, renders
provisional submissions apart with their reasons, lists every commit per submission and the nightly
VERIFIED.json. The three existing submissions are marked provisional, with the reasons stated.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…age and auth on the wire; no instance identity below privileged

Serving layer of the benchmark infrastructure, after the infra review.

PolicyError: a time-out, 5xx, lost connection or malformed reply from a policy server (or an adapter's crash)
ends the episodes in flight as time-outs with policy_error recorded and the run goes on; after
--max-policy-errors consecutive failures it aborts. bench run / suite run expose --policy-timeout and
--policy-retries, which were fixed at 180 s / 3 before, and forward them to isolated children.

Wire protocol, advertised as `features` in /metadata: /act replies may carry usage deltas, summed by
RemotePolicy.usage() so the agent tiers work with a served policy (recorded as self-reported); a bearer token
on both sides (--token / ROBOVERSE_BENCH_TOKEN), 401 without it, and a warning when serving beyond localhost
unprotected. A policy's metadata dict (model id, weights revision) reaches the result's policy record.

Below the privileged tier a policy gets an opaque per-run handle instead of the pool index, seed and state
hash: the pool is the public demo file, so the index was a lookup key for the hidden initial state.

Agent baseline: assistant turns go back verbatim with one tool per turn instead of being rewritten (the
Messages API rejects stripped thinking blocks), the model id and budget are recorded, transcripts are written
next to the result; both skills baselines resolve the robot from the context so they can be served, the shared
module-level arm registry is gone, plan lookup is exact. --demos records the file's hash, not a bare path.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…sim checked at the parser

Command-line layer of the benchmark infrastructure, after the infra review.

An unknown task names the closest registered names instead of dumping 108 of them with a literal "\n"; an
unbuildable policy, an unreachable or mismatched policy server, a missing --checkpoint, an unknown suite and a
protocol the task cannot run under exit 1 with the reason instead of a traceback; --sim is a choice at the
parser so a typo fails before the demo download. The default log level is INFO (-v or LOGURU_LEVEL for more;
the per-step checker log is TRACE), so one episode prints its episode and score lines, not 338 lines. run /
record / health / suite run show their defaults in --help; bench run says when it scores the hold baseline for
lack of --policy; a low health row says which episodes failed and where the result is; doctor explains its
statuses. A content pack shadowing MetaSim's built-in example pack is a debug line, not a warning, and the
registry no longer reports a wandb import failure for the beyondmimic tracking task.

`bench submit` assembles results/<suite>/<date>-<name>/ from a suite run's output, runs the checks the page
build runs, writes PROVISIONAL.md on request and prints the tables the page will show with the next step.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
… guarded tag path, SHA-pinned actions and a gate that reports

Release engineering, after the infra review.

requirements/bench-cpu.lock.txt (tools/release/lock.sh, drift-checked by the new `lock` job) resolves the
benchmark environment with the engine versions pinned to the `tested` ones; the evaluation image installs
from it on a digest-pinned base, adds the two packages --no-deps, labels itself with version, commit, result
schema and wire protocol, ships its pip freeze, publishes with the digest in the summary and moves `latest`
for final releases only.

release.yml: the CHANGELOGs must name the version and leave nothing under [Unreleased]
(tools/release/changelog_check.py, which the dry run also uses so main stays taggable, and which writes the
notes); PyPI publishing is gated on the PYPI_PUBLISH variable instead of failing on a missing environment;
the GitHub Release follows a successful or deliberately skipped PyPI upload, never a failed one; pre-release
by PEP 440 segment. Every action is referenced by commit SHA with the version in a comment; every workflow
runs read-only unless a step needs more; `develop` is gone from the triggers; docs deploy after a green
Tests run and per release tag; Python 3.12 joins the matrix.

The nightly gate's MuJoCo lane runs hosted inside the evaluation image; the Isaac lane fails fast when its
interpreter is missing; a red night opens or updates a tracking issue with the health table; README badges.
backend-compat creates its label, survives collection errors and uploads the version report. CITATION.cff;
RELEASING.md describes the ruleset, the required checks and the variables the pipeline reads; SECURITY.md
names the bearer token.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
… server contract; the real install and submission path

Documentation layer, after the infra review.

The landing page's first cards are "Evaluate a policy in ten minutes", "Benchmark" and "Leaderboard".
dataset_benchmark/index.md lists the registered suite from `bench suite list` instead of three invented ones;
benchmark/overview.md is the canonical page: instances, success rules, tiers (enforced vs recorded), what a
result file guarantees, the baselines, how a row enters, the engines a number stands on. The new
remote_protocol.md is the observation and action contract a served policy implements, per tier, with the
routes, usage, auth and failure semantics. The ten-minute page has the real install (Python range, clone, CPU
torch, run from the repository root, the asset download, ROBOVERSE_DATA_DIR and MUJOCO_GL), ten episodes for
the first command, the metadata a policy declares, and the six-step submission with `bench submit`. The usage
page names every health status and points its stale replay and matrix copies at the generated leaderboard;
results.md too. The MetaSim README (the PyPI page) describes the monorepo install and the engines actually
verified; CONTRIBUTING installs pre-commit with pip and links the guides; the README shows the first command.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…s are pinnable and recorded

Asset layer of the benchmark infrastructure, after the infra review.

metasim.utils.hf_util gains one pinnable Hub revision (set_hub_revision / ROBOVERSE_HUB_REVISION) that every
download (files, folders, companions) comes from, and every result records it (provenance.hub). A result also
records the demo file its instances came from (notes.demo_file: path, sha256, size).

BenchmarkSuite.manifest carries a suite's frozen asset manifest: every file its tasks load with sha256 and size,
plus the Hub revision. `bench suite run` pins downloads to it and exits 1 when the loaded assets or demo file
differ (--allow-unpinned-assets for a local experiment; the result then carries notes.asset_check), and
manifest_problems / submission_problems refuse such a result for the leaderboard. tabletop-mujoco's manifest is
frozen (73 files: the Franka MJCF with its meshes, one demo file per task, Hub revision fab63cca) by
tools/assets/freeze_suite_manifest.py, which also checks the local files against it; tests/test_suites.py
re-checks them where the assets exist. Verified end to end with a one-episode suite run on MuJoCo: the
provenance carries the pinned revision, the demo hashes match, and `bench validate --suite` flags only the
dirty working tree.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
22 additions (PolicyError, submission_problems, manifest_problems, policy_identity, escape_cell,
summarize_episodes, pool_fingerprint, PROTOCOL_REVISION, the new EpisodeResult fields and keyword
arguments), nothing removed or changed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…inst a suite's task list

The Markdown tables of `bench summarize` and `bench matrix` are now views over
`summarize_rows` and `matrix_cells`, which the CLI writes with `--json` so a
nightly job or a plotting script reads the same numbers the page shows. `bench
matrix --suite NAME` marks partial macros against the suite's full task list,
not only the tasks that happen to appear in the files.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…ds VERIFIED.json

The leaderboard page promised a record written by "the nightly runner" that
nothing produced. tools/bench/verify_submission.py rebuilds, from the result
files alone, the `bench suite run` that made each group of a submission (one
policy, one tier, one seed), runs it, compares the pooled per-task success
rates within a tolerance and writes the outcome next to the submission
(reproduced / partial / failed, who, when, at which commit and image, the
largest delta). A served policy is skipped with the command that would verify
it; --policy-url re-runs it against a server. The weekly verify-submissions
workflow runs it inside the evaluation image and uploads the records, opening a
pull request with them when VERIFY_OPEN_PR is set (RELEASING §6).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
- the lock gate starts from the committed lock, so it is red only when the
  inputs changed, not when a transitive dependency publishes a release
- `--checkpoint-url` on bench run / suite run / serve: the leaderboard required
  policy.checkpoint_url for a learned policy and nothing wrote it
- the demo file a result records and the manifest freezer resolve a demo
  directory by the loader's own rule, not only `<robot>_v2.pkl.gz`; the
  freezer hashes the launched handler's robots, objects and scene through the
  same enumeration the provenance uses
- a task, robot or policy name the result file could not carry is refused
  before the first episode, not on load after the run
- the Nth consecutive policy failure aborts the run, as the help text says
- the policy server compares its bearer token in constant time
- `bench submit` keeps two output directories that share file names under
  `<directory>__<file>`, decides every destination before copying, and never
  replaces a file with other contents
- a pinned Hub revision applies to the repository it is a commit of; the
  mirrors are read at their default branch (the manifest hashes still catch a
  differing file)
- the matrix's two code paths for a mixed cell were already folded into
  matrix_cells in the previous commit

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
The `lock` job runs the script directly; it was committed without the
execute bit and failed with "Permission denied" on the first CI run of #895.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
The `lock` job on #895 failed on a diff that consisted only of the
"packages were excluded from the output" note, which the uv release on the
runner does not emit and the one that wrote the lock does. The gate now strips
comment and blank lines on both sides before diffing.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
@geng-haoran
geng-haoran enabled auto-merge (squash) November 29, 2026 21:50
@geng-haoran
geng-haoran merged commit 6f20dd6 into main Nov 29, 2026
14 of 16 checks passed
@geng-haoran
geng-haoran deleted the feat/infra-gates-main branch November 29, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant