Skip to content

feat(bench): harden the submission gate; the wheels carry the instance sets and a MetaSim NOTICE - #903

Open
geng-haoran wants to merge 4 commits into
mainfrom
feat/gate-hardening
Open

geng-haoran wants to merge 4 commits into
mainfrom
feat/gate-hardening

Conversation

@geng-haoran

@geng-haoran geng-haoran commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

From the review of the gate after #902. Four ways a row could pass while not being what it claimed:

  • The instance-pool hash was required to exist, not to be right. tools/bench/freeze_instances.py now records the hash evaluate computes on each set in the set's sidecar (instance_pool_hash, stable across two independent loads for all five sets), and submission_problems refuses a result whose notes.instance_pool_hash differs: the episodes did not run on the set. metasim.bench.instance_set_hash reads the sidecar.
  • num_envs was free. A handler seeds a batch at once, so another batch size is another draw of randomness; a suite's official protocol is num_envs=1 and the gate says so.
  • A preset's name could hide more information. An access profile named after a preset must equal it; a custom profile needs its own name (a leaderboard column is one preset).
  • The commit was not checked to exist. tools/bench/leaderboard.py refuses a row at a commit this repository does not have (git cat-file -e), since nobody could re-run it; the three provisional submissions' commits all exist.

Verified: MetaSim general 970 passed; suite, leaderboard, release-tool and verifier tests 28 passed (new: the three gate rules, commit_known on HEAD and on a bogus sha, every sidecar carries the hash); pre-commit clean; the one-episode suite run from #902 passes the hardened gate except for the dirty worktree it ran from, which is the one thing that should fail.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG

Added in f21240c (from checking the built wheels): the first roboverse-py wheel after #902 shipped the instance-set sidecars but not the sets (*.json.gz was not package data), so a pip install could not score a suite; the MetaSim wheel shipped no NOTICE although it includes Isaac Lab and HandsOn code. Both fixed, and tools/release/wheel_check.py now runs after every build in CI and on the tag path, asserting each wheel carries what the benchmark needs and nothing that does not belong. Both wheels pass locally.

geng-haoran and others added 2 commits November 30, 2026 02:25
…reset tiers and the commit

Four ways a row could have passed the gate while not being what it claimed:

- notes.instance_pool_hash was required to exist, not to be right. The
  freezer now records the hash `evaluate` computes on each instance set in the
  set's sidecar, and the gate refuses a result whose hash differs: the episodes
  did not run on the set.
- num_envs was free. A handler seeds a batch at once, so another batch size is
  another draw of randomness; a suite's official protocol is num_envs=1 and the
  gate says so.
- an access profile could borrow a preset's name with more information inside.
  A profile named after a preset must equal it.
- the recorded commit was not checked to exist. The leaderboard build refuses a
  row at a commit this repository does not have, since nobody could re-run it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…; a wheel check after every build

The first roboverse-py wheel built after the instance sets landed shipped
their sidecars and not the sets: `*.json.gz` was not package data, so a pip
install could not score a suite. The MetaSim wheel shipped no NOTICE although
it includes Isaac Lab and HandsOn code (Apache-2.0 §4(d)).

tools/release/wheel_check.py asserts, after `python -m build` in CI and on the
tag path, that each wheel carries what the benchmark needs (instance sets and
sidecars, suite manifests, the content packs, the NOTICE files) and nothing
that does not belong (tests, results, docs, caches). Both wheels pass.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
@geng-haoran geng-haoran changed the title feat(bench): the submission gate checks the instance-set hash, the batch size, preset tiers and the commit feat(bench): harden the submission gate; the wheels carry the instance sets and a MetaSim NOTICE Nov 30, 2026
geng-haoran and others added 2 commits November 30, 2026 02:35
The tests job checks out with fetch-depth 1, so every submission's commit was
"unknown" there and the committed leaderboard page no longer matched. The job
now fetches the full history, and commit_known answers True when the repository
is shallow instead of refusing rows it cannot judge.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
…ly an object in some clone

The three provisional submissions were made on branches that were squash-merged:
their commits linger as loose objects in a clone that fetched those branches and
are absent from a fresh one, so `git cat-file -e` gave different verdicts on
different machines and the committed page never matched CI. The criterion is now
`git merge-base --is-ancestor <sha> HEAD`: a commit anyone can check out. The
page lists the new reason on the three provisional rows.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WT1rr3wpGmrFtSiGj4k5yG
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