elidot · relmw-qnx
Simulation results 1 kHz Simplex + Tiny-MLP

Simulation · 100 paired episodes per arm · not a physical robot

relmw recovers 98 of 100 fault‑injected robot episodes

Same faults, same seeds: no middleware 78, naive retry 80. QNX 8.0 numbers appear only after the first QEMU run.

Generated 2026-12-01T11:35:28-08:00 · failure library: 7 entries


Field success · relmw
98/100
95% CI 93.0%–99.4%naive 80 · none 78
vs no middleware
+20 pp
McNemar p = 1.9e-06fixed 20 · broken 0
Same failure repeated
3/25
retries that failed the same way againnaive retry 45/61
Host loop p99 · 1 kHz
262.1 µs
Linux, SCHED_OTHER, shared hostmax 3138.5 µs · QNX pending
Condition
Arms

00 S+ Dual-Screen Replay · 1 kHz Simplex Safety Shield & Tiny-MLP

Left Screen · Surgical No-Go Zone & Simulated IPC Drop Replay (128-B Binary)

Naive Retry (Unshielded MLP)No-Go Intrusion
relmw-qnx (1 kHz Simplex Shield)0.0 mm Intrusion
frame 0/0
Wire Frame (128 B)seq=0 · CRC OK
Active Strategyfirst_try
Simplex Pulses0 interventions
Surgical Clearance+0.0 mm
IPC Transportlink healthy (0 drops)
Tick Computemeasured µs (0 alloc)

Decoded directly from 128-byte IEEE CRC-32 binary TelemetryFrame records (replay_showcase.bin): amber dashed circle & quad mark surgical No-Go Virtual Fixtures; crimson marks unshielded collision; terracotta/forest marks 1 kHz CBF boundary slide + Host-sim IPC link drop & reconnect (live QNX HAM restart runs on target).

Right Screen · 1 kHz Release Distribution (100.0% Mass) & S+ Benchmark

Host POSIX 1 kHz Release Distribution0 allocs/tick · Σ 100.0%50.0%7–60 µs49.0%60–262 µs0.89%262–500 µs0.11%>500 µs500 µs budget (9/8067)CDF mass n=8,067 (Σ=100.0%) · p50=60.4 · p99=262.1 · p99.9=655.4 · max=3138.5 µs
Tiny-MLP arm (medical_vial)success/NNo-Go zero-intrusionshield pulsesMcNemar p
 No middleware77/1001.0% (1/100)0–
 Naive retry78/1000.0% (0/100)01
 relmw (correlation-aware)93/100100.0% (100/100)66620.00014

Scroll the table sideways to see all columns.

Real trained 2-layer MLP (8→32→32→2, 1,410 params, FP32 & Q12 int16) on surgical/pharmacy medical_vial fixture (N=100 paired seeds): relmw achieves 100.0% No-Go Zone zero-intrusion rate and rescues correlated neural failures.

01 Success by condition and arm

Field faults · 100 paired episodes per arm (same seeds). Simulation results.

armsuccess/Nrate (95% CI)detectedrecoveredescalatedretries (same again)mean stepsvs noneMcNemar p
 No middleware78/10078.0% (68.9%–85.0%)21000 (0)127.9––
 Naive retry80/10080.0% (71.1%–86.7%)255061 (45)263.4+2.0 pp0.5
 relmw (correlation-aware)98/10098.0% (93.0%–99.4%)2523025 (3)168.0+20.0 pp1.9e-06

Scroll the table sideways to see all columns.

Field faults: success/N, rate with 95% CI, detected failures, recoveries, escalations, retries (of which repeated the same failure), mean sim steps, difference vs no middleware and McNemar p (paired, vs no middleware). Simulation results.

Nominal · 100 paired episodes per arm (same seeds). Simulation results.

armsuccess/Nrate (95% CI)detectedrecoveredescalatedretries (same again)mean stepsvs noneMcNemar p
 No middleware100/100100.0% (96.3%–100.0%)0000 (0)105.6––
 Naive retry100/100100.0% (96.3%–100.0%)6600 (0)106.2+0.0 pp1
 relmw (correlation-aware)100/100100.0% (96.3%–100.0%)6600 (0)106.2+0.0 pp1

Scroll the table sideways to see all columns.

Nominal: success/N, rate with 95% CI, detected failures, recoveries, escalations, retries (of which repeated the same failure), mean sim steps, difference vs no middleware and McNemar p (paired, vs no middleware). Simulation results.

02 Field faults

injected faultNo middlewareNaive retryrelmw (correlation-aware)
percep_bias
0/21
1/21
19/21
bump
19/20
20/20
20/20
slippery
18/18
18/18
18/18
none
41/41
41/41
41/41

Scroll the table sideways to see all columns.

Field condition: successes per injected fault and arm (from by_fault). Perception bias is the correlated failure that naive retry cannot fix. Simulation results.

03 Real-time control loop

Linux host baseline · results/host_linux

p50p99maxµs, log scale10 µs100 µs1000 µs10000 µs100000 µsdeadline 500 µsrt_report_sched_other_1khz.json · POSIX host · sched=otherp5060.4 µsp99262.1 µsmax3138.5 µsrt_report_sched_other_1khz_load2.json · POSIX host · sched=otherp5054.3 µsp991081.3 µsmax19263.4 µs
reportplatformschedperiodepisodesp50 µsp99 µsp99.9 µsmax µsmisses > deadline
rt_report_sched_other_1khz.jsonPOSIX hostother1000.0 µs3060.4262.1655.43138.59/8067
rt_report_sched_other_1khz_load2.jsonPOSIX hostother1000.0 µs3054.31081.34980.719263.479/4536

Scroll the table sideways to see all columns.

Release latency of the 1 kHz control loop on a shared Linux machine (SCHED_OTHER). Baseline for the QNX runs.

QNX 8.0 (QEMU x86_64)

Pending QNX SDP 8.0 target execution (QEMU x86_64 / hardware) — host & RELMW_QNX_SIM baselines only

Filled only from results/qnx_qemu_x86_64/rt_report_*.json after scripts/qnx_first_run.sh has run on QNX 8.0. Nothing here is estimated.

04 Provenance

Label
SIMULATION ONLY (deterministic C++ 2-D push sim; scripted policy; camera-style verifier)
Episodes per arm
100 (paired, same seeds)
Evaluation seeds
1000–1099
Library warm-up seeds
5000–5039 (library frozen before evaluation)
Library entries
7
Policy bias std
0.15
Statistics
Wilson 95% intervals; McNemar exact test on paired episodes
Reproduce
relmw_bench --n 100 --out results/host_linux
input filesha256[:12]
results/host_linux/summary.json40b1ff8166a4
results/host_linux/rt_report_sched_other_1khz.json2e589dd34dbb
results/host_linux/rt_report_sched_other_1khz_load2.jsonef00d2845d7f
results/host_splus/summary.jsonf4736b1606aa
results/host_splus/replay_showcase.bin4c613c4e06e4

Scroll the table sideways to see all columns.

Every number on this page comes from these files.