You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The realism harness (robot_sf/benchmark/pedestrian_realism_validation.py) already computes trajectory RMSE, fundamental-diagram, lane-formation, speed-distribution, and proxemic-distribution families and fails closed to not_available without staged data. What is missing is everything that makes a real-data run a validation study rather than a parameter fit:
no held-out-by-scene split contract (current design would pool frames);
no declared baseline hierarchy (constant velocity, vanilla social force, current default, one calibrated variant);
no preregistered promotion rule.
Without these, the moment #6530 is unblocked the pilot would produce a pooled average that cannot distinguish "fits free walking" from "reproduces interactions".
Scope
In scope
Interaction-conditioned segmenter over a TrackSet: label each frame window by the seven classes above using declared geometric thresholds; emit per-class counts so a scene with too few events is reported, not averaged away.
Per-class reporting in the existing scorecard; pooled numbers remain but are labelled secondary.
Held-out contract: a small YAML (configs/benchmark/realism_validation_contract.v1.yaml) naming calibration scenes, held-out scenes, baseline arms, metric families, per-class minimum event counts, and the promotion rule: promote a model only if it improves preregistered interaction metrics over vanilla social force on held-out scenes without materially worsening free-walking distributions.
Baseline hierarchy wiring for the arms that exist today (constant velocity, social_force_default, and the variants in robot_sf/sim/pedestrian_model_variants.py); ORCA is a planner, not a pedestrian model, and is excluded.
Validation on synthetic fixtures only, including a fixture with a known class mix so segmenter recall is checkable.
One docs/context note describing the preregistered contract and the exact author packet needed to run it.
Out of scope
Staging SDD or any real data. Any real-data execution.
Archetype Metadata
Parent and dependencies
state:blocked-external-input). This issue does not touch that gate and must not download, infer, or substitute SDD bytes.Goal / Problem
The realism harness (
robot_sf/benchmark/pedestrian_realism_validation.py) already computes trajectory RMSE, fundamental-diagram, lane-formation, speed-distribution, and proxemic-distribution families and fails closed tonot_availablewithout staged data. What is missing is everything that makes a real-data run a validation study rather than a parameter fit:Without these, the moment #6530 is unblocked the pilot would produce a pooled average that cannot distinguish "fits free walking" from "reproduces interactions".
Scope
In scope
TrackSet: label each frame window by the seven classes above using declared geometric thresholds; emit per-class counts so a scene with too few events is reported, not averaged away.configs/benchmark/realism_validation_contract.v1.yaml) naming calibration scenes, held-out scenes, baseline arms, metric families, per-class minimum event counts, and the promotion rule: promote a model only if it improves preregistered interaction metrics over vanilla social force on held-out scenes without materially worsening free-walking distributions.social_force_default, and the variants inrobot_sf/sim/pedestrian_model_variants.py); ORCA is a planner, not a pedestrian model, and is excluded.docs/contextnote describing the preregistered contract and the exact author packet needed to run it.Out of scope
Affected files
robot_sf/benchmark/pedestrian_realism_validation.py- segmenter and per-class scorecard rows.robot_sf/benchmark/realism_validation_contract.py- new; loads and validates the YAML contract.configs/benchmark/realism_validation_contract.v1.yaml- new.tests/benchmark/test_realism_segmenter.py,tests/benchmark/test_realism_validation_contract.py- new.docs/context/realism_validation_preregistration.md- new.Worktree
One linked worktree, branch
feat/issue-N-realism-validation-preregistration. Owns only the paths above.Acceptance criteria
insufficient_events.BLOCKED_EXTERNALwith revival condition "data: stage maintainer-provided SDD and run one diagnostic realism pilot after #6773 #6530 staged".Verification
uv run pytest tests/benchmark/test_realism_segmenter.py tests/benchmark/test_realism_validation_contract.py tests/benchmark -k realism -quv run python scripts/dev/check_docs_evidence_integrity.pyfor the new note.BASE_REF=origin/main scripts/dev/pr_ready_check.sh