The companion Hugging Face Dataset yuxianglai117/x-as-policies (https://huggingface.co/datasets/yuxianglai117/x-as-policies) releases the evolved policy programs and per-episode simulation rollout logs backing our technical report (470,000+ core study rollouts across 8 simulation benchmarks, 4,025 cell-level configurations, Study 1–7 summary tables, and SHA-256 checksum manifests). Count reconciliation: the report's 470,000+ headline summarizes the 489,380 conservative Table 5 core study rollouts, while verify_released_logs.py --summary reports 1,454,642 total deduplicated episode records across the full archive (including training/evolution rounds and extended validation suites). Across the 15,489 released programs, 13,432 (86.7%) follow harness_program_v1 (class Program) and 10,174 (65.7%) are directly runnable via shipped x_harness adapters (--runnable-only, excluding 3,258 robodojo specification programs and 14 unadapted RoboMME stick-task programs).
This repository (google-research/x-as-policies) provides the harness runtime, benchmark adapters, and two CPU-ready CLI scripts to verify logs offline and replay released policies:
scripts/verify_released_logs.py: verifySHA256SUMS.txt/MANIFEST.json, reconcile totals againstresults/paper_tables.json, and query cell summaries or per-episode rollout logs on CPU (no simulator needed).scripts/replay_released_policy.py: browseprograms/manifest.json, verify per-file SHA-256 integrity, dry-run preflight checks on CPU, and execute live replays with HTML replay export.
Both scripts work with a local downloaded dataset directory (--local-dir ./x-as-policies, pure stdlib + NumPy for JSON/JSONL.gz and policy replay; optional pyarrow for scanning Parquet shards directly) or directly against Hugging Face Hub (--hf-repo yuxianglai117/x-as-policies or XHARNESS_HF_REPO=yuxianglai117/x-as-policies, lazily importing optional huggingface_hub).
#Quickstart
#1. Download & verify rollout logs on CPU (30 seconds, zero simulator)
# Optional extras for Parquet inspection and direct HF Hub downloads:
# pip install pyarrow huggingface_hub
# Download from https://huggingface.co/datasets/yuxianglai117/x-as-policies
hf download yuxianglai117/x-as-policies --repo-type dataset \
--local-dir ./x-as-policies
# Verify SHA-256 checksums and reconcile against results/paper_tables.json
python scripts/verify_released_logs.py --local-dir ./x-as-policies \
--check-integrity --summary
# Query cell summaries and sample episodes for a benchmark, task, or VLM
python scripts/verify_released_logs.py --local-dir ./x-as-policies \
--query --benchmark libero --task libero_10_t1 \
--model claude-opus-5.5 --limit 10#2. Browse and dry-run a released policy on CPU (zero simulator)
# List runnable evolved policies for a benchmark
python scripts/replay_released_policy.py --local-dir ./x-as-policies \
--list --benchmark libero --model claude-opus-5.5 --runnable-only
# Verify SHA-256, AST, class Program contract, and print runnable commands
python scripts/replay_released_policy.py --local-dir ./x-as-policies \
--program-id <program_id> --dry-runIf you prefer fetching on demand from Hugging Face Hub without downloading the full dataset first, replace --local-dir ./x-as-policies with --hf-repo yuxianglai117/x-as-policies (or export XHARNESS_HF_REPO=yuxianglai117/x-as-policies).
#3. Run a live simulator replay
Once the target simulator, perception server, and base policy server are running:
# Training split (default)
python scripts/replay_released_policy.py --local-dir ./x-as-policies \
--program-id <program_id> --split train --seeds 1000,1001,1002 \
--html-replay replay_train.html
# Held-out test split (requires --allow-test; preserves split-guard logging)
python scripts/replay_released_policy.py --local-dir ./x-as-policies \
--program-id <program_id> --split test --allow-test --seeds 0,1,2 \
--test-log test_access.jsonl --html-replay replay_test.htmlAt completion, the script prints the live measured success rate (plus reported_sr if populated in programs/manifest.json; in the public release programs/manifest.json leaves success_rate=null, and per-cell SRs live in logs/cells_summary.json / .parquet, queried via verify_released_logs.py --query).
#Per-Benchmark Replay Recipes
Every adapted benchmark below has its task table, action contract, scene-graph filter, and prompt facts shipped in x_harness/benchmarks/<name>/. See docs/benchmarks.md#full-environment-setup for simulator installation details and docs/policies_and_tools.md for the 15 base-policy checkpoints and transports.
| Benchmark | Tasks shipped / paper | Required env vars | Base policy server | Perception server | Replay notes | ||||
|---|---|---|---|---|---|---|---|---|---|
robomme | 14 / 16 | ROBOMME_POLICY_ROOT, XHARNESS_POLICY_URL, XHARNESS_PERCEPTION_URL | MME-VLA sub-goal WebSocket server (ws://127.0.0.1:8000, from RoboMME checkout) | python scripts/serve_perception.py --port 8765 | 14 Panda gripper tasks adapted; the 2 stick tasks (PatternLock, RouteStick) are archival only | ||||
libero | 40 / 40 | XHARNESS_POLICY_URL, XHARNESS_PERCEPTION_URL | OpenPI pi05_libero WebSocket server (ws://127.0.0.1:8000; WebSocket only) | python scripts/serve_perception.py --port 8765 | Pass `--condition std \ | object \ | swap \ | lan \ | task` for LIBERO-PRO shifts |
maniskill | 14 / 14 | XHARNESS_PERCEPTION_URL | None (primitives only) | python scripts/serve_perception.py --port 8765 | No policy server required; runs purely with perception tools and motion primitives | ||||
robotwin | 50 / 50 | ROBOTWIN_ROOT, XHARNESS_POLICY_URL, XHARNESS_PERCEPTION_URL | python -m x_harness.benchmarks.robotwin.vla_server --checkpoint <ckpt> --tokenizer <tok> --port 8000 (or custom HTTP POST /act) | python scripts/serve_perception.py --port 8765 | Two-arm aloha-agilex; CuRobo + RoboTwin assets required under ROBOTWIN_ROOT | ||||
robocasa | 50 / 50 | XHARNESS_POLICY_URL, XHARNESS_PERCEPTION_URL | python -m x_harness.benchmarks.robocasa.vla_server --checkpoint <ckpt> --tokenizer <tok> --port 8000 (or custom HTTP POST /act) | python scripts/serve_perception.py --port 8765 | All 37 fixed-base + 13 mobile-base tasks indexed; shipped adapter keeps the mobile base fixed | ||||
simpler | 6 / 6 | XHARNESS_POLICY_URL, XHARNESS_PERCEPTION_URL | Custom HTTP POST /act server matching x_harness/benchmarks/simpler/vla.py (pi0 Bridge / Fractal) | python scripts/serve_perception.py --port 8765 | 4 WidowX Bridge tasks + 2 Google-robot tasks | ||||
vlabench | 50 / 49 | VLABENCH_ROOT, XHARNESS_POLICY_URL, XHARNESS_PERCEPTION_URL | Custom HTTP POST /act server matching x_harness/benchmarks/vlabench/primitives.py (pi0.5 / pi0) | python scripts/serve_perception.py --port 8765 | 5 tracks x 10 tasks (49 scored in Table 2 plus t2_insert_flower) | ||||
robodojo | 0 / 42 (STATUS_SPEC) | External Isaac Sim stack | External stack (pi0.5, DM0.5, Awomo-0.5I, WALL-OSS-1.0-lite) | External stack | Not runnable directly from x_harness; bind ProgramHost inside your RoboDojo stack (see docs/benchmarks.md#robodojo) |
#Example per-benchmark commands
# Shared perception server (one terminal, GPU; default port 8765)
python scripts/serve_perception.py --host 127.0.0.1 --port 8765
export XHARNESS_PERCEPTION_URL=http://127.0.0.1:8765
# For generic/mock Python policies over HTTP (use serve_policy_http(fn) in Python)
python scripts/serve_policy.py --policy mock --host 127.0.0.1 --port 8000
# 1. RoboMME (requires ROBOMME_POLICY_ROOT and MME-VLA sub-goal WebSocket server)
export ROBOMME_POLICY_ROOT=/path/to/robomme_policy_learning
export XHARNESS_POLICY_URL=ws://127.0.0.1:8000
python scripts/replay_released_policy.py --local-dir ./x-as-policies \
--program-id <robomme_program_id> --split test --allow-test --seeds 0,1,2
# 2. LIBERO / LIBERO-PRO (OpenPI WebSocket server; choose shift via --condition)
export XHARNESS_POLICY_URL=ws://127.0.0.1:8000
python scripts/replay_released_policy.py --local-dir ./x-as-policies \
--program-id <libero_program_id> --condition swap \
--split test --allow-test --seeds 0,1,2
# 3. ManiSkill3 (primitives only — no policy server needed)
python scripts/replay_released_policy.py --local-dir ./x-as-policies \
--program-id <maniskill_program_id> --split test --allow-test --seeds 0,1,2
# 4. RoboTwin 2.0 (ROBOTWIN_ROOT + CuRobo + robotwin/vla_server.py on port 8000)
export ROBOTWIN_ROOT=/path/to/RoboTwin
export XHARNESS_POLICY_URL=http://127.0.0.1:8000
python scripts/replay_released_policy.py --local-dir ./x-as-policies \
--program-id <robotwin_program_id> --split test --allow-test --seeds 0,1,2
# 5. RoboCasa365 (fixed-base adapter; robocasa/vla_server.py on port 8000)
export XHARNESS_POLICY_URL=http://127.0.0.1:8000
python scripts/replay_released_policy.py --local-dir ./x-as-policies \
--program-id <robocasa_program_id> --split test --allow-test --seeds 0,1,2
# 6. SimplerEnv (HTTP POST /act server matching simpler/vla.py)
export XHARNESS_POLICY_URL=http://127.0.0.1:8000
python scripts/replay_released_policy.py --local-dir ./x-as-policies \
--program-id <simpler_program_id> --split test --allow-test --seeds 0,1,2
# 7. VLABench (VLABENCH_ROOT + HTTP POST /act matching vlabench/primitives.py)
export VLABENCH_ROOT=/path/to/VLABench
export XHARNESS_POLICY_URL=http://127.0.0.1:8000
python scripts/replay_released_policy.py --local-dir ./x-as-policies \
--program-id <vlabench_program_id> --split test --allow-test --seeds 0,1,2#Compatibility & Scope Notes
- Runnable vs. archival program interfaces (
interface_version): harness_program_v1: standard 3-methodclass Program(set_task,get_action,update_step) compatible withProgramHost(13,432 / 15,489 = 86.7% of released programs); 10,174 / 15,489 (65.7%) are directly runnable via shippedx_harnessadapters (--runnable-only, excluding 3,258robodojoSTATUS_SPECprograms and 14 RoboMME stick-task programs).skill_program_v1: RoboCasa365 / RoboDojo multi-VLM skill-pool candidates subclassingSkillProgram(require the external skill-pool runtime rather than the standalone single-fileProgramHost).legacy_robomme_tracker: early RoboMME perception-tracker studies preserved for transparency with inline compatibility shims (not directly runnable underclass Program).scripts/replay_released_policy.pychecksinterface_versionbefore execution and exits cleanly with an explicit explanation for archival entries.- RoboMME stick tasks:
PatternLockandRouteStickusepanda_stickwithout a gripper and are not adapted inx_harness/benchmarks/robomme/env.py; their released programs and logs remain verifiable viaverify_released_logs.pyand inspectable as source code. - RoboCasa365 mobile-base tasks: All 50 tasks are registered in
x_harness/benchmarks/robocasa/tasks.py(37 fixed-base + 13 markedmobile_base=True). The shipped RoboCasa365 adapter keeps the mobile base fixed; replaying the 13 mobile-base tasks to full paper performance requires enabling mobile-base navigation controls in the simulator runtime. - RoboDojo: Remains a contract and seed-protocol specification (
STATUS_SPEC). Its 42 tasks' evolved programs and rollout logs are included in the Hugging Face dataset for inspection and external-stack integration; see docs/benchmarks.md#robodojo andx_harness/benchmarks/robodojo/env.py. - Simulation-only dataset scope: The Hugging Face release covers the 8 simulation benchmarks only. Raw physical YAM robot recordings, hardware bridge configs, and checkpoints are excluded from the public dataset; offline replay of held-out Real YAM recordings is documented separately in docs/benchmarks.md#real-yam.
- Safety boundary: Released model-written programs are verified by SHA-256 and audited by
ProgramHost, which catches accidental/buggy code but is not an OS sandbox. Run untrusted or modified programs inside an isolated container.