interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / docs / estimation / EST23_PROTOCOL_V1.md

152 lines · 7765 bytes Raw Blame History Source

EST-2 / EST-3 protocol v1: real-signal replay and calibration (pre-registered)

Workstream: ARCH-0020 (belief / estimation layer). This protocol is frozen by the commit that adds it. The freeze commit hash is written into every EST-2/EST-3 receipt. Any change after that commit is a new protocol version, and the result under v1 stays on record.

1. Signal and evidence

2. Replay rules (EST-2)

3. Models and fitting (on run A only)

4. Calibration statistics (EST-3, on run B)

Burn-in: the first 30 steps are excluded. Then, for each model:

  1. One-step coverage of the central 50 %, 80 % and 95 % predicted intervals (|nu| <= z * sqrt(S), with z = 0.674490, 1.281552, 1.959964). Each is reported with a Wilson 95 % interval.
  2. Mean NIS (for m = 1, the expected value is 1).
  3. Standardized bias: mean(nu) / sd(nu).
  4. Lag-1 autocorrelation of the normalized innovation nu / sqrt(S). The Ljung-Box Q statistic at lag 10 is reported but is not a gate.
  5. Drift: 95 % coverage in each quarter of run B, by time.
  6. Regime: 95 % coverage for in-trial and for idle samples separately.
  7. Ten-step coverage: from each belief at step k, predict 10 steps ahead and compare with the observation at step k + 10 when it exists. Report 95 % coverage.
  8. Accuracy: mean log predictive density (Gaussian log score) and RMSE of the one-step prediction. For comparison, the persistence baseline predicts the last observation and reports its RMSE.

5. Pass rules

A model is calibrated when all of the following hold on run B:

The selected estimator is the simplest calibrated model (M0 before M1) whose one-step log score is within 0.01 nats per step of the best calibrated model's.

ESTIMATION_REAL_SIGNAL = PASS when:

ESTIMATION_CALIBRATION = PASS when at least one model is calibrated and its one-step RMSE is no worse than persistence's. Otherwise the result is FAIL. The FAIL is recorded with the statistics that failed and the most likely failure class: wrong process noise, wrong observation noise, nonlinear dynamics, nonstationarity, regime switching, quantization, sensor bias or model misspecification. No estimator is promoted after a FAIL.

5a. Anticipated failure (stated before any run)

Readings come in 100 mC steps. In quiet stretches this produces runs of exactly-zero innovation, which can break the 50 % band and the lag-1 test when the filter is confident. If v1 fails for that reason, the FAIL is recorded as the quantization class and accepted. It is not a reason to widen bands or to add a quantization-aware R under v1.

6. What this protocol does not allow

7. Stronger follow-up (EST-3b, optional)

Collect a new 1 Hz thermal series after this freeze. Do this with a shell reader of /sys/class/thermal only, never during a heavy run owned by another session unless that regime is the declared target. Then evaluate the frozen v1 parameters on it with the same rules.