Reinforcement Learning
stable-baselines3
TensorBoard
robotics
mujoco
sac
franka-panda
quadratic-programming
safe-rl
Instructions to use Appendix0/reactive-reach with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- stable-baselines3
How to use Appendix0/reactive-reach with stable-baselines3:
from huggingface_sb3 import load_from_hub checkpoint = load_from_hub( repo_id="Appendix0/reactive-reach", filename="{MODEL FILENAME}.zip", ) - Notebooks
- Google Colab
- Kaggle
Model card: results, challenge, preregistration and audit; fix loading example
Browse filesFiles changed (7)
26 unmodified lines2728293031326 unmodified lines394041424344455 unmodified lines515253545556575826 unmodified linesThe three learned arms share observation, reward, network (256x256), hyper-parameters, budget, scenes and the PD low level. The policy decides at 25 Hz; the lower layer runs every 10 ms.## Layout```6 unmodified lines<arm>/s<seed>/meta.json commit, config, package versions, hostfield_qp/ the non-learned armevaluations/<phase>/<arm>/ final, trap and robustness rollouts (episodes.jsonl, summary.json)report/ tables and figures```Runs: `e2e` (3), `ts_dls` (3), `ts_qp` (3); seeds s0, s1, s2. Evaluation phases included: final, traps, robust_push, robust_fast, robust_delay.5 unmodified lines```pythonfrom huggingface_hub import hf_hub_downloadfrom stable_baselines3 import SACpath = hf_hub_download(repo_id="<this repo>", filename="ts_qp/s0/model.zip")model = SAC.load(path, device="cpu")```The environment is `envs.reach_env.ReachEnv` in [https://github.com/appendix0/reactive-reach](https://github.com/appendix0/reactive-reach); create it with the same arm and the config recorded in `meta.json`.26 unmodified lines27282930313233343536373839404142434445464748495051525354556 unmodified lines626364656667686970715 unmodified lines77787980818283848526 unmodified linesThe three learned arms share observation, reward, network (256x256), hyper-parameters, budget, scenes and the PD low level. The policy decides at 25 Hz; the lower layer runs every 10 ms.## ResultsThree seeds per learned arm, 100,000 policy decisions (400,000 control ticks of 10 ms) each, evaluated on 200 held-out scenes. Hypotheses, estimators and decision rules were sealed before any campaign run ([preregistration/](preregistration/)).| Arm | Success | 95 % CI | Episodes with obstacle contact ||---|---|---|---|| TS-QP | 0.758 | [0.723, 0.792] | 0.000 || TS-DLS | 0.152 | [0.123, 0.182] | 0.303 || E2E | 0.048 | [0.032, 0.067] | 0.373 || Field-QP (no learning; exploratory) | 0.990 | [0.975, 1.000] | 0.000 || Hypothesis | Outcome | Paired difference over scenes [95 % CI] ||---|---|---|| H1 (primary): TS-QP success > E2E | **supported** | +0.710 [+0.667, +0.753]; better on 185 scenes, worse on 0 || H2: TS-QP contact < E2E and < TS-DLS | **supported** | β0.373 [β0.428, β0.318] and β0.303 [β0.357, β0.252] || H3: TS-QP > straight-line Field-QP on 10 trap scenes | **not supported (null)** | β0.267 [β0.567, 0.000] (TS-QP 1 of 30 runs, Field-QP 3 of 10) |- **Robustness of the claims** ([challenge/REPORT.md](challenge/REPORT.md)): H1 stays positive with intervals excluding zero in all 12 pre-committed alternative analyses (+0.305 to +0.783; the success radius moves it most), and TS-QP has zero contact episodes in every one. A placebo passes: with no obstacles, TS-QP policies give identical outcomes through damped least squares and through the QP (189 of 189 episodes).- **Where the gain comes from (exploratory):** TS-QP-trained policies driven without the QP keep success 0.605 (TS-DLS-trained: 0.152) but lose the safety (contact 0.332). Most of the success gain comes from training with the QP in the loop; the zero-contact behaviour comes from the QP at run time.- **Cost:** on one idle Ampere Neoverse-N1 core, a whole TS-QP control tick (policy network, kinematics, Python QP build, DAQP solve) took 675 Β΅s median, 914 Β΅s p99, 1,726 Β΅s at worst; no tick exceeded 2 ms. The DAQP solve alone took 62 Β΅s median; OSQP took 1,034 Β΅s on the same rollouts.- **Limits:** settings were chosen mostly from task-space pilots and E2E received only an action-scale search, so the size of H1 is not evidence that E2E cannot learn the task with more tuning. The 30 N push test was uninformative (the position controller absorbs it). Simulation only; 3 seeds; 3-D position control of the hand.- **Verification:** every number in [report/REPORT.md](report/REPORT.md) was recomputed independently from the raw runs ([audit/](audit/)).## Layout```6 unmodified lines<arm>/s<seed>/meta.json commit, config, package versions, hostfield_qp/ the non-learned armevaluations/<phase>/<arm>/ final, trap and robustness rollouts (episodes.jsonl, summary.json)report/ tables and figures (campaign)challenge/ alternative-analysis grid for H1/H2, its plan (committed before running), ledgerpreregistration/ the sealed preregistrationaudit/ independent recomputation of every number in report/```Runs: `e2e` (3), `ts_dls` (3), `ts_qp` (3); seeds s0, s1, s2. Evaluation phases included: final, traps, robust_push, robust_fast, robust_delay.5 unmodified lines```pythonfrom huggingface_hub import hf_hub_downloadfrom stable_baselines3 import SACpath = hf_hub_download(repo_id="Appendix0/reactive-reach", filename="ts_qp/s0/model.zip")model = SAC.load(path, device="cpu")```The environment is `envs.reach_env.ReachEnv` in [https://github.com/appendix0/reactive-reach](https://github.com/appendix0/reactive-reach); create it with the same arm and the config recorded in `meta.json`.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990# Reproducibility Audit: results/campaign/REPORT.md
**Date:** 2026-12-01 **Manuscript:** `~/reactive-reach/results/campaign/REPORT.md` (generated by `analysis/report.py`) **Outputs:** `~/reactive-reach/runs/campaign` (episodes.jsonl, eval.jsonl, meta.json) **Method:** every value recomputed by `quality_reports/audit_campaign_report.py`, written independently of the generator; bootstraps re-drawn with a different seed. **Tolerances:** counts exact; rates and means < 0.01; bootstrap interval bounds < 0.05.
## Summary
| Status | Count ||---|---|| PASS | 398 || FAIL | 0 || EXPLAINED | 0 || UNMATCHED | 0 || HORIZONTAL DRIFT | 0 || HORIZONTALLY UNCHECKED | 1 (README.md; see below) || **Overall verdict** | **PASS** |
Largest deviation from the report: rates/means 0.0050, interval bounds 0.0337.
## Checks by section
| Section Β· row | Values checked | Failed ||---|---|---|| End-of-training success, paired by scene Β· TS-QP β E2E | 6 | 0 || End-of-training success, paired by scene Β· TS-QP β TS-DLS | 6 | 0 || End-of-training success, paired by scene Β· TS-DLS β E2E | 6 | 0 || End-of-training success, paired by scene Β· TS-QP β Field-QP | 6 | 0 || Episodes with robot-obstacle contact, pa Β· TS-QP β E2E | 6 | 0 || Episodes with robot-obstacle contact, pa Β· TS-QP β TS-DLS | 6 | 0 || Episodes with robot-obstacle contact, pa Β· TS-DLS β E2E | 6 | 0 || Episodes with robot-obstacle contact, pa Β· TS-QP β Field-QP | 6 | 0 || Trap scenes, paired by scene Β· TS-QP β E2E | 6 | 0 || Trap scenes, paired by scene Β· TS-QP β TS-DLS | 6 | 0 || Trap scenes, paired by scene Β· TS-DLS β E2E | 6 | 0 || Trap scenes, paired by scene Β· TS-QP β Field-QP | 6 | 0 || Learning Β· E2E s0 | 4 | 0 || Learning Β· E2E s1 | 4 | 0 || Learning Β· E2E s2 | 4 | 0 || Learning Β· TS-DLS s0 | 4 | 0 || Learning Β· TS-DLS s1 | 4 | 0 || Learning Β· TS-DLS s2 | 4 | 0 || Learning Β· TS-QP s0 | 4 | 0 || Learning Β· TS-QP s1 | 4 | 0 || Learning Β· TS-QP s2 | 4 | 0 || Final evaluation Β· E2E | 15 | 0 || Final evaluation Β· TS-DLS | 15 | 0 || Final evaluation Β· TS-QP | 15 | 0 || Final evaluation Β· Field-QP | 13 | 0 || Trap scenes (frozen set, static) Β· E2E | 15 | 0 || Trap scenes (frozen set, static) Β· TS-DLS | 15 | 0 || Trap scenes (frozen set, static) Β· TS-QP | 15 | 0 || Trap scenes (frozen set, static) Β· Field-QP | 13 | 0 || Robustness: 30 N push for 0.1 s Β· E2E | 15 | 0 || Robustness: 30 N push for 0.1 s Β· TS-DLS | 15 | 0 || Robustness: 30 N push for 0.1 s Β· TS-QP | 15 | 0 || Robustness: 30 N push for 0.1 s Β· Field-QP | 13 | 0 || Robustness: target at 0.3 m/s Β· E2E | 15 | 0 || Robustness: target at 0.3 m/s Β· TS-DLS | 15 | 0 || Robustness: target at 0.3 m/s Β· TS-QP | 15 | 0 || Robustness: target at 0.3 m/s Β· Field-QP | 13 | 0 || Robustness: 2-step actuator dela Β· E2E | 15 | 0 || Robustness: 2-step actuator dela Β· TS-DLS | 15 | 0 || Robustness: 2-step actuator dela Β· TS-QP | 15 | 0 || Robustness: 2-step actuator dela Β· Field-QP | 13 | 0 |
## Horizontal check
| Artifact | Value | Agrees ||---|---|---|| Hugging Face Appendix0/reactive-reach Β· report/REPORT.md | byte-identical copy | yes || challenge/results/REPORT.md Β· base row | 0.758 / 0.152 / 0.048 and +0.710 [+0.667, +0.753] | yes || challenge/results/REPORT.md Β· base contact | 0.000 / 0.303 / 0.373 | yes || Memex projects/rophi-reactive-reach Β· H1 numbers | TS-QP 0.758 vs E2E 0.048, paired difference +0.710 [95% CI +0.667, +0.753] | yes || Memex projects/rophi-reactive-reach Β· H2 numbers | -0.373 [-0.428, -0.318] and -0.303 [-0.357, -0.252] | yes || Memex projects/rophi-reactive-reach Β· H3 numbers | difference -0.267 [-0.567, 0.000] | yes || Memex projects/rophi-reactive-reach Β· learning milestones | 50% held-out success by 100k control ticks in all seeds and 80% by 340k-400k | yes |
## Provenance
| Commit | Dirty tree | Run directories ||---|---|---|| 93774d3 | False | 59 |
## Horizontally unchecked
- `README.md` states that no comparison between arms has been run. It quotes no numbers, but it is now out of date and must be updated before these results are cited from the repository.- Chat summaries are not artifacts and are not audited. The Korean summary (for the author's own understanding, not a deliverable) was removed from the repository; an earlier audit of it found two wrong statements ("every tick under 1 ms", "about 17Γ") that are not in this report.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374# Challenge results β H1 and H2
Plan and pre-committed interpretation: `challenge/2026-12-01_forks.md` (commit 1b83da4). Every cell is a full 200-episode evaluation of the 9 trained final policies (3 seeds per arm), except the checkpoint cell. Intervals: 95 % bootstrap over scenes, 10,000 resamples.
## Specification table
H1 = TS-QP β E2E success. F3 is an estimand fork: "contact voids" is the preregistered outcome; "contact ignored" counts any held episode. The two are never averaged.
| Cell | Success TS-QP / TS-DLS / E2E | H1, contact voids | H1, contact ignored | TS-QP β TS-DLS, contact voids | H2 TS-QP β E2E | H2 TS-QP β TS-DLS | Contact rate TS-QP / TS-DLS / E2E ||---|---|---|---|---|---|---|---|| base (r 2 cm, hold 0.5 s) | 0.758 / 0.152 / 0.048 | +0.710 [+0.667, +0.753] | +0.705 [+0.660, +0.748] | +0.607 [+0.560, +0.652] | -0.373 [-0.428, -0.318] | -0.303 [-0.357, -0.252] | 0.000 / 0.303 / 0.373 || r 2 cm, hold 0.25 s | 0.813 / 0.203 / 0.077 | +0.737 [+0.698, +0.773] | +0.727 [+0.687, +0.765] | +0.610 [+0.565, +0.655] | -0.370 [-0.425, -0.315] | -0.303 [-0.357, -0.252] | 0.000 / 0.303 / 0.370 || r 2 cm, hold 1.0 s | 0.635 / 0.092 / 0.020 | +0.615 [+0.563, +0.667] | +0.615 [+0.563, +0.667] | +0.543 [+0.493, +0.592] | -0.373 [-0.428, -0.318] | -0.305 [-0.358, -0.252] | 0.000 / 0.305 / 0.373 || r 1 cm, hold 0.5 s | 0.395 / 0.025 / 0.000 | +0.395 [+0.338, +0.452] | +0.395 [+0.338, +0.452] | +0.370 [+0.317, +0.425] | -0.375 [-0.432, -0.320] | -0.305 [-0.358, -0.252] | 0.000 / 0.305 / 0.375 || r 1 cm, hold 0.25 s | 0.450 / 0.052 / 0.003 | +0.447 [+0.393, +0.500] | +0.445 [+0.392, +0.498] | +0.398 [+0.350, +0.448] | -0.375 [-0.432, -0.320] | -0.305 [-0.358, -0.252] | 0.000 / 0.305 / 0.375 || r 1 cm, hold 1.0 s | 0.305 / 0.015 / 0.000 | +0.305 [+0.255, +0.357] | +0.305 [+0.255, +0.357] | +0.290 [+0.242, +0.340] | -0.375 [-0.432, -0.320] | -0.305 [-0.358, -0.252] | 0.000 / 0.305 / 0.375 || r 3 cm, hold 0.5 s | 0.915 / 0.288 / 0.132 | +0.783 [+0.745, +0.820] | +0.773 [+0.733, +0.812] | +0.627 [+0.577, +0.677] | -0.372 [-0.427, -0.317] | -0.298 [-0.350, -0.247] | 0.000 / 0.298 / 0.372 || r 3 cm, hold 0.25 s | 0.943 / 0.350 / 0.202 | +0.742 [+0.698, +0.783] | +0.725 [+0.682, +0.767] | +0.593 [+0.542, +0.647] | -0.362 [-0.415, -0.308] | -0.293 [-0.345, -0.242] | 0.000 / 0.293 / 0.362 || r 3 cm, hold 1.0 s | 0.837 / 0.215 / 0.075 | +0.762 [+0.722, +0.800] | +0.757 [+0.715, +0.797] | +0.622 [+0.573, +0.670] | -0.373 [-0.428, -0.318] | -0.303 [-0.357, -0.252] | 0.000 / 0.303 / 0.373 || checkpoints 80k-100k mean | 0.718 / 0.124 / 0.045 | +0.673 [+0.634, +0.712] | +0.672 [+0.632, +0.711] | +0.594 [+0.558, +0.630] | -0.374 [-0.427, -0.322] | -0.312 [-0.364, -0.261] | 0.000 / 0.312 / 0.374 || stochastic actions | 0.670 / 0.112 / 0.035 | +0.635 [+0.587, +0.683] | +0.633 [+0.583, +0.682] | +0.558 [+0.513, +0.605] | -0.360 [-0.415, -0.307] | -0.298 [-0.352, -0.247] | 0.000 / 0.298 / 0.360 || fresh scenes 200000+ | 0.777 / 0.178 / 0.050 | +0.727 [+0.683, +0.770] | +0.727 [+0.683, +0.770] | +0.598 [+0.557, +0.642] | -0.330 [-0.383, -0.275] | -0.238 [-0.288, -0.188] | 0.000 / 0.238 / 0.330 |
## Distribution (contact-voids branch, the preregistered outcome)
- H1 Ξ over 12 cells: min +0.305, median +0.692, max +0.783.- Same sign as the baseline: 12/12. Interval excluding 0: 12/12.- Baseline percentile in its own distribution: 58th.- Spread by fork (range of H1 Ξ when only that fork varies, others at base): - F1 success radius: 0.388 (base (r 2 cm, hold 0.5 s): +0.710, r 1 cm, hold 0.5 s: +0.395, r 3 cm, hold 0.5 s: +0.783) - F2 hold time: 0.122 (base (r 2 cm, hold 0.5 s): +0.710, r 2 cm, hold 0.25 s: +0.737, r 2 cm, hold 1.0 s: +0.615) - F4 checkpoint: 0.037 (base (r 2 cm, hold 0.5 s): +0.710, checkpoints 80k-100k mean: +0.673) - F5 action sampling: 0.075 (base (r 2 cm, hold 0.5 s): +0.710, stochastic actions: +0.635) - F6 scene set: 0.017 (base (r 2 cm, hold 0.5 s): +0.710, fresh scenes 200000+: +0.727)- Largest mover: **F1 success radius**.
## Unit of independence (I1, base cell, H1)
- Scene bootstrap (preregistered): +0.710 [+0.667, +0.753].- Episode bootstrap (scene Γ seed): +0.710 [+0.673, +0.747].- Seed level: per-seed Ξ +0.720, +0.730, +0.680 (n = 3; range only).- Hierarchical (seeds, then scenes): [+0.650, +0.767].
## Seed and task sensitivity (base cell)
| Left-out seed | H1 Ξ (others) ||---|---|| s0 | +0.705 [+0.655, +0.752] || s1 | +0.700 [+0.650, +0.750] || s2 | +0.725 [+0.675, +0.772] |
| Obstacles in scene | Scenes | H1 Ξ | H2 Ξ (TS-QP β E2E contact) | H1 Ξ leaving this stratum out ||---|---|---|---|---|| 0 | 63 | +0.862 [+0.810, +0.910] | +0.000 [+0.000, +0.000] | +0.640 [+0.584, +0.693] || 1 | 71 | +0.784 [+0.718, +0.845] | -0.455 [-0.545, -0.366] | +0.669 [+0.612, +0.726] || 2 | 66 | +0.485 [+0.409, +0.561] | -0.641 [-0.722, -0.551] | +0.821 [+0.779, +0.861] |
## Placebo P1 (harness check)
TS-QP policies driven through DLS instead of the QP, on the 189 zero-obstacle episodes (3 seeds): outcomes differing from the QP run in **0** episodes. P1 **PASSES** (pre-committed: pass only if identical).
## Decomposition D1 (exploratory, estimand-changing)
Same TS-QP policies through DLS on all 200 base scenes: success 0.605, contact-episode rate 0.332; through the QP (campaign): success 0.758, contact 0.000. TS-DLS-trained policies through DLS: success 0.152, contact 0.303.
## Verdict against the pre-committed interpretation
- H1: **SUPPORTED** β every contact-voids cell Ξ > 0 with interval excluding 0: True; I1 intervals exclude 0 and every seed positive: True; no stratum or left-out seed reverses or loses it: True.- H2: **SUPPORTED** β TS-QP contact below both arms with intervals excluding 0 in every cell: True.- P1: **PASS**.- Identifying assumption (tuning fairness): describe-and-cite only; not bounded here.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664{ "cells": [ { "cell": "base (r 2 cm, hold 0.5 s)", "h1_voids": { "delta": 0.71, "lo": 0.6666666666666665, "hi": 0.7533333333333333, "n": 200 }, "qd_voids": { "delta": 0.6066666666666667, "lo": 0.56, "hi": 0.6516666666666667, "n": 200 }, "h1_ignored": { "delta": 0.705, "lo": 0.66, "hi": 0.7483333333333334, "n": 200 }, "qd_ignored": { "delta": 0.6000000000000001, "lo": 0.555, "hi": 0.645, "n": 200 }, "h2_e2e": { "delta": -0.3733333333333333, "lo": -0.42833333333333334, "hi": -0.3183333333333333, "n": 200 }, "h2_dls": { "delta": -0.30333333333333334, "lo": -0.3566666666666667, "hi": -0.25166666666666665, "n": 200 }, "rates": { "e2e": 0.04833333333333333, "ts_dls": 0.1516666666666667, "ts_qp": 0.7583333333333333 }, "contact": { "e2e": 0.3733333333333333, "ts_dls": 0.3033333333333333, "ts_qp": 0.0 } }, { "cell": "r 2 cm, hold 0.25 s", "h1_voids": { "delta": 0.7366666666666667, "lo": 0.6983333333333333, "hi": 0.7733333333333334, "n": 200 }, "qd_voids": { "delta": 0.61, "lo": 0.565, "hi": 0.655, "n": 200 }, "h1_ignored": { "delta": 0.7266666666666667, "lo": 0.6866666666666665, "hi": 0.765, "n": 200 }, "qd_ignored": { "delta": 0.5983333333333333, "lo": 0.5533333333333333, "hi": 0.6433333333333334, "n": 200 }, "h2_e2e": { "delta": -0.36999999999999994, "lo": -0.425, "hi": -0.315, "n": 200 }, "h2_dls": { "delta": -0.30333333333333334, "lo": -0.3566666666666667, "hi": -0.25166666666666665, "n": 200 }, "rates": { "e2e": 0.07666666666666666, "ts_dls": 0.20333333333333334, "ts_qp": 0.8133333333333335 }, "contact": { "e2e": 0.37000000000000005, "ts_dls": 0.3033333333333333, "ts_qp": 0.0 } }, { "cell": "r 2 cm, hold 1.0 s", "h1_voids": { "delta": 0.6150000000000001, "lo": 0.5633333333333332, "hi": 0.6666666666666665, "n": 200 }, "qd_voids": { "delta": 0.5433333333333333, "lo": 0.4933333333333334, "hi": 0.5916666666666667, "n": 200 }, "h1_ignored": { "delta": 0.6150000000000001, "lo": 0.5633333333333332, "hi": 0.6666666666666665, "n": 200 }, "qd_ignored": { "delta": 0.5433333333333333, "lo": 0.4933333333333334, "hi": 0.5916666666666667, "n": 200 }, "h2_e2e": { "delta": -0.3733333333333333, "lo": -0.42833333333333334, "hi": -0.3183333333333333, "n": 200 }, "h2_dls": { "delta": -0.30499999999999994, "lo": -0.35833333333333334, "hi": -0.25166666666666665, "n": 200 }, "rates": { "e2e": 0.02, "ts_dls": 0.09166666666666667, "ts_qp": 0.635 }, "contact": { "e2e": 0.3733333333333333, "ts_dls": 0.305, "ts_qp": 0.0 } }, { "cell": "r 1 cm, hold 0.5 s", "h1_voids": { "delta": 0.395, "lo": 0.3383333333333334, "hi": 0.45166666666666666, "n": 200 }, "qd_voids": { "delta": 0.37, "lo": 0.31666666666666665, "hi": 0.425, "n": 200 }, "h1_ignored": { "delta": 0.395, "lo": 0.3383333333333334, "hi": 0.45166666666666666, "n": 200 }, "qd_ignored": { "delta": 0.37, "lo": 0.31666666666666665, "hi": 0.425, "n": 200 }, "h2_e2e": { "delta": -0.375, "lo": -0.43166666666666664, "hi": -0.32, "n": 200 }, "h2_dls": { "delta": -0.30499999999999994, "lo": -0.35833333333333334, "hi": -0.25166666666666665, "n": 200 }, "rates": { "e2e": 0.0, "ts_dls": 0.025000000000000005, "ts_qp": 0.395 }, "contact": { "e2e": 0.375, "ts_dls": 0.305, "ts_qp": 0.0 } }, { "cell": "r 1 cm, hold 0.25 s", "h1_voids": { "delta": 0.44666666666666666, "lo": 0.3933333333333333, "hi": 0.5, "n": 200 }, "qd_voids": { "delta": 0.39833333333333326, "lo": 0.35, "hi": 0.44833333333333336, "n": 200 }, "h1_ignored": { "delta": 0.445, "lo": 0.39166666666666666, "hi": 0.4983333333333333, "n": 200 }, "qd_ignored": { "delta": 0.39833333333333326, "lo": 0.35, "hi": 0.44833333333333336, "n": 200 }, "h2_e2e": { "delta": -0.375, "lo": -0.43166666666666664, "hi": -0.32, "n": 200 }, "h2_dls": { "delta": -0.30499999999999994, "lo": -0.35833333333333334, "hi": -0.25166666666666665, "n": 200 }, "rates": { "e2e": 0.0033333333333333335, "ts_dls": 0.051666666666666666, "ts_qp": 0.45 }, "contact": { "e2e": 0.375, "ts_dls": 0.305, "ts_qp": 0.0 } }, { "cell": "r 1 cm, hold 1.0 s", "h1_voids": { "delta": 0.305, "lo": 0.255, "hi": 0.3566666666666667, "n": 200 }, "qd_voids": { "delta": 0.29, "lo": 0.24166666666666664, "hi": 0.34, "n": 200 }, "h1_ignored": { "delta": 0.305, "lo": 0.255, "hi": 0.3566666666666667, "n": 200 }, "qd_ignored": { "delta": 0.29, "lo": 0.24166666666666664, "hi": 0.34, "n": 200 }, "h2_e2e": { "delta": -0.375, "lo": -0.43166666666666664, "hi": -0.32, "n": 200 }, "h2_dls": { "delta": -0.30499999999999994, "lo": -0.35833333333333334, "hi": -0.25166666666666665, "n": 200 }, "rates": { "e2e": 0.0, "ts_dls": 0.015, "ts_qp": 0.305 }, "contact": { "e2e": 0.375, "ts_dls": 0.305, "ts_qp": 0.0 } }, { "cell": "r 3 cm, hold 0.5 s", "h1_voids": { "delta": 0.7833333333333334, "lo": 0.745, "hi": 0.82, "n": 200 }, "qd_voids": { "delta": 0.6266666666666667, "lo": 0.5766666666666667, "hi": 0.6766666666666665, "n": 200 }, "h1_ignored": { "delta": 0.7733333333333334, "lo": 0.7333333333333334, "hi": 0.8116666666666665, "n": 200 }, "qd_ignored": { "delta": 0.6083333333333333, "lo": 0.5583333333333333, "hi": 0.6583333333333334, "n": 200 }, "h2_e2e": { "delta": -0.3716666666666666, "lo": -0.4266666666666667, "hi": -0.31666666666666665, "n": 200 }, "h2_dls": { "delta": -0.2983333333333333, "lo": -0.35, "hi": -0.24666666666666665, "n": 200 }, "rates": { "e2e": 0.13166666666666668, "ts_dls": 0.28833333333333333, "ts_qp": 0.915 }, "contact": { "e2e": 0.37166666666666665, "ts_dls": 0.29833333333333334, "ts_qp": 0.0 } }, { "cell": "r 3 cm, hold 0.25 s", "h1_voids": { "delta": 0.7416666666666667, "lo": 0.6983333333333335, "hi": 0.7833333333333333, "n": 200 }, "qd_voids": { "delta": 0.5933333333333334, "lo": 0.541625, "hi": 0.6466666666666667, "n": 200 }, "h1_ignored": { "delta": 0.725, "lo": 0.6816666666666668, "hi": 0.7666666666666666, "n": 200 }, "qd_ignored": { "delta": 0.5583333333333333, "lo": 0.5066666666666667, "hi": 0.61, "n": 200 }, "h2_e2e": { "delta": -0.36166666666666664, "lo": -0.415, "hi": -0.30833333333333335, "n": 200 }, "h2_dls": { "delta": -0.2933333333333333, "lo": -0.345, "hi": -0.24166666666666664, "n": 200 }, "rates": { "e2e": 0.20166666666666666, "ts_dls": 0.35000000000000003, "ts_qp": 0.9433333333333332 }, "contact": { "e2e": 0.36166666666666664, "ts_dls": 0.2933333333333333, "ts_qp": 0.0 } }, { "cell": "r 3 cm, hold 1.0 s", "h1_voids": { "delta": 0.7616666666666667, "lo": 0.7216666666666666, "hi": 0.8, "n": 200 }, "qd_voids": { "delta": 0.6216666666666667, "lo": 0.5733333333333333, "hi": 0.67, "n": 200 }, "h1_ignored": { "delta": 0.7566666666666667, "lo": 0.715, "hi": 0.7966666666666665, "n": 200 }, "qd_ignored": { "delta": 0.6166666666666667, "lo": 0.5683333333333334, "hi": 0.665, "n": 200 }, "h2_e2e": { "delta": -0.3733333333333333, "lo": -0.42833333333333334, "hi": -0.3183333333333333, "n": 200 }, "h2_dls": { "delta": -0.30333333333333334, "lo": -0.3566666666666667, "hi": -0.25166666666666665, "n": 200 }, "rates": { "e2e": 0.07500000000000001, "ts_dls": 0.215, "ts_qp": 0.8366666666666666 }, "contact": { "e2e": 0.3733333333333333, "ts_dls": 0.3033333333333333, "ts_qp": 0.0 } }, { "cell": "checkpoints 80k-100k mean", "h1_voids": { "delta": 0.6733333333333333, "lo": 0.6338888888888888, "hi": 0.7116805555555553, "n": 200 }, "qd_voids": { "delta": 0.5944444444444444, "lo": 0.5583333333333332, "hi": 0.63, "n": 200 }, "h1_ignored": { "delta": 0.6716666666666665, "lo": 0.6322222222222222, "hi": 0.7105555555555554, "n": 200 }, "qd_ignored": { "delta": 0.5894444444444444, "lo": 0.5533333333333332, "hi": 0.625, "n": 200 }, "h2_e2e": { "delta": -0.3738888888888889, "lo": -0.4272222222222222, "hi": -0.3222222222222222, "n": 200 }, "h2_dls": { "delta": -0.31222222222222223, "lo": -0.3638888888888889, "hi": -0.26111111111111107, "n": 200 }, "rates": { "e2e": 0.04499999999999999, "ts_dls": 0.12388888888888887, "ts_qp": 0.7183333333333332 }, "contact": { "e2e": 0.3738888888888889, "ts_dls": 0.31222222222222223, "ts_qp": 0.0 } }, { "cell": "stochastic actions", "h1_voids": { "delta": 0.635, "lo": 0.5866666666666667, "hi": 0.6833333333333332, "n": 200 }, "qd_voids": { "delta": 0.5583333333333332, "lo": 0.5133333333333333, "hi": 0.605, "n": 200 }, "h1_ignored": { "delta": 0.6333333333333333, "lo": 0.5833333333333334, "hi": 0.6816666666666665, "n": 200 }, "qd_ignored": { "delta": 0.5583333333333332, "lo": 0.5133333333333333, "hi": 0.605, "n": 200 }, "h2_e2e": { "delta": -0.36, "lo": -0.415, "hi": -0.30666666666666664, "n": 200 }, "h2_dls": { "delta": -0.2983333333333333, "lo": -0.3516666666666666, "hi": -0.24666666666666665, "n": 200 }, "rates": { "e2e": 0.035, "ts_dls": 0.11166666666666668, "ts_qp": 0.6699999999999999 }, "contact": { "e2e": 0.36000000000000004, "ts_dls": 0.29833333333333334, "ts_qp": 0.0 } }, { "cell": "fresh scenes 200000+", "h1_voids": { "delta": 0.7266666666666667, "lo": 0.6833333333333335, "hi": 0.77, "n": 200 }, "qd_voids": { "delta": 0.5983333333333333, "lo": 0.5566666666666666, "hi": 0.6416666666666666, "n": 200 }, "h1_ignored": { "delta": 0.7266666666666667, "lo": 0.6833333333333335, "hi": 0.77, "n": 200 }, "qd_ignored": { "delta": 0.5983333333333333, "lo": 0.5566666666666666, "hi": 0.6416666666666666, "n": 200 }, "h2_e2e": { "delta": -0.33, "lo": -0.38333333333333336, "hi": -0.275, "n": 200 }, "h2_dls": { "delta": -0.2383333333333333, "lo": -0.2883333333333333, "hi": -0.18833333333333332, "n": 200 }, "rates": { "e2e": 0.049999999999999996, "ts_dls": 0.17833333333333332, "ts_qp": 0.7766666666666667 }, "contact": { "e2e": 0.33, "ts_dls": 0.23833333333333337, "ts_qp": 0.0 } } ], "failed": [], "missing": [], "per_seed": [ 0.72, 0.73, 0.68 ], "loso": { "s0": { "delta": 0.705, "lo": 0.655, "hi": 0.7525, "n": 200 }, "s1": { "delta": 0.7, "lo": 0.65, "hi": 0.75, "n": 200 }, "s2": { "delta": 0.725, "lo": 0.675, "hi": 0.7725, "n": 200 } }, "strata": { "0": [ { "delta": 0.8624338624338623, "lo": 0.8095238095238094, "hi": 0.9100529100529101, "n": 63 }, { "delta": 0.0, "lo": 0.0, "hi": 0.0, "n": 63 } ], "1": [ { "delta": 0.7840375586854461, "lo": 0.7183098591549296, "hi": 0.8450704225352111, "n": 71 }, { "delta": -0.45539906103286387, "lo": -0.544600938967136, "hi": -0.36619718309859156, "n": 71 } ], "2": [ { "delta": 0.48484848484848486, "lo": 0.4090909090909091, "hi": 0.5606060606060606, "n": 66 }, { "delta": -0.6414141414141413, "lo": -0.7222222222222223, "hi": -0.5505050505050505, "n": 66 } ] }, "p1_pass": true}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182# Challenge plan β H1 and H2 (written before any fork is run)
Date 2026-12-01. Campaign: preregistration `preregistrations/2026-12-01_reactive-reach-campaign.md`,runs in `~/reactive-reach/runs/campaign` (commit 93774d3). This file is committed before the gridruns; it is the pre-registration of the challenge. Fork evaluations reuse the 9 trained finalpolicies (and their checkpoints); no policy is retrained. Sealed campaign files are not edited:all challenge code lives in `challenge/`.
## Estimands, in words
- **H1:** the difference in end-of-training success probability between TS-QP and E2E, on the distribution of held-out scenes the environment generates, for policies trained with the frozen settings for 100,000 decisions, averaged over training seeds 0β2, under the deterministic evaluation policy. Success = within 2 cm of the target for 0.5 s with no robot-obstacle contact.- **H2:** the difference in the probability of an evaluation episode containing any robot-obstacle contact, TS-QP β E2E and TS-QP β TS-DLS, same population.
Baseline values (campaign report): H1 Ξ = +0.710; H2 Ξ = β0.373 (vs E2E), β0.303 (vs TS-DLS).
## Forks
| # | Fork | Alternatives (base first) | Kind | Needs new rollouts ||---|---|---|---|---|| F1 | Success radius | 2 cm Β· 1 cm Β· 3 cm | estimate (measure definition, same task) | yes || F2 | Hold time | 0.5 s Β· 0.25 s Β· 1.0 s | estimate (measure definition) | yes || F3 | Contact rule in success | contact voids success Β· contact ignored ("held") | **estimand** (safety in or out of the outcome) | no || F4 | "End of training" | final policy (100k) Β· mean of the 80k, 90k, 100k checkpoints | estimate | yes (80k, 90k) || F5 | Evaluation action | deterministic mean Β· stochastic sample | estimate | yes || F6 | Scene set | 100000β100199 Β· fresh 200000β200199 (never used by anyone) | estimate | yes || I1 | Unit of independence (inference only) | scene bootstrap Β· episode bootstrap Β· seed-level (3 per-seed differences) Β· hierarchical (seeds, then scenes) | estimate | no |
Grid: F1 Γ F2 = 9 measure cells, each under both F3 branches (18), plus F4, F5, F6 at the basemeasure under both F3 branches (6): **24 specification cells** per contrast (H1: TS-QP β E2E;also reported: TS-QP β TS-DLS). I1 is applied to the base cell. F3 is an estimand fork: its twobranches are reported separately and never averaged. Within the F1 Γ F2 grid, success radius andhold time change termination, so each cell is a full re-rollout, not a re-scoring.
Not run, and why: Field-QP (not in H1/H2); retraining forks (budget, seeds, E2E tuning) β thetuning-bias concern is addressed in "Identifying assumption" below and cannot be run in budget.
## Sensitivity (local rebinding)
- **Seed sensitivity:** leave-one-seed-out H1 (3 values) and the fresh scene set (F6).- **Task sensitivity:** H1 and H2 stratified by number of obstacles (0, 1, 2) and leave-one-stratum-out.- **Referee sensitivity:** success is computed by code from the simulator's own contact list, independent of the controller's sphere model; F1βF3 are the stricter/looser referee thresholds.
## Placebo (harness check)
- **P1.** With no obstacle in the scene, the QP's output equals damped least squares (measured earlier: 0 of 6,670 ticks differed). So the TS-QP-trained policies driven through the DLS lower layer on the 0-obstacle base scenes must give **exactly** the same outcomes as through the QP. Any difference means the harness is confounded.
## Decomposition (exploratory, estimand-changing; reported separately)
- **D1.** TS-QP-trained policies evaluated through the DLS lower layer on all base scenes. Splits TS-QP's advantage into "what the policy learned with the QP in the loop" and "the QP acting at run time".
## Identifying assumption
H1 attributes the difference to the lower layer. The untestable part: the frozen settings werechosen mostly from TS-DLS pilot curves, and E2E had only an action-scale search (pilot p7: nochange in distance at 0.3 / 0.5 / 1.0). No computable bound exists here for "E2E with tuning itnever got". **Label: describe-and-cite only.** A bound would need retraining E2E under a tuningbudget equal to the task-space arms', which this challenge does not run.
## Pre-committed interpretation
- **SUPPORTS H1** if, in the contact-voids branch of F3, every measure/checkpoint/action/scene cell has Ξ > 0 with a 95 % scene-bootstrap interval excluding 0, the seed-level and hierarchical intervals (I1) also exclude 0, and no obstacle stratum or left-out seed reverses the sign.- **WEAKENS H1** if any defensible cell has Ξ β€ 0 or an interval including 0, or if H1 is carried by one obstacle stratum (Ξ β 0, interval including 0, in the other two).- **SUPPORTS H2** if TS-QP's contact-episode rate stays below both other arms' with intervals excluding 0 in every cell; **WEAKENS** otherwise.- **P1 passes** only if outcomes are identical on every 0-obstacle scene; any difference **fails** it and is reported as a harness confound.- Whatever the grid shows, the report gives the whole distribution, the baseline's percentile in it, and which fork moves the estimate most.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251# Preregistration β Structure vs End-to-End in Reactive Control: comparison campaign
- **Style:** `agent` (local adaptation of /preregister). The agents are reinforcement-learning policies, not language models; fields written for language models are mapped to their RL equivalent or marked not applicable, with the reason.- **Author:** Joonsuh Yoon. Drafted with Claude Code (Opus 5.5).- **Date / version:** 2026-12-01, v1.- **Source specification:** `BLUEPRINT.md` v0.8 and `docs/DECISIONS.md` (decisions 1β27), at commit `fe983e9`.- **Registry:** none external; the git commit that adds this file with its SEAL block is the timestamp authority.- **Status at writing:** no campaign run exists. Training seeds 0, 1, 2 have never been used.
Annotations: **MUST** = required for the seal, **SHOULD** = expected, **MAY** = optional.
---
## 1. Research question β MUST
In one controlled MuJoCo experiment, what does a constraint layer between a learned policy anda robot's joints buy (end-of-training success, safety) relative to end-to-end learning?
## 2. Hypotheses β MUST (directional)
- **H1 (primary).** At the end of training, **TS-QP has a higher success rate than E2E** on the 200 held-out evaluation scenes.- **H2 (secondary, confirmatory).** **TS-QP has a lower rate of evaluation episodes with robot-obstacle contact than E2E, and lower than TS-DLS**, on the same 200 scenes.- **H3 (secondary, confirmatory).** On the frozen trap set (10 static scenes), **TS-QP has a higher success rate than Field-QP**, the straight-line hand-designed field driving the same QP.
Field-QP is a straight-line, speed-profiled attractor with target-velocity feed-forward,closest to the linear baseline of Lee et al. 2025 (arXiv 2509.01044) and **not** that paper'spath-optimised field. H3 is a statement about this straight-line field only.
## 3. Model identity β MUST (RL mapping)
No language model is in the loop. Every learned component:
| Item | Value ||---|---|| Algorithm | Soft Actor-Critic, Stable-Baselines3 2.9.2 (`stable_baselines3.SAC`, `MlpPolicy`) || Network | actor and two critics, MLP 256Γ256, SB3 defaults otherwise || Hyper-parameters | learning rate 3e-4, buffer 300,000, learning starts 2,000, batch 256, Ο 0.005, Ξ³ 0.96 per decision, train_freq 1, gradient steps 1, entropy coefficient auto with initial value 0.1 (`scripts/train.py` `SAC_KWARGS`) || Framework | PyTorch 2.15.0, CPU, `torch.set_num_threads(1)`, one core per run (`taskset`) || Simulator | MuJoCo 3.17.0; MuJoCo Menagerie Franka Panda `panda_nohand.xml` (hashed in SEAL) || QP solver | DAQP 0.11.0 via qpsolvers 4.13.0 || Other | Python 3.12.3, NumPy 2.5.4, SciPy 1.18.1, Gymnasium 1.4.0 || Host | OCI VM, Ampere Neoverse-N1, aarch64, 4 vCPU |
Field-QP has no learned component (`control/field.py`).
## 4. Decoding settings β MUST (RL mapping)
- **Training:** SAC's stochastic tanh-squashed Gaussian policy. Seeds 0, 1, 2 seed both SAC (`seed=`) and the environment (`env.reset(seed=)`).- **Evaluation:** deterministic action (the actor's mean), computed by the actor's forward pass.- **Rates:** the policy decides every 40 ms (25 Hz) and its command is held for 4 control ticks; the lower layer (clip / DLS / QP) runs every 10 ms; physics every 2 ms.- **Action interface:** E2E outputs 7 joint velocities scaled to 0.3 Γ the joint speed limits; TS-DLS and TS-QP output a 3-D hand velocity scaled to 0.5 m/s. The replay buffer stores the raw policy command in every arm; the lower layer is part of the environment.- **Tool set:** not applicable (no tools are exposed to the agents).- **Determinism:** single-threaded CPU; reruns with the same seed are expected but not guaranteed to be bit-identical across library builds.
## 5. Configuration provenance β MUST (replaces "prompt provenance")
There are no prompts. The equivalent researcher degrees of freedom are environment, reward andtraining settings. All are frozen in `envs/config.py`, config digest **`b053159fb88a`**:
```physics_dt 0.002, substeps 5, policy_repeat 4, episode_s 8.0, success_radius 0.02, hold_s 0.5,workspace [0.30,-0.30,0.25]..[0.60,0.30,0.65], target_speed U(0,0.15), init_q_noise 0.25,obstacles: count P(0)=P(1)=P(2)=1/3, radius U(0.04,0.08), on-path prob 0.5, moving prob 0.5,speed <= 0.10, spawn_clearance 0.06; v_max 0.5, dls_lambda 0.01, e2e_scale 0.3;QP: horizon 0.10, margin 0.03, joint_margin 0.05, slack weights 1e4 / 1e2, slack_tol 1e-4,solver daqp, spheres per link (0,3,3,2,2,3,2,2); field: speed 0.30, slow radius 0.10,feed-forward on; observation scaling on (pos_scale 0.3);reward per tick: -distance + 100 x distance closed - 1 x contact - 0.005 x ||delta qd||^2+ 5 on success (held 0.5 s with no contact in the episode).```
Settings explored before this document, and why each was kept or discarded, are recorded in`docs/DECISIONS.md` decisions 14β21 and the pilot table. They were chosen by inspecting pilotlearning curves, mostly of TS-DLS; E2E received only an action-scale search (0.3 / 0.5 / 1.0).No setting was tuned per arm.
## 6. Pilot history β MUST
Every run before this document, with whether outcomes were inspected:
| Run | Seeds / scenes | Conditions | N | Outcomes inspected ||---|---|---|---|---|| Pilots p1βp7 (`runs/pilot/`) | training seed 999; learning-curve scenes 50000β50019 | p1 all arms, 25k steps; p2 TS-DLS; p3 all arms, 25k decisions; p4 TS-DLS; p5 four variants, 10k; p6 all arms, 60k; p7 E2E action scales, 30k | 1 run per condition | **yes**. p6 showed the direction of H1 and H2 on seed 999 (TS-QP 50β70 % success, no contact; TS-DLS 5β15 %; E2E 0 %) || Throughput / smoke trainings | seeds 7, 8, 999; scenes 50000+ | all arms, 1kβ6k decisions | 9 runs | yes (near-zero success, uninformative) || Field-QP development evaluations (`runs/dev/field_qp_300`, `field_qp_frozen_100`, latency rollouts) | **evaluation scenes 100000β100299** | Field-QP | 300 + 100 + 6Γ300 episodes | **yes** (297/300 and 98/100 success, no contact) || Untrained-policy latency rollouts | evaluation scenes 100000β100059 | E2E, TS-DLS, TS-QP with untrained weights | 60 episodes each | timing inspected; success not informative || `runs/dev/campaign_smoke` | evaluation scenes 100000β100005; a development trap file (not `traps_v1`) | all arms, 2,500-decision policies | 6 episodes per phase | yes (all learned arms 0 %) || **`runs/dev/smoke_v08`** (partial run, stopped by the author) | evaluation scenes 100000β100005; **`scenes/traps_v1.json`** | E2E, TS-DLS, TS-QP at 1,000 decisions (seeds 7, 8) and **Field-QP on the trap set** | 6 episodes / 10 trap scenes | **no**. Nobody has read these outcomes. They are moved unread to `runs/quarantine/` at sealing and are excluded from every analysis || Pre-campaign arm review (2026-12-01) | evaluation scenes 100000β100059 | Field-QP and random actions through the QP | 60 + 20 episodes | yes (how often the QP alters commands; not success) |
Consequences, pre-committed:- H1 and H2 involve only learned arms on seeds 0, 1, 2, which have never been run. They are confirmatory, with the disclosed caveat that pilot p6 (seed 999) already showed their direction.- H3's trap set has never been inspected for any controller. H3 is confirmatory provided the quarantined `smoke_v08` outcomes stay unread until the campaign's trap phase has run.- Field-QP's results on the evaluation scenes were seen. **Any Field-QP comparison on those scenes is exploratory.** Field-QP is therefore not part of H2.
## 7. Condition grid β MUST
| Arm | Upper layer | Lower layer (every 10 ms) | Trained runs ||---|---|---|---|| `e2e` | SAC, 7 joint velocities | clip to 0.3 Γ joint speed limits | seeds 0, 1, 2 || `ts_dls` | SAC, 3-D hand velocity | damped least squares, Ξ» 0.01 | seeds 0, 1, 2 || `ts_qp` | SAC, 3-D hand velocity | joint-space QP: tracking + Ξ»βqΜβΒ², joint-limit and speed bounds, one collision row per robot sphere Γ obstacle including obstacle velocity, one penalised slack | seeds 0, 1, 2 || `field_qp` | straight-line field, no learning | the same QP | none (deterministic) |
Shared across arms: observation (46-D, scaled), reward, scenes, network, hyper-parameters,budget, and the low level (joint velocity integrated to a position target, Menagerie PD actuators).
## 8. Task and seed set β MUST
- **Training:** seeds 0, 1, 2 for each learned arm; scenes drawn from the environment's generator seeded by the training seed.- **Learning curve (secondary measure):** scenes from seeds 50000β50029, evaluated every 5,000 decisions.- **Primary evaluation:** scenes from seeds **100000β100199** (200 episodes per policy), the same scenes for every arm.- **Trap set:** `scenes/traps_v1.json` (10 static "gate" scenes, generator seed 20261114, each with an independent witness path), hashed in the SEAL.- **Robustness (exploratory):** seeds 100000β100199 with `push_force=30`, `target_speed_override=0.3`, or `delay_steps=2`.- The commands are `scripts/campaign.sh train | final | traps | robust | report` with defaults `STEPS=100000 SEEDS="0 1 2" EPISODES=200 EVAL_EVERY=5000 EVAL_EPISODES=30`.
## 9. Referee protocol β MUST
No human or model assigns labels. Outcomes are computed by code:- **Success:** the hand within 0.02 m of the target for 0.5 s (50 consecutive control ticks), with zero robot-obstacle contacts at any physics substep of the episode (`envs/reach_env.py`, `_tick`).- **Contact (`collided`):** any MuJoCo contact between an obstacle geom and a robot link body at any 2 ms physics substep.Blinding is not applicable because no judgement is subjective. Disagreement: not applicable.
## 10. Stopping rule β MUST
Fixed budget: 100,000 policy decisions (400,000 control ticks) per run, 3 seeds per learned arm,9 runs. No early stopping, no extra seeds, no change of budget conditional on results. Eachfinal policy is evaluated on exactly 200 episodes.
## 11. Primary outcome and estimator β MUST
- **Primary outcome:** `success` of each evaluation episode on scenes 100000β100199.- **Estimator (H1):** for each scene, success averaged over an arm's 3 seeds; the mean over the 200 scenes of the per-scene difference TS-QP β E2E; 95 % percentile bootstrap interval over scenes (10,000 resamples, generator seed 0), as implemented in `analysis/report.py` `paired()`.- **Decision rule:** H1 is supported if the interval's lower bound is above 0. If the upper bound is below 0, the reversal is reported. Otherwise the result is a null.- **H2:** the same estimator on `collided`, for TS-QP β E2E and TS-QP β TS-DLS. H2 is supported if both upper bounds are below 0.- **H3:** the same estimator on `success` over the 10 trap scenes, TS-QP β Field-QP (Field-QP is deterministic: one evaluation). H3 is supported if the lower bound is above 0.- **Multiplicity:** one primary hypothesis (H1). H2 and H3 are each judged at their own 95 % interval, with no correction, and are reported as secondary.- **Precision (approximate, no formal power analysis):** with 200 paired scenes and a per-scene difference standard deviation of 0.6 or less, the 95 % half-width is about 0.08; smaller true differences may not be resolved. With 10 trap scenes, H3 can resolve only large differences. Seed-to-seed variation is averaged within scenes, not resampled; per-seed success rates are reported alongside.
## 12. What a null means β MUST
- **H1 null:** under this budget and these frozen settings, routing a task-space policy through the constraint layer did not raise end-of-training success over end-to-end learning by a resolvable margin. Because settings were tuned mostly on TS-DLS pilots and E2E had only an action-scale search, a null is not evidence that end-to-end learning is better in general, and a positive result is not evidence that E2E cannot learn the task with more budget or tuning.- **H2 null:** the QP layer did not reduce contact episodes measurably relative to that arm. Since the QP constrains predicted distances with a 3 cm margin, a null would point to the sphere model, the linearisation over 0.1 s, PD tracking lag or moving obstacles, and these are examined (exploratory) before any interpretation.- **H3 null:** on these 10 traps, a learned upper layer did not solve more scenes than the straight-line field. Either the traps do not trap the field (reported from the scene table) or the learned policy stalls in the same places. It says nothing about path-optimised fields.
## 13. Exclusions β MUST (ex ante)
- **No evaluation episode is excluded.** Timeouts, contacts, slack events and QP solver failures (on failure the lower layer outputs zero joint velocity and the episode continues) all count.- **Training runs:** a run that crashes is restarted once from scratch with the same seed, and both attempts are logged. If it crashes again, that seed is reported as missing; the analyses use the remaining seeds, and the gap is stated. No replacement seeds.- **Quarantined data:** `runs/dev/smoke_v08` (moved to `runs/quarantine/smoke_v08_unread`) and all pilot and development runs are excluded from every confirmatory analysis.
## 14. Exploratory analyses β SHOULD (labelled, not hypothesis tests)
E1: how the TS-QP β E2E gap splits into TS-DLS β E2E and TS-QP β TS-DLS. Learning curves and controlticks to 50 % and 80 % success. Contact steps per episode, joint-limit touches (the QP arms keep0.05 rad from every limit by construction), held rate, distance, slack events and solver failures.Every Field-QP comparison on scenes 100000β100199. Robustness (push, fast target, delay). M4:per-tick latency and scaling, already measured during development and therefore reported as ameasurement, not a hypothesis.
## 15. Deviations β SHOULD
Any change to a file in the sealed set after sealing aborts the campaign and requires anamendment under /preregister Change 4, recording whether outcomes had been inspected. Filesoutside the sealed set (README, rendering, Hugging Face upload, tests) may change withoutaffecting the seal.
## 16. Other β MAY
- Learning process kept for every run: TensorBoard logs, checkpoints every 10,000 decisions, a video per checkpoint. Published to the Hugging Face model repository `Appendix0/reactive-reach` (private unless made public). Publication does not affect any analysis.- Departures from the original blueprint (25 Hz policy, Stable-Baselines3 SAC instead of the author's own SAC, progress reward, observation scaling, H4 demoted to a measurement) are listed in BLUEPRINT.md "As built".
## Sealed file set (declared)
The runner and analysis path only: `envs/config.py`, `envs/model.py`, `envs/reach_env.py`,`control/kinematics.py`, `control/qp.py`, `control/dls.py`, `control/field.py`,`scripts/train.py`, `scripts/rollout.py`, `scripts/common.py`, `scripts/campaign.sh`,`analysis/report.py`, `scenes/traps_v1.json`, and the robot model`third_party/menagerie/franka_emika_panda/panda_nohand.xml` with its `assets/` tree (outside git;hashed here).
## SEALpreregistration_sha256: 1b8a5100db3bed902c116e74c477c2f66465677d949f1bb52b2eaa3547cacb3bsealed_file_set: - path: envs/config.py sha256: 2ef15367f13a739677ae3704442eb0a23324d3bd85b191165a1dafac2c2ff07d - path: envs/model.py sha256: c8af36a33f8f7897a05f9a192ab7d5b69f3352946bd9438552a23d890c245c76 - path: envs/reach_env.py sha256: c7c2e0d32ca3dc1bd33d7964c5f0d4b75c8666b785ad36a1db68f8298630c3f0 - path: control/kinematics.py sha256: 7639c627d2e10c1d18d82bdc46528bf08cd92db0f8e6cdc3593f42118b3396b8 - path: control/qp.py sha256: c0f6ea5a0a9ac915de8225727df45c339ca3e6ba01aa21cdd5a1edcaddcc2f58 - path: control/dls.py sha256: c806fde390c0a061e93e2bb5ceba2c58bfe93679ee5d554384d3025f3cfd3569 - path: control/field.py sha256: e16e838fd65b468fd95fefce75a36d96431ff4d8fde28e24a62b56bbc7a1e181 - path: scripts/train.py sha256: 19f04d083effaa4768a8d3dd7e1c0c14d53989a0532ebf9e9e2fa08519826948 - path: scripts/rollout.py sha256: c3932f276a4a5dbf6d3a95a39d85c4279e2877ceffb553f4d94571726a630831 - path: scripts/common.py sha256: 290536d44c0237644b63415595d9b0556083db5daaa30948c04f1c84501cf318 - path: scripts/campaign.sh sha256: 84f62e63b447a9ed9289eedb1ac71d94a8077f4a67523596ca00774ee7f65005 - path: analysis/report.py sha256: 6114c6adb6f9918d884d6c0116f5bba32a221e63aeab8177141e51dad68206fd - path: scenes/traps_v1.json sha256: cb8e9b8bd392980c0d40ac69bc52172dc5ea4321ea8401e0989cac35e3bd72a9 - path: third_party/menagerie/franka_emika_panda/panda_nohand.xml sha256: f05c9674dbc6081c8f096133d8537bdd977f87ec8eeb6264a77a9295ae88af09 - path: third_party/menagerie/franka_emika_panda/assets/ (sha256 of the sorted '<sha256> assets/<file>' listing) sha256: 8d39633f25a433968478139aebdc727e2381ad97e6fcbf1522df972c49eaadf7sealed_at: 2026-12-01T05:23:46Zsealed_commit: fe983e918f720185bfaac47184dd62cf0fe5c879README.md+29-2
audit/reproducibility_audit_campaign_report.mdAdded+90
challenge/REPORT.mdAdded+74
challenge/ledger.jsonAdded+664
challenge/plan_committed_before_running.mdAdded+82
challenge/spec_curve_h1.pngAdded

preregistration/2026-12-01_reactive-reach-campaign.mdAdded+251