Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
a41b85a
chore(infra): security policy, asset manifest and task-contract gates…
geng-haoran Nov 28, 2026
2d45f08
feat(bench): record demos with any policy; --demos evaluates against …
geng-haoran Nov 28, 2026
4180db6
test: the pyproject contract test follows the raised torch and setupt…
geng-haoran Nov 28, 2026
3348dcf
ci: manifest check runs hub-only (what CI sees) and names files that …
geng-haoran Nov 28, 2026
2a775c4
docs: three start pages (evaluate a policy, add a task, add a robot);…
geng-haoran Nov 28, 2026
7d33daa
feat(bench): results registry and generated leaderboard; IL scheduler…
geng-haoran Nov 28, 2026
c5ee82d
fix(bench): save results before the simulator closes (Isaac ends the …
geng-haoran Nov 28, 2026
5dfbd67
docs: CONTRIBUTING says the gate is the review
geng-haoran Nov 28, 2026
ee68df3
feat(bench): suite run --isolate scores each task in a child interpre…
geng-haoran Nov 28, 2026
d57e38e
feat(bench): the matrix keeps engines apart
geng-haoran Nov 28, 2026
4d83121
results: Isaac Sim 6 twin of the tabletop suite and the first learned…
geng-haoran Nov 28, 2026
81e9468
feat(robot): python -m metasim robot check — config, assets, kinemati…
geng-haoran Nov 28, 2026
f7fca5a
docs: the SimplerEnv integration page says the package was retired an…
geng-haoran Nov 28, 2026
83e3e0a
fix(robot): print the self-check report before closing the simulator …
geng-haoran Nov 28, 2026
ddc0a6d
results: the learned row covers the tabletop suite (ddpm_dit on five …
geng-haoran Nov 28, 2026
4f761ea
fix(bench): the gate flags unphysical initial states as invalid; revi…
geng-haoran Nov 28, 2026
3109aa8
fix(robots): robot check sweep of all 43 configs: six arms name a rea…
geng-haoran Nov 28, 2026
d798616
results: the peg learned row is retrained on demos from the corrected…
geng-haoran Nov 28, 2026
5cd40a0
feat(robot): robot kit: `robot add` generates a RobotCfg from the MJC…
geng-haoran Nov 28, 2026
4ea77ad
fix(robot): the parity trajectory ramps in so no joint starts with a …
geng-haoran Nov 28, 2026
64d21d8
fix(bench): `suite run` drops a stale errors.json on a clean re-run; …
geng-haoran Nov 28, 2026
8145a11
fix(mujoco): ask for a headless GL backend only when its library is i…
geng-haoran Nov 28, 2026
1c6b1ad
chore(install): drop the dead isaacsim211 extra; the sapien2 extra in…
geng-haoran Nov 28, 2026
5934d40
feat(robot): `robot list` and `robot check --all` run the sweep the n…
geng-haoran Nov 28, 2026
46a280e
docs(robots): the Robots page renders the robot result files; results…
geng-haoran Nov 28, 2026
1f6ad57
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 28, 2026
2ec0a3f
feat(robot): `robot check --all --isolate` runs one child per robot o…
geng-haoran Nov 28, 2026
ff58459
chore(robot): result files end with a newline (pre-commit.ci was fixi…
geng-haoran Nov 28, 2026
f3518c0
fix(robot): the isolated robot check reads the child's report from it…
geng-haoran Nov 28, 2026
12cb73a
fix(infra): review fixes: the leaderboard skips results/robots, the m…
geng-haoran Nov 28, 2026
b40139e
docs(tasks): the task inventory is generated from the registry; the I…
geng-haoran Nov 28, 2026
c32848b
fix(bench): the invalid gate tolerates float32 round-off at a joint l…
geng-haoran Nov 28, 2026
37fa04c
feat(robot): a robot with no asset for the backend is n/a in the self…
geng-haoran Nov 28, 2026
0e1ce64
results(robots): the MuJoCo robot sweep re-run with the n/a verdicts …
geng-haoran Nov 28, 2026
a59e884
fix(robot): a config defect fails a robot on every backend; n/a only …
geng-haoran Nov 28, 2026
8787789
fix(robot): applicability comes from the assets row alone; isolated c…
geng-haoran Nov 28, 2026
9cd36f0
feat(assets): asset rules decided from the paths; a USD brings its fo…
geng-haoran Nov 28, 2026
220fdeb
chore(tasks): retire the five pure passthrough packs and the last lib…
geng-haoran Nov 28, 2026
faf67e1
results(robots): Isaac Sim 6 sweep re-run after the asset fixes: 11 p…
geng-haoran Nov 28, 2026
8b3f2c0
fix(robots): fill the defaults and limits eight configs lacked; retir…
geng-haoran Nov 28, 2026
17ef06f
feat(mujoco): match an asset's actuators to joints by their transmiss…
geng-haoran Nov 28, 2026
3cbafbc
results(robots): both sweeps re-run on the final configs: MuJoCo 19 p…
geng-haoran Nov 28, 2026
52cf982
docs(robots): failure details on the generated Robots page are inline…
geng-haoran Nov 28, 2026
b4d6325
fix(mujoco): review fixes for actuator matching; two configs and the …
geng-haoran Nov 28, 2026
36108b9
feat(bench): evidence videos: `--video DIR` writes one mp4 per scored…
geng-haoran Nov 28, 2026
5b3b131
feat(bench): results record the command that produced them; every CLI…
geng-haoran Nov 28, 2026
46a06a7
fix(robots): the H1 family spawns standing; floating-base robots are …
geng-haoran Nov 28, 2026
aa5b04e
feat(infra): the evaluation container: MuJoCo on CPU, one command in,…
geng-haoran Nov 28, 2026
5589d90
feat(bench): leaderboard rows carry their provenance; the generator g…
geng-haoran Nov 28, 2026
d2666ff
feat(bench): seconds per episode on the leaderboard; `bench validate`…
geng-haoran Nov 28, 2026
4fa6cac
docs(bench): the quick start points at --video and the recorded comma…
geng-haoran Nov 28, 2026
dd9cc86
feat(bench): a result is checked against itself, pooled only with its…
geng-haoran Nov 29, 2026
bbede3a
feat(bench): a served policy's failure is its loss, not the run's; us…
geng-haoran Nov 29, 2026
8a39e2d
feat(cli): one-line failures, INFO by default, `bench submit`, and --…
geng-haoran Nov 29, 2026
0967243
ci(release): a locked benchmark environment, a digest-pinned image, a…
geng-haoran Nov 29, 2026
9cc85ef
docs(bench): the docs lead with the benchmark that exists; the policy…
geng-haoran Nov 29, 2026
1922fa1
feat(bench): suites freeze the bytes they are scored on; Hub download…
geng-haoran Nov 29, 2026
1cafba0
chore(metasim): pin the extended public API surface in the snapshot
geng-haoran Nov 29, 2026
e80e53c
feat(bench): summarize and matrix as data (--json), macros judged aga…
geng-haoran Nov 29, 2026
f376de6
feat(bench): a verifier re-runs a submission from its files and recor…
geng-haoran Nov 29, 2026
4a1ea54
fix(bench): the review's ten findings on the infra fixes
geng-haoran Nov 29, 2026
dc724fe
ci(release): make tools/release/lock.sh executable
geng-haoran Nov 29, 2026
5cf7a48
ci(release): the lock gate compares the pins, not uv's comment trailer
geng-haoran Nov 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Build context for docker/eval/Dockerfile: the two packages and their metadata, nothing that is downloaded,
# generated or a working copy. Assets live in the mounted roboverse_data, never in the image.
.git
.github
**/__pycache__
**/*.pyc
**/.pytest_cache
**/.mypy_cache
**/.ruff_cache
.coverage
roboverse_data
packages/metasim/roboverse_data
packages/metasim/docs
packages/metasim/Dockerfile
docs
results
bench_results
gate_out
scratch*
scratchpad
wt
venv*
.venv*
*.egg-info
third_party
tools
examples
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,19 @@ updates:
python-deps:
patterns: ["*"]
labels: ["dependencies", "no-changelog"]
- package-ecosystem: pip
# the benchmark environment lock: every bump here is a real pin change the evaluation image picks up
directory: /requirements
schedule:
interval: weekly
day: monday
groups:
bench-lock:
patterns: ["*"]
labels: ["dependencies", "no-changelog"]
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
# actions are pinned by commit SHA with the version in a trailing comment; Dependabot keeps both current
labels: ["dependencies", "no-changelog"]
9 changes: 6 additions & 3 deletions .github/workflows/attribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,18 @@ on:
- "tests/test_attribution.py"
- ".github/workflows/attribution.yml"
push:
branches: [main, develop]
branches: [main]
workflow_dispatch:

permissions:
contents: read

jobs:
attribution:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7
with:
python-version: "3.11"
- run: python -m pip install --upgrade pip pytest
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/backend-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
install: "superdex-physics superdex-robotics pyrender trimesh"
name: ${{ matrix.backend }} @ latest (py${{ matrix.python }})
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7
with:
python-version: ${{ matrix.python }}
- name: Install MetaSim, then the backend at its newest release
Expand All @@ -55,7 +55,15 @@ jobs:
env:
MUJOCO_GL: disable
METASIM_SKIP_VERSION_CHECK: "1" # the point is to run on versions outside `tested`
run: python -m pytest -k "${{ matrix.backend }}" -q -rs -p no:cacheprovider
# --continue-on-collection-errors: a -k selection still collects every module, and a module that imports
# another backend at import time (mujoco in a renderer test) must not fail this lane
run: python -m pytest -k "${{ matrix.backend }}" -q -rs -p no:cacheprovider --continue-on-collection-errors
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
if: always()
with:
name: backend-compat-${{ matrix.backend }}
path: doctor.txt
if-no-files-found: warn
- name: Open or update the tracking issue on failure
if: failure()
env:
Expand All @@ -65,5 +73,6 @@ jobs:
run: |
title="backend-compat: ${BACKEND} @ latest fails"
body=$(printf 'The weekly compatibility run of the **%s** backend against its newest release failed.\n\nRun: %s/%s/actions/runs/%s\n\n```\n%s\n```\n\nNext: fix or shim in `packages/metasim/metasim/sim/%s/`, then update `spec` / `tested` in `metasim/sim/_versions.py`.' "$BACKEND" "$GITHUB_SERVER_URL" "$GITHUB_REPOSITORY" "$GITHUB_RUN_ID" "$VERSIONS" "$BACKEND")
gh label create backend-compat --color B60205 --description "weekly newest-backend run failed" --force >/dev/null 2>&1 || true
existing=$(gh issue list --search "\"$title\" in:title" --state open --json number --jq '.[0].number')
if [ -n "$existing" ]; then gh issue comment "$existing" --body "$body"; else gh issue create --title "$title" --body "$body" --label backend-compat; fi
5 changes: 4 additions & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]

permissions:
contents: read

jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- name: Require a CHANGELOG entry for library changes
Expand Down
29 changes: 18 additions & 11 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,35 @@
name: Deploy docs to Cloudflare Pages

# Runs after the Tests workflow succeeded on main (a red main never publishes), and on every release tag,
# which gets its own frozen copy of the site at <tag>.roboverse-release.pages.dev.
on:
push:
workflow_run:
workflows: ["Tests"]
types: [completed]
branches: [main]
paths:
- 'docs/**'
- 'packages/metasim/docs/**'
- 'scripts/docs/**'
- 'roboverse_pack/tasks/**'
- '.github/workflows/deploy-docs.yml'
push:
tags: ["v*"]
workflow_dispatch:

concurrency:
group: deploy-docs
cancel-in-progress: true

permissions:
contents: read

jobs:
build-and-deploy:
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
ref: ${{ github.event.workflow_run.head_sha || github.sha }}

- uses: actions/setup-python@v7
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7
with:
python-version: '3.11'
cache: pip
Expand All @@ -40,8 +46,9 @@ jobs:
METASIM_REF: main

- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v4
uses: cloudflare/wrangler-action@953926a2e2182532811c01a25e53647d93bf07c0 # v4
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy public --project-name=roboverse-release --branch=main
# main is the production branch; a tag deploys under its own name (v1.0.0 -> v1-0-0.<project>.pages.dev)
command: pages deploy public --project-name=roboverse-release --branch=${{ github.ref_type == 'tag' && github.ref_name || 'main' }}
93 changes: 93 additions & 0 deletions .github/workflows/eval-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# The evaluation container (docker/eval/Dockerfile): built on every change that can affect it and smoke-tested
# by scoring one task end to end inside the image; published to GHCR on a release tag only, after the tag is
# checked against the package versions, with the version, commit, schema and protocol in its labels and the
# image digest in the run summary. `latest` moves only for a final release, never for a pre-release tag.
name: eval-image

on:
pull_request:
paths:
- docker/eval/**
- .dockerignore
- pyproject.toml
- packages/metasim/pyproject.toml
- requirements/bench-cpu.lock.txt
- .github/workflows/eval-image.yml
push:
tags: ["v*"]
workflow_dispatch:

permissions:
contents: read

env:
IMAGE: ghcr.io/${{ github.repository_owner }}/roboverse-eval

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
permissions:
contents: read
packages: write # used by the publish steps only, which run on a release tag
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Version from the tag (or the branch's pyproject for a PR build)
id: ver
run: |
python3 -m pip install --quiet tomli
pv=$(python3 -c "import tomli; print(tomli.load(open('pyproject.toml','rb'))['project']['version'])")
if [[ "$GITHUB_REF" == refs/tags/v* ]]; then
tag="${GITHUB_REF_NAME#v}"
if [[ "$pv" != "$tag" ]]; then echo "::error::tag v$tag != roboverse-py version $pv; no image for a mismatched tag"; exit 1; fi
echo "version=$tag" >> "$GITHUB_OUTPUT"
else
echo "version=$pv.dev+${GITHUB_SHA::10}" >> "$GITHUB_OUTPUT"
fi
- name: Build
run: >-
docker build -t roboverse-eval:ci -f docker/eval/Dockerfile
--build-arg VERSION="${{ steps.ver.outputs.version }}" --build-arg GIT_SHA="$GITHUB_SHA" .
- name: "Smoke test: score the replay baseline on one task inside the image"
run: |
mkdir -p roboverse_data out
docker run --rm \
-v "$PWD/roboverse_data:/opt/roboverse/roboverse_data" -v "$PWD/out:/out" \
roboverse-eval:ci bench run --task pick_cube --sim mujoco --policy replay --episodes 1 --device cpu \
--video /out/videos --out /out/pick_cube.json
docker run --rm -v "$PWD/out:/out" roboverse-eval:ci bench validate /out/pick_cube.json
docker run --rm --entrypoint cat roboverse-eval:ci /opt/roboverse/IMAGE_FREEZE.txt > out/IMAGE_FREEZE.txt
docker inspect roboverse-eval:ci --format '{{json .Config.Labels}}' | tee out/labels.json
ls -la out out/videos
python3 -c "import json; r=json.load(open('out/pick_cube.json')); print(r['notes']['command']); print(r['provenance']['backend_versions'])"
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
if: always()
with:
name: eval-image-smoke
path: out/
if-no-files-found: error
- name: Log in to GHCR
if: startsWith(github.ref, 'refs/tags/v')
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin
- name: Publish the release image
if: startsWith(github.ref, 'refs/tags/v')
run: |
tag="${{ steps.ver.outputs.version }}"
image="$(echo "$IMAGE" | tr '[:upper:]' '[:lower:]')"
docker tag roboverse-eval:ci "$image:$tag"
docker push "$image:$tag"
# a pre-release (1.1.0rc1, 1.1.0a1, 1.1.0b2) never moves `latest`
if [[ ! "$tag" =~ [0-9](a|b|rc)[0-9] ]]; then
docker tag roboverse-eval:ci "$image:latest"
docker push "$image:latest"
fi
digest=$(docker inspect --format='{{index .RepoDigests 0}}' "$image:$tag")
{
echo "## roboverse-eval $tag"
echo
echo "- image: \`$image:$tag\`"
echo "- digest: \`$digest\`"
echo "- commit: \`$GITHUB_SHA\`"
echo
echo "Pull by digest to cite the exact environment: \`docker pull $digest\`"
} >> "$GITHUB_STEP_SUMMARY"
8 changes: 4 additions & 4 deletions .github/workflows/metasim-premerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
timeout-minutes: 720
steps:
- name: Checkout code
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- run: aws --version
############# Prebuild ############
- name: pre_build
Expand Down Expand Up @@ -427,13 +427,13 @@ jobs:
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
set -euo pipefail
echo "Checking if .github/workflows/premerge-ci.yml is modified in PR #$PR_NUMBER..."
echo "Checking if .github/workflows/metasim-premerge.yml is modified in PR #$PR_NUMBER..."
CHANGES=$(gh pr diff "$PR_NUMBER" --name-only -R ${{ github.repository }})

if echo "$CHANGES" | grep -q "^.github/workflows/premerge-ci.yml$"; then
if echo "$CHANGES" | grep -q "^.github/workflows/metasim-premerge.yml$"; then
echo "❌ Critical workflow modification detected!"
echo "For security reasons, this workflow file cannot be modified via Pull Request."
echo "Please revert changes to .github/workflows/premerge-ci.yml to pass this check."
echo "Please revert changes to .github/workflows/metasim-premerge.yml to pass this check."
exit 1
fi

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/mirror-metasim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ concurrency:
group: mirror-metasim
cancel-in-progress: false

permissions:
contents: read

jobs:
mirror:
runs-on: ubuntu-latest
if: ${{ vars.METASIM_MIRROR_ENABLED == 'true' }}
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- name: Split packages/metasim and push to the mirror
Expand Down
Loading
Loading