success_rate — task-level evaluation
Overview
Deterministic evaluation for a single task: pick an executor, run it on a
held-out seed range, report:
{
"task": "beat_block_hammer",
"executor": "expert",
"seeds": 20,
"successes": 18,
"success_rate": 0.90,
"per_seed": [{"seed": 1000, "success": true, "outcome": "success"}, ...]
}
Why held-out seeds
Training data uses seeds 0..N. Evaluation must use seeds seed_start..
(default 1000) to avoid trivial memorisation. The seed_start offset
is the only reliable way to prevent test/train leakage in
sim-deterministic tasks.
Executors
expert: drives backend'srun_expert(the baseline).pi0_checkpoint: loads a LeRobot policy fromcheckpoint, steps the
env in-loop. Requires SimEnv.step(action) to be implemented for the
backend (MVP: not yet).
rollout_vlm: VLM + tools zero-shot path (requires Toolkit).
Phases
- Resolve executor; if
pi0_checkpointorrollout_vlm, assert
dependencies present.
- For each seed in
range(seed_start, seed_start + seeds):
1. env.reset(seed) → execute to completion → check_success.
- Compute stats, persist
eval_report.jsonnext to checkpoint (for
pi0_checkpoint) or under ~/.roborsi/evals/<task>/<timestamp>/.
Success criteria
- Report written, success_rate computed over exactly
seedstrials. - No seed reuse across runs unless caller explicitly does so.
Implementation status
Only the expert executor is wired. pi0_checkpoint and rollout_vlm
executors raise NotImplementedError until their dependencies land.