Repository navigation
feat(bench): suites score on instance sets that ship with the repository - #902
Merged
Merged
Conversation
…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
force-pushed
the
feat/suite-instance-sets
branch
from
November 30, 2026 02:17
d9b2465 to
b299362
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
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 bytools/bench/freeze_instances.py --suite tabletop-mujocofrom 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).bench recordon 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.SuiteTask.demos;bench suite runapplies it in both execution modes and recordsnotes.demos;submission_problemsrefuses a result scored on anything else (or on a--demosoverride the suite does not define);.json.gzis a trajectory format; the manifest freezer resolves through the override;.gitignoreadmits the sets, the large-file hook allows 800 KB.bench health --demoson 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-episodebench suite runon the sets records pool 50,notes.demosand a matchingnotes.demo_file, no asset or instance problems, andbench validate --suiteflags only the dirty worktree it ran from.🤖 Generated with Claude Code
https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG