Evaluate a policy in ten minutes#
RoboVerse is an evaluation entry: one evaluator, one result schema, explicit information-access tiers, and a suite whose every task passed the release gate. This page takes a policy from nothing to a scored result file and a leaderboard submission.
1. Install#
Python 3.10 to 3.12 on Linux or macOS. Everything below is run from the repository root: asset paths
are roboverse_data/... relative to the working directory, and the first run of a task downloads its assets
and demos from the Hugging Face Hub into that directory (about 40 MB for pick_cube). Set
ROBOVERSE_DATA_DIR to share one download store between checkouts.
git clone https://github.com/RoboVerseOrg/RoboVerse.git && cd RoboVerse
python -m pip install torch torchvision --index-url https://download.pytorch.org/whl/cpu # CPU torch is enough for MuJoCo
python -m pip install -e "packages/metasim[mujoco]" -e ".[mujoco]" # MetaSim first, then RoboVerse
python -m metasim doctor # installed simulator versions against the supported ranges (a legend follows the table)
python -m metasim bench list # the registered tasks
Headless machines need no set-up: MUJOCO_GL=egl is chosen automatically when a loadable libEGL is present
(osmesa otherwise). Isaac Sim 6 is the second verified engine: tools/install/isaacsim6.sh.
The same thing as a container (MuJoCo on CPU, headless rendering, no telemetry), for a CI job or a machine you do not want to set up. It is built from a locked dependency set on a digest-pinned base, so two builds of one release are the same environment:
docker build -t roboverse-eval -f docker/eval/Dockerfile . # or: docker pull ghcr.io/roboverseorg/roboverse-eval:<release>
docker run --rm -v "$PWD/roboverse_data:/opt/roboverse/roboverse_data" -v "$PWD/out:/out" roboverse-eval \
bench run --task pick_cube --sim mujoco --policy replay --episodes 10 --out /out/pick_cube.json
docker run --rm --network host -v "$PWD/roboverse_data:/opt/roboverse/roboverse_data" -v "$PWD/out:/out" roboverse-eval \
bench suite run --suite tabletop-mujoco --policy-url http://127.0.0.1:8000 --access visual --camera front --out-dir /out
The entry point is python -m metasim, so every command below works unchanged after the image name.
Mount roboverse_data so the downloaded assets survive between runs, and an output directory for the
result files (and --video clips). The image is built and smoke-tested on every pull request that
touches it (.github/workflows/eval-image.yml) and published to GHCR on each release tag.
2. Run the baselines#
python -m metasim bench run --task pick_cube --sim mujoco --policy replay --episodes 10 # the task's own demos: the ceiling
python -m metasim bench run --task pick_cube --sim mujoco --policy hold --episodes 10 # doing nothing: the floor
python -m metasim bench run --task pick_cube --sim mujoco --policy metasim.bench.skills:ScriptedPolicy --episodes 10
Ten episodes, not one: the replay ceiling of pick_cube on MuJoCo is 0.9, and the one demo that does not
replay is instance 0. Each run prints one line per episode and the score with its 95% interval, and writes
bench_results/<task>__<robot>__<sim>__<policy>__<time>.json: every episode’s success, steps, seed and
instance, plus provenance (simulator versions, asset hashes, the git commit, the exact command). bench summarize <files> pools comparable runs into a table with Wilson intervals; bench validate <file> checks a
file against itself. Add --video videos/ to any run to keep one mp4 per episode, from the camera the
policy saw, next to the numbers. -v turns on debug logging.
3. Plug in your policy#
A policy is three things: a name, reset(env_ids, instances, ctx) and act(obs, ctx) returning one
action per env (a (num_envs, action_dim) tensor in the handler’s joint order, or per-env
{robot: {"dof_pos_target": {joint: value}}} dicts). ctx carries the joint names, limits, default
action and instruction; obs is the observation the tier allows. Declare family = "vla" (or il,
rl, agent) and the result records it; a metadata dict (model id, weights revision) is recorded too.
The exact shapes, dtypes, units and frames of obs and of the action are in the
policy server protocol; they are the same in process.
class MyPolicy:
name = "my-policy"
family = "il"
metadata = {"model": "my-org/my-policy", "model_revision": "2026-12-01"}
def reset(self, env_ids, instances, ctx): ...
def act(self, obs, ctx): ...
python -m metasim bench run --task pick_cube --sim mujoco --policy my_pkg.my_module:MyPolicy --checkpoint ckpt.pt \
--checkpoint-url https://huggingface.co/my-org/my-policy/resolve/main/ckpt.pt # where the hashed weights live
A model that lives in another environment (its own torch, its own CUDA) is served instead; the harness never imports it:
python -m metasim bench serve --policy my_pkg.my_module:MyPolicy --checkpoint ckpt.pt --port 8000 # in the model's env
python -m metasim bench conformance --policy-url http://127.0.0.1:8000 --robot franka # before any episode
python -m metasim bench run --task pick_cube --sim mujoco --policy-url http://127.0.0.1:8000
bench conformance exercises the protocol the way the evaluator will, with no simulator: metadata speaks
the protocol, reset accepts the context, act returns finite actions of the right shape (an action chunk is
reported with its horizon), a reset of one env still answers for every env, a malformed body is refused
with a JSON error. It also reports, without judging, whether the policy is deterministic, whether its
actions leave the action box, and the /act latency. A server that times out or answers 5xx during a run
loses the episodes in flight, not the run (--policy-timeout, --max-policy-errors); when the evaluator
runs on another machine, set a token (--token on the server, --policy-token on the client).
4. Say what the policy may see#
Two numbers are comparable only when the policies were given the same information. The tier is part of the protocol and is recorded in every result:
python -m metasim bench access # the presets
python -m metasim bench run --task pick_cube --sim mujoco --policy-url ... --access visual --camera front
visual strips object poses and leaves the camera image and the robot’s own joints; --camera front
adds a preset camera to a task that configures none. The agent-* tiers are for language-model agents
that call tools and record their model calls and tokens.
5. Score a whole suite and compare methods#
python -m metasim bench suite run --suite tabletop-mujoco --policy-url http://127.0.0.1:8000 --access visual --camera front \
--out-dir bench_results/suites/tabletop-mujoco/my-policy
python -m metasim bench matrix bench_results/suites/tabletop-mujoco/ # methods x tiers over every run below
The suite scores task-macro success under one protocol (demo-derived episode caps, seed 0) and refuses to pool results that were run under different tiers, protocols, instance pools or simulators. The leaderboard shows what the rows look like.
6. Submit the result#
A leaderboard row is a bench suite run under one tier, reproducible from its files alone:
python -m metasim bench validate --suite tabletop-mujoco bench_results/suites/tabletop-mujoco/my-policy # what the build checks
python -m metasim bench submit bench_results/suites/tabletop-mujoco/my-policy --suite tabletop-mujoco --name 2026-12-01-my-policy
python tools/bench/leaderboard.py # regenerate the page
git add results/tabletop-mujoco/2026-12-01-my-policy docs/source/dataset_benchmark/benchmark/leaderboard.md
Then open a pull request. bench submit copies the result files into results/<suite>/<date>-<name>/ and
runs the checks the page build runs: the suite’s protocol on the suite’s backend, a clean commit, the
recorded command and instance-pool hash, and the policy’s weights (--checkpoint with --checkpoint-url on
the run, or on bench serve; or model / model_revision in the policy’s metadata). Two output directories
of one policy (two seeds) are both kept, under their directory’s name. A run that cannot meet the checks can
still be listed, apart and unranked, with --provisional "<why>". Videos stay out of the repository; keep them
with your release. A weekly job re-runs every reproducible submission from its files inside the evaluation
image (tools/bench/verify_submission.py) and the page shows the outcome next to each one; a served policy
is re-run only where its server runs, so a submitter can run the same tool against their own server and
commit the record.