A bin-free dispersion / concentration measure (CREx). It asks: across the last ~200 bars of gap-aware log-returns, how spread-out (vs concentrated) is the distribution โ without ever choosing a histogram bin. Computed on the shared gap-aware substrate.
diff(log(close)) โ null gaps > 8h โ drop NaN โ require โฅ 8 finite.ฮต 1e-9 (VALUE-within parity vs pinned numpy 2.5.0 / scipy 1.18.0 oracle).CREx is scale-sensitive: the raw-input value and the standardized-input value differ by roughly 1/std.
A well-meaning reviewer who z-scores the returns "to normalize" would silently change the answer.
The witness asserts that z-scoring the input FAILS parity โ that locks the RAW-input convention into the test suite, so the scale convention cannot drift in a later refactor. On the frozen fixture the RAW-scale CREx is โค 0 throughout. scale-witness
| stage | what happened | state |
|---|---|---|
| worktree | branch stacked on the bootstrap branch (base of the stack). | done |
| gap-aware oracle | pinned numpy CREx reference on the gap-aware logret window; ฮต 1e-9. | done |
| kernel port | causal Rust kernel; RAW-input (no z-score). | done |
| wire | BarRow ยท COLUMN_NAMES ยท BarDerivedV2 ยท schema.sql ยท feature_metadata โ one no-split-brain PR. | done |
| SOTA ยง6 + ยง6.RG | parity ยท property ยท crash-stress ยท batchโกstreaming ยท golden + the scale-witness. 11,200 finite compared (== oracle, non-vacuous); max-abs-dev 1.4e-17 batch / 8.8e-16 streaming vs TOL 1e-9. | done |
| all-gates | fmt ยท clippy ยท schema-contract ยท drift โ GREEN. | done |
| no-split-brain | schema + metadata + BarRow + cohort + sha256 landed together. | done |
| challenge-held | adversarial Attacker+Defender โ 10 attacks, 10 held, 0 conceded; SHIP. | done |
| PR | PR2 #126 OPEN, stacked on bootstrap โ awaiting squash-merge. | OPEN |
โ back to the running dashboard ยท next: #7 right_quantile_weight_tailweight