โ€บNavigation
iteration 05 ยท 2026-07-14
DONE โ€” PR #147 OPEN (stacked on #146) card 80substrate: ret_spread (first two-input)locked-ฮต margin 0.16 worst

#80 gini_correlation_asymmetry_signedreturn_spread

Branch feat/odb-ext/gini_correlation_asymmetry_signedreturn_spread โ†’ terrylica/mql5 PR #147 (base = iter-04 branch; loop never merges). First-run green: parity 5/5 ยท robustness 4/4 ยท rust:check 0 ยท check:all-gates 0 ยท pre-push โœ“ ยท zero fix cycles.

H5 results row (ledger detail)

SubstrateTier/TOLParity batch / stream (max-abs-dev, SPLIT)non-vacuitypinned witnessC&H
ret_spread (return leg RG8 gap-masked; spread leg unmasked โ€” mask WITNESSED in the parity gate)ฮต 1e-9 rel / 1e-12 atol (LOCKED, np.isclose semantics)2.407e-13 / 0.0 โ€” 11,200/11,200 within gate; worst locked-budget margin 0.16 (verified 0 failures)11,200 compared; 4/4 cells; H3 golden 12,000; H1 ร—11,200EURUSD@5+0 โ†’ โˆ’0.28071837007811623 (RG8 gap window, within ฮต)A 7/8 + 1 RESOLVED ยท D 10/10 ยท 0 conceded

H2: SWAP-SIGN fork 60/60 with bit-exact negation identity asserted (max-abs in the 1.403 band) ยท ORDINAL fork 80/80 with probe-identical tie targeting (max-abs 2.285e-03 band). Oracle sha bda6d242โ€ฆ (replay byte-identical); golden sha abd3ebd3โ€ฆ.

Decisions + findings (recorded LOUD)

In plain terms

Measures the return-vs-spread relationship from both directions (value of one against the rank of the other) and reports the difference between the two readings. A nonzero gap means direction and spread are linked asymmetrically โ€” the liquidity-cost response to moves isn't exchangeable.

What landed (lockstep, one feature commit โ€” 19 files)

  1. kernel gini_correlation_asymmetry_signedreturn_spread.rs (clean-room average-tie ranks) + TWO-RING rolling state (kendall card-94 plumbing) + mod.rs
  2. BarOrthogonalExtV1 field ยท BarBuilder 4-arg wiring incl. bar.spread_close ยท writer.rs BarRow (last field)
  3. schema.sql DDL AFTER sign_markovโ€ฆflux ยท feature_metadata.yaml ยท regenerated docs/feature-catalog.html
  4. oracle + oracle/golden jsonl + .sha256 sidecars (dual-dir)
  5. parity suite (5 gates incl. the leg-mask witness) + robustness suite (4 gates incl. the negation identity) + C&H record

Next: iter 06 (#78 hoeffding_phi_squared_midreturn_duration โ€” the FIRST duration substrate; the run's final today-feature) stacks on this branch.