Repository navigation
UNIVERSAL_LOG v7.9.1 — Strictly Past-Only Causal Walk-Forward & Pre-Holdout L7 Selection
Highlights (v7.9.1)
- Strictly past-only expanding-window
walk_forward()(detector_selection_scope = "past_prefix_only",strictly_causal = True): Window sizing (_select_prefix_window), structural channel selection via frozenDEFAULT_ROUTING_GATES(_select_prefix_detector), preprocessing, and threshold refitting now run strictly on each past prefix[:train_end], ignoring the full-series detector and window. Condition on missing data: because non-finite rows are dropped upfront and splits partition retained observations (edges = np.linspace(0, n, n_splits + 1)), strict past invariance holds for a fixed retained-observation count and split boundaries. - Pre-holdout
L7segment boundaries & candidate motif selection (segment_boundary_scope = "pre_holdout_prefix_only",motif_selection_scope = "pre_holdout_segments_only"):compute_interactions()freezes segment boundaries (_plan_pre_holdout_segments), training thresholdtrain_t0_idx, and candidate complementary pairs strictly on pre-holdout segments before opening the held-out final segment (0leaks);predict_universal()enforces pre-holdout scope alongside strict deduplication. - 910-Trajectory + 90-Audit Paired Verification (
v7.9.0 → v7.9.1): All null metrics unchanged (3/210univariate,6/160multi-regime,6/180multivariate,0/90audit lines/parabolas,77/80exact-k,60/60multivariate TP); only2/220signal replicates (power_vol_jump) shiftedA → C(129/220 → 127/220, zeroC/D → A/Bupgrades). - 10th Two-Commit SHA-256 Blind Holdout (
9cfa945 → 2fb1517,27/27hashes intact at79d098a):13/14pre-registered criteria passed —2/2causal walk-forward pairs (3/3finished splits +1/1boundary training prefix bit-for-bit identical under future mutation),1/1pre-holdout L7 pair (4segments,10pairs,0leaks),0/4false Grade A/B on unseen negatives (cumulative0/33across 9 post-v7.3.1 cohorts),2/3core positives,1/1hard 3× irregular-cadence slope boundary probe (Grade B), and1openly documented failure onh10_pos_08_true_slope_irreg(Grade Dvolatility_shiftin bothv7.9.0&v7.9.1, diagnosed via row-index detrending inwithin_regime_ar1()yieldingphi_within = 0.488 > 0.45; physical-axis residual comparison scheduled forv7.9.2). - Verification & Artifacts: CI #22
7/7green (Python 3.10–3.12 +pandas 3.0.0CSV/DataFrame invariance +MANIFEST.sha25677/77Git-exact +sha256sum -c),58/58pytest,29/29--self-test, updatedpaper/UNIVERSAL_LOG_v7.9.1_preprint.pdf, 300 DPI Figure 3b (0/33), and interactive showcase.
Install: pip install universal-log-ts==7.9.1