Repository navigation
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
Open
feat(bench): harden the submission gate; the wheels carry the instance sets and a MetaSim NOTICE#903geng-haoran wants to merge 4 commits into
geng-haoran wants to merge 4 commits into
Conversation
…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
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
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.
From the review of the gate after #902. Four ways a row could pass while not being what it claimed:
tools/bench/freeze_instances.pynow records the hashevaluatecomputes on each set in the set's sidecar (instance_pool_hash, stable across two independent loads for all five sets), andsubmission_problemsrefuses a result whosenotes.instance_pool_hashdiffers: the episodes did not run on the set.metasim.bench.instance_set_hashreads the sidecar.num_envswas free. A handler seeds a batch at once, so another batch size is another draw of randomness; a suite's official protocol isnum_envs=1and the gate says so.tools/bench/leaderboard.pyrefuses 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_knownon 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.gzwas not package data), so apip installcould not score a suite; the MetaSim wheel shipped no NOTICE although it includes Isaac Lab and HandsOn code. Both fixed, andtools/release/wheel_check.pynow 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.