Files
foxhunt/crates
jgrusewski e29d06b282 feat(ml-alpha): CfC-vs-Mamba2 gate verdict + alpha_gate binary
GateReport + GateVerdict + load_summary in src/gate/cfc_vs_mamba2.rs.
Verdict criterion per spec Section 4 (with 2026-05-16 stacked
amendment): CfC AUC >= Mamba2 AUC - tolerance at every horizon.
Default tolerance 0.01.

alpha_gate binary takes two AlphaTrainSummary JSON paths (one per
backbone, generated by alpha_train), runs the verdict, emits
phase_a_gate.json with the full report + verdict, exits 0/1.

Tests (5/5 lib unit):
  - PASS when CfC >= Mamba2 everywhere
  - PASS within tolerance (CfC 0.005 below)
  - FAIL at long horizon (h=1000, 6000)
  - FAIL at short horizon (h=30)
  - delta signs correctly track relative performance

For the cluster gate run (Task 18), the Mamba2 baseline summary is
generated by an existing/separate Mamba2 trainer pass on the same
data window. Apples-to-apples comparison requires identical train +
val seeds and quarters.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 22:50:07 +02:00
..