What robotics asks of eval-harness (for 0.9)¶
Written 2026-11-14 for the operator and the eval-harness session, to assess and plan for
eval-harness 0.9 (the operator's target). Nothing here is decided for eval-harness: these are
the robotics side's needs, each through eval-harness's own RFCs, and its non-goals are read first.
Code references are into /work/eval-harness/main at bc2286392 (harness 0.6.0) and come from
two reads of it on 2026-11-13/14 (EVAL-HARNESS-ROBOTS.md has the first,
with file and line references).
1. The key use case: does the simulator predict the real robot?¶
A robot mission is rehearsed on a simulated robot before it runs on the real one (RFC-0005). Whether that rehearsal is worth anything is an evaluation question with three parts:
| Question | Measure |
|---|---|
| How big is the gap? (simulator fidelity) | The same scenarios as two arms, sim and real, same software; per metric (success, time, path length, contacts, falls, commanded vs measured speed) a paired test of the difference |
| Does the simulator rank versions correctly? | N versions, many simulator runs and few real runs each: rank agreement between the two arms. If A beats B in the simulator, does it on the robot? |
| Can a rehearsal be trusted? | Pairs of (rehearsal pass/fail, real pass/fail) over missions: the false-pass rate (rehearsal passed, real failed) is what decides whether a passed rehearsal may count toward promoting a mission to running on its own |
Plus coverage: a simulator run over many randomised seeds gives a distribution; a faithful simulator has the real result inside it. "How often does the real run fall inside the simulator's 90 % range?" is a calibration number.
These are general "does a cheap proxy predict the expensive reality?" questions — the same shape as an LLM judge against people, or an offline test against production — so they belong in eval-harness, not in the robot project.
2. Today: what already fits¶
- Trials run outside the harness and are imported:
evh import-runtakes per-item numeric scores as a run;pair-testandfamily-testread it (import_run.py). - Two arms on one frozen scenario set:
simandreal. - Paired sign-flip permutation tests on continuous per-item values (
pair_test.py,stats.py). - Lower-is-better metrics (
METRIC_DIRECTIONS), reference-free scoring (score(output, None)). - Evaluating what already happened, offline, is in scope (PRD-014's "datasets from production"): real robot runs are "production". Live trials driven by the harness would touch PRD-014's online-evaluation non-goal; importing avoids it.
- Model choice for the robot brain fits as is: sentences → mission specs as a dataset with the candidate models as arms; camera frames → room type and objects.
3. The asks¶
| # | Ask | Why for robots | Today |
|---|---|---|---|
| E1 | Paired arms across environments: sim vs real as a first-class comparison, the gap per metric reported |
The central sim-to-real question | Possible as two imported arms; nothing names or reports the gap |
| E2 | Rank agreement between two arms across versions (e.g. Kendall's tau with an interval) | Whether the simulator chooses versions correctly | Not present |
| E3 | Coverage: how often a single real result falls inside an arm's distribution over seeds | Simulator calibration | Repeats are averaged per item; distributions are not compared |
| E4 | Predictor quality: a pass/fail predictor (the rehearsal) against an outcome (the real run): false-pass and false-alarm rates with intervals | What flotilla's promotion needs | Not present |
| E5 | Side-effect-safe adapters: a flag for "this moves hardware" — no automatic retries, an adapter timeout, a pause for a human reset between items | A retried trial is a second physical run | Core retries up to 8 times on "timeout"/"connection" (_retry.py); no core timeout |
| E6 | Structured scenario items: the adapter receives the item id and fields (start pose, scene, instruction) | Scenarios are data, not text | call_system(text, params) gets the item text only (run.py) |
| E7 | Trajectories as outputs, and scorers over them: success, time, path length, contacts, closest approach; path error against a ground-truth track | A run is a time series | Output is a string; numbers via Result.extra |
| E8 | Sequential testing: run trials until the answer is clear (significant or clearly not) | Robot time is the scarce resource | Fixed counts |
| E9 | Repeat variance in the tests | Few items, noisy repeats | Tests average repeats per item; the spread is printed, not used |
| E10 | Safety as a gate: a hard limit (e.g. contacts = 0) that excludes an arm whatever its score | A faster unsafe controller must never win | Goal axes with limits point this way |
| E11 | Mission judging against a reference plan: an LLM judge grading a mission's plan and log with a reference | Was the plan sensible, not only did it finish | Judges read no reference (judge_score.py) |
| E12 | Composite build identity: brain commit + model alias + policy set in one run's identity | A robot run depends on three versions | --build-ref is one string; we would format it brain@…+model@…+policies@… meanwhile |
| E13 | Replay in the inspector: a trajectory or video beside the scores | Seeing why a run failed | — |
| E14 | Run records in MCAP as an import format (the robotics side writes MCAP for the Foxglove viewer) | One record format for viewing and evaluating | JSONL imports |
Suggested priority for 0.9, from the robotics side: E1, E4, E5, E6, E2, E8 first (they decide whether rehearsal can be trusted and make physical trials safe); E3, E7, E9, E10 next; E11–E14 later.
4. What the robotics side does meanwhile¶
- Runs trials outside the harness and imports them (
evh import-run), one arm per environment. - Writes run records with per-item numbers and a composite build reference.
- Logs every friction point and sends it to the eval-harness session.
- First real comparison when the robot arrives: the arena's 2 m sprint in simulation vs a taped 2 m strip at home; later a taped obstacle course rebuilt in simulation; later the operator's home itself, as a simulator scene generated from the robot's own map. Ground truth for real paths: a phone on the ceiling and a printed marker on the robot.
5. What the robotics side asks the eval-harness session¶
- Assess E1–E14 for 0.9: fits as is / needs a change / out of scope, against eval-harness's PRDs (especially PRD-014's non-goals) and RFCs.
- Which RFCs they become (new ones, or extensions of existing ones such as RFC-019 datasets from production or RFC-022 scoring that evolves).
- The order within 0.9 and what slips to later.
- What the robotics side should produce to make it simplest: the import format, the per-item fields, how to name arms and environments.
6. Not verified¶
-
eval-harness 0.8 changed names (its session, 2026-11-14): "configs" are now "systems", runs live in
data/runs/<run_id>/, andimport-runtakes--system-id. The references above are from 0.6.0; the eval-harness session maps them when assessing. -
The minimum number of items eval-harness needs for a confidence interval: the first read reported "more than 5"; the second review did not find that threshold in
stats.py. - Code references are from 0.6.0 at
bc2286392; 0.7 and 0.8 may have changed them.
7. After 0.9: what the recipe-bar import found (2026-12-01)¶
The operator asked (2026-12-01) to put the learning arc's training-scene work (the recipe-bar
harness, the plan) into robotics-evals on 0.9, documented and plotted. The
eval-harness session's answers (2026-12-01, read from main 53ae0e6f1): wait for the 0.9 pin
(a review fix is pending; no sha yet); a checkpoint is params.checkpoint on one system per
training arm; each scene is an item file. A trial on 0.8.2 in a separate worktree (not committed):
2048 items, two runs, pair-test 1.2 s, validate 1.0 s, the catalog 11 s, 668 KB per run.
Gaps, none blocking (we compute these ourselves until then); each is the operator's call:
| Ask | Why | Today |
|---|---|---|
| Exact McNemar on a 0/1 metric above 30 items | the pre-registered tests are exact | a seeded 20,000-draw sign-flip estimate (stats.py:143, EXACT_UP_TO 30) |
| A sign test on items that differ by more than a threshold | closed_fraction's pre-registered test (scenes closer by more than 0.05) |
not in the harness |
| A metric against checkpoint step (training iterations) | reached at 100, 200, 399 iterations of one training arm | chart progression is across rounds; nothing plots by params.checkpoint |
| Rank agreement of a cheap proxy with an expensive measure over N systems | the arc's gate G2 (does the training-scene harness rank arms as the lab does) and section 1's sim against real | only inside judge validation (Kendall's tau, judge_score.py) |
import-run --repeat (or --purpose repeat --of) |
three runs of one arm measured the GPU's noise | written into run.json by hand (the harness's own fixture does so) |
8. Overfitting: what 0.9 lacks for a policy trained on one scene generator (2026-12-01)¶
Sent to the eval-harness session at the operator's ask. Read from the installed 0.9 code
(d84bf4c); dataset-split, holdout and the sealed-test screen were not run on our data. 0.9
covers overfitting by selection on reused items (dataset-split --seal, the exposure register,
holdout, rank-stability). Ours is a policy trained on the bar's generator and adopted on the
lab's scenes. Asked, most important first:
- A gap view: per arm, the in-distribution score (the bar) against the target's (the lab), each with its interval, one chart with a diagonal; an arm that moves right but not up has overfit.
- A goal role linking a proxy dataset to its target, so the view and its tests know which is which.
- Rank agreement over the arms both sides have (about 4: rules, M2a, M2e, M2f), with its uncertainty at few arms (section 7 asked it already).
- The same gap by checkpoint step for one training line (section 7's metric by checkpoint).
- Unpaired comparison across datasets whose items differ, said on the page instead of a paired test.
- Whether
dataset-createcan seal a whole new dataset (a bar on a fresh seed) from its creation.
Not decided on our side: gate G2's design (step 5). The eval-harness session also fixed section 7's
round-option item (--keep given twice is refused) in 1267fc7; our pin stays d84bf4c until the
operator moves it.