Repository navigation
Add LIBERO and LIBERO-Pro as a benchmark - #100
Merged
haizhongzheng merged 17 commits intoNov 17, 2026
Merged
Conversation
examples/aspire_libero/ adds LIBERO's Object, Spatial, Goal, Long (libero_10) and LIBERO-90 suites as tasks of ASPIRE's harness (cap-harness --benchmark libero-pro): 130 task rows, run.yaml (the four ten-task suites), run_90.yaml, smoke.yaml and a launcher that starts the Robosuite example's on this folder. The Robosuite example's engine now takes the benchmark from the task row: the venv that holds cap-harness, the init mode (LIBERO: seeded, so a seed is a scene of its own), the simulator's environment and the benchmark's docs page (LIBERO's without the section that names ASPIRE's worked programs per task). A row without the field is Robosuite's, as before. prepare.py's seeds are presets (--preset aspire|smoke) and its row and split writing is shared.
…out's pages The LIBERO configs granted $ASPIRE_ROOT/docs/libero-pro.md to the task sandbox, whose "Task examples" section names ASPIRE's worked programs per task; only the workspace copy was cut. launch.sh now stages the docs outside the checkout (stage_docs.py) and the Codex configs of both examples grant those (agent.params.aspire_docs). A benchmark page without its cut is refused rather than copied whole. LIBERO's demonstration datasets are hidden from the simulator's sandbox.
smoke_luna.yaml is smoke.yaml with GPT-5.6-Luna acting and coordinating on the Codex ChatGPT login. The launcher asks for FIREWORKS_API_KEY only when the config's models are Fireworks'.
This was referenced Nov 11, 2026
…t on an Object task
…ep's init mode is tested
LIBERO's grasp backend is on its fixed port 8115 (ASPIRE's SERVICE_PORTS for libero-pro); without it every generate_grasps call fails. The launcher checks it as the Robosuite launcher checks the other services.
…pages is there
# Conflicts: # tests/selection.py
…s protocol; the method page names LIBERO's docs, aspire_docs and verifier seeds
…'s tasks, the aspire method folder and a prompt_only one with LIBERO's own acting prompt; the Robosuite launcher runs another method folder's configs
…it; its workspace leaves out ASPIRE's search page and assignment; the prompt is named method-neutral; the step limit is stated only when set
…, Spatial and Goal) for a run of a day or two
…r scores a search; run_sample_luna.yaml names its baseline's config
ruiling-smartbear
marked this pull request as ready for review
November 17, 2026 04:15
haizhongzheng
approved these changes
Nov 17, 2026
Member
There was a problem hiding this comment.
Thanks for this. We reviewed de00cb2 with two independent reviewers and found nothing that blocks the merge, so there are no changes from our side.
- Checked against ASPIRE at the pinned
fa00f0e:--init-modeonrunandrun-batch, the## Task examplescut indocs/libero-pro.md, no read ofdocs/by cap-harness at run time, and the LIBERO profile (venv, environment, seeds,TASK_DIR), which matches the fix-loop template. - Robosuite is unchanged: the same rows, splits, verifier and rerun rows, and the same launcher paths for
aspire.
Noted, not changed: the launcher no longer checks FIREWORKS_API_KEY for run_direct.yaml and smoke_direct.yaml, whose model is not a ref:, so a missing key now fails at the first model call.
Tests. python -m pytest --changed --base origin/main: 1347 passed, 160 skipped. The 2 failures are Harness² tests whose dependency group was not installed. CI passed on de00cb2.
🤖 Generated with Claude Code
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.
Change
Adds LIBERO, with LIBERO-Pro, as a benchmark.
examples/libero/holds its tasks; each method is a folder of configs beside them (aspire/,prompt_only/), asexamples/README.mdlays a task out.Tasks (
utils/prepare.py, 210): LIBERO's five suites (130 tasks) and LIBERO-Pro's_swapand_taskperturbations of the four ten-task suites (80). The README lists the splits.A task is a program. A Codex session writes it against ASPIRE's Code-as-Policy API (
cap-harness --benchmark libero-pro), develops it throughbin/simon development seeds, and the judge scores it once on held-out seeds by the task's own success check. Seeds are ASPIRE's LIBERO defaults (development 51-65, held-out 1-50).Methods:
aspire/: ASPIRE's prompts, verifier and coordinator.prompt_only/: the prompt-only template, with a method-neutral acting prompt (utils/agent/prompt.md). Withevosearch: falsethe engine stages no search page and scoresfix_code.py, the file the prompt names.Both use the same workspace,
bin/simand judge, so their numbers are measured the same way.The engine is the Robosuite example's (
examples/aspire_robosuite/). A task row's"benchmark": "libero-pro"selects ASPIRE's LIBERO settings:.venv-libero,--init-mode seeded,LIBERO_CONFIG_PATH, anddocs/libero-pro.mdwithout the section that names ASPIRE's worked programs. A row without the field runs Robosuite as before. New options, both defaulting to the old behavior:ASPIRE_METHOD(which method folder the launcher runs) andagent.params.evosearch.Protocol. LIBERO's own protocol scores each task on fifty fixed initial states. Those are cap-harness's
--init-mode saved, which fails on every reset at the pinned commit (fixed by Fix LIBERO saved-mode reset on ndarray 8000 init states NVlabs/ASPIRE#31). Until then a seed here is a scene LIBERO samples, so the numbers compare with neither LIBERO's literature nor ASPIRE's. The README says so.Validation
python -m pytest tests/methods/aspire(28 passed, 9 skipped without bubblewrap on macOS; CI runs them on Linux). They cover the 210 rows and the splits, every config of both method folders, the method-neutral prompt, and which program is scored with and withoutevosearch.python -m pytest --changedon macOS: 12 failures intests/coreandtests/methods/{mwm,harness2}, the same 12 as on a cleanmain.pre-commit run --all-filesandbash docs/build.shpass;hermit check --no-probepasses on the Linux host.sim.Engine(benchmark="libero-pro")on three LIBERO suites and all eight LIBERO-Pro suites, with seeded init and the task's (perturbed) language.close_microwave.pyonlibero_90:33, 3/3;object_swap_seed1.pyonlibero_object:0andlibero_object_swap-t00, 6/6 each.aspire/run_sample_luna.yaml(six tasks, GPT-5.6-Luna at medium) completes: actor and search, judge on 50 held-out seeds per task, coordinator,finaltag. Every task scores 0/50 (development 0/15), and the baseline with ASPIRE's empty library also 0/50 on each (4.2 hours). Luna solves none of these tasks here; this is not a measurement of ASPIRE's method.prompt_only/on the real engine; a Robosuite smoke on this branch; a model that solves LIBERO tasks here. The full-run budgets are scaled from Robosuite's, not measured.Review
Core changes: none; all of it is under
examples/and the docs.Failures: a missing LIBERO venv or Contact-GraspNet service stops the launcher before a run; the engine refuses an unknown benchmark; a docs page without the section that names worked programs is refused; the method-neutral prompt refuses settings without
evosearch: false.Agent layers: unchanged from Add ASPIRE: the aspire template and Evolver, with a Robosuite example #74: the
codexacting agent, with theaspireEvolver or the built-in Codex Evolver.Tests and documentation cover the affected behavior, where applicable. Tests:
tests/methods/aspire/test_aspire.py(neither launcher has a test). Docs:examples/libero/README.md,examples/README.md,docs/methods/aspire.md,docs/methods/prompt-only.md,CHANGELOG.md.Commands, defaults, and public interfaces are consistent.
Shared logs and examples contain no credentials or private data.
Documentation-only: not applicable.
Sandbox checklist: the sandbox is unchanged. Task sessions use
environment.readandenvironment.env; the simulator runs through the Robosuite example'sconfine. LIBERO's demonstration datasets and ASPIRE'sdocs/are hidden from the simulator's sandbox.Independent review (post-PR audit): separate agents reviewed the head against the general, sandbox and test checklists; their findings are fixed. Open, and stated in the README:
prompt_only's sandbox can read the engine's folder, which holds its adaptations of ASPIRE's prompts;main, a generated program runs in cap-harness's process and could write its own outcome (the Robosuite README's stated limit).