#4619·lerobot

eval scripts report success rate with no matched benign arm, so two policies cannot be compared

Author: sattyamjjainCreated Sep 12, 2026Updated Sep 26, 2026
Labelspoliciessimulationdependenciesevaluation

I have read through lerobot/scripts/eval.py and the policy eval path several times over the past six weeks and want to raise one concrete gap rather than a general suggestion.

The problem: eval reports success rate for a policy under a task suite. If a user then perturbs the input and reports a lower success rate, the difference they publish includes whatever rate the unperturbed run would have failed at under the same seeds. On our side, running 16 perturbation families against 4 open policies, the unperturbed arm fails on 2 of 50 episodes under a default keep-out zone, and the rate varies by family. Subtracting it changes the sign of the conclusion in 13 of our 16 families at n=50.

Concretely, what would fix it inside lerobot's existing structure:

  1. eval.py already loops episodes with a seed. Running the same seed list a second time with perturbation disabled costs one extra pass, no new dependency.
  2. Report both numbers side by side in eval_info.json: success_rate and success_rate_control, plus the episode count. No change to the default output for users who do not perturb anything.
  3. A Wilson interval on both, so the reader can see whether n was large enough for the gap to mean anything.

I am not asking you to adopt our harness. The ask is narrower: would you accept a PR that adds the second arm and the two fields to eval_info.json, behind a flag that defaults to off?

Full disclosure: I maintain Provael (https://github.com/provael/provael), which does this for adversarial evaluation. Everything above is simulation-only, and we have never run on hardware. If the answer is no, or if this belongs in a user's own script rather than in lerobot, that is a useful answer, and I will stop asking.