Skip to content

feat(bench): suites score on instance sets that ship with the repository - #902

Merged
geng-haoran merged 1 commit into
mainfrom
feat/suite-instance-sets
Nov 30, 2026
Merged

geng-haoran merged 1 commit into
mainfrom
feat/suite-instance-sets

Conversation

@geng-haoran

Copy link
Copy Markdown
Collaborator

The demo problem, solved without a Hub upload. The benchmark's instances were whatever the Hub demo files held: pick_cube's 1000 demos replay at 0.8 on MuJoCo, lift_peg_upright's 10 start the Franka fingers at 1.0 in a 0 to 0.04 joint, and a Hub path can change under a name. A benchmark's instances are part of the benchmark, so they now ship with the code.

  • Instance sets: roboverse_pack/suites/instances/tabletop-mujoco/<task>/franka_v2.json.gz, 50 instances per task (one per protocol episode), gzip JSON (readable, no pickle), 240 to 660 KB each, hashed in the suite manifest. Written by tools/bench/freeze_instances.py --suite tabletop-mujoco from the published demos in file order: the first 50 whose initial state is inside the robot's joint limits and whose reference demo replays on MuJoCo. The sidecar next to each set names the source file (path, sha256, count), the kept source indices and every skipped instance with its reason (pick_cube skipped 13 of the first 63, stack_cube 2 of 52, the others none).
  • lift_peg_upright is frozen from the 84 scripted demos recorded with bench record on 2026-11-28 (--source TASK=PATH --note TASK=WHY, both in the sidecar), because none of the ten published instances is physical. No published file is modified and nothing is uploaded.
  • Plumbing: SuiteTask.demos; bench suite run applies it in both execution modes and records notes.demos; submission_problems refuses a result scored on anything else (or on a --demos override the suite does not define); .json.gz is a trajectory format; the manifest freezer resolves through the override; .gitignore admits the sets, the large-file hook allows 800 KB.
  • Consequences: the replay ceiling of every set is 1.0 by construction (bench health --demos on the pick_cube set: 1.000 over ten episodes, instances valid); the instance-pool hash changes, so the three provisional submissions stay provisional and the regenerated leaderboard page lists the new reason. The first reproducible baseline rows follow in a separate PR once this is on main (six minutes of CPU).

Verified: MetaSim general 969 passed; tests/test_suites.py (new: every suite task ships its set, 50 instances, inside the limits, hashed in the manifest), leaderboard, release-tool and verifier tests 27 passed; pre-commit clean; Sphinx builds; a one-episode bench suite run on the sets records pool 50, notes.demos and a matching notes.demo_file, no asset or instance problems, and bench validate --suite flags only the dirty worktree it ran from.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG

…itory

The benchmark's instances were whatever the Hub demo files held: pick_cube's
1000 demos replayed at 0.8 on MuJoCo, lift_peg_upright's 10 started the
fingers outside the joint limits, and a path on the Hub can change under a
name. Each tabletop-mujoco task now scores on a frozen set of 50 instances
under roboverse_pack/suites/instances/<suite>/<task>/franka_v2.json.gz (gzip
JSON, no pickle, 240 to 660 KB), one per protocol episode, written by
tools/bench/freeze_instances.py from the published demos in file order: the
first 50 whose initial state is inside the joint limits and whose reference
demo replays on MuJoCo, with a sidecar naming the source file (sha256), the
kept indices and every skipped one with its reason. lift_peg_upright is frozen
from the 84 scripted demos recorded on 2026-11-28 (--source, --note), since
none of the published ten is physical.

Plumbing: SuiteTask.demos; `bench suite run` applies it in both execution
modes and records notes.demos; submission_problems refuses a result scored on
anything else; the suite manifest hashes the sets; .json.gz is a trajectory
format; the manifest freezer resolves through the override. The replay ceiling
of every set is 1.0 by construction (bench health on the pick_cube set: 1.000
over ten episodes); the instance-pool hash changes, so the three provisional
submissions stay provisional and list the new reason.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
@geng-haoran
geng-haoran force-pushed the feat/suite-instance-sets branch from d9b2465 to b299362 Compare November 30, 2026 02:17
@geng-haoran
geng-haoran merged commit 0155514 into main Nov 30, 2026
11 checks passed
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