Repository navigation
UNIVERSAL_LOG v7.9.0 — P3 Canonical Values Invariance, Physical-Axis OLS + Quadratic Guard, Unfiltered 40-Perm PDAC, and 9th Two-Commit Blind Holdout
Summary of Changes (vs v7.8.1, commit 2af5947)
Addresses the methodological findings from the archived external audit (docs/audits/2026-11-29_audit_v7.8.0_d02275d.md), verified stage-by-stage across 910 paired trajectories, 90 audit regression trials, 40 unfiltered PDAC patient-level permutations, and a two-commit SHA-256 pre-committed 9th blind holdout.
1. Strict P3 Column-Rename & Input-Format Invariance (values_hash_sha256 + B=100 Nulls)
- Null random streams now seed from a canonical IEEE-754 little-endian
values_hash_sha256over numeric(control, target)values (normalized-0.0 -> +0.0), independent of column names, CSV headers, or DataFrame input (float_precision="round_trip"enabled forpandas < 3.1, tested in CI on Python 3.10, 3.11, 3.12 and pinnedpandas==3.0.0). - Replaced noisy single-draw (
B=1) white-noise and shuffled-target nulls with vectorizedB=100draws. - 910-trajectory before/after impact (
results/v790_ablation/v790_before_after_report.md):- Univariate null FPR:
3/210(1.4%) unchanged across all 7 noise families. - Univariate signal Grade A/B recovery:
112/220 -> 129/220(+17 net true detections: 18C->Agains, 1A->Con the header-sensitive audit seed130388). - Multi-regime (
6/160null,77/80exact-$k$) and multivariate (6/180null,60/60signal) results unchanged.
- Univariate null FPR:
2. Physical-Axis OLS slope_break & Smooth Quadratic Curvature Guard ($H_{0,\text{quad}}$ )
-
slope_breaknow fits exact$O(n)$ prefix-sum OLS directly on the physical control axisx(stat_kind = "slope_per_control_unit", reportingaxis_regularity,dt_cv,dt_max_min_ratio, andslope_units) and tests every candidate hinge against a competing smooth quadratic curve null$H_{0,\text{quad}}$ ($\Delta\text{BIC}{\text{hinge vs quad}}$ + intersection-union $p{\text{raw}} = \max(p_{\text{block-perm}}, p_{\text{quad}})$). -
90 audit regression trials (seeds
9000..9029):- 4x cadence-jump constant-slope line:
30/30 -> 0/30false Grade B. - Smooth parabola:
10/30 -> 0/30false Grade B. - Regular constant line:
0/30;power_slope_breaksignal recovery preserved at20/20(100%).
- 4x cadence-jump constant-slope line:
3. Corrected PDAC 4-Cohort Study (results/pdac_immune_replication/pdac_immune_report.md)
- Replaced the 3 invalid
microenv_LOFO_nul_s1.csvcontrols (which only permutedstep) with 40 pre-committed patient-levelCD8Apermutations (10 fixed seeds7901..7910x 4 cohorts), retaining 100% of permutations with zero|rho|filtering ($\rho \in [-0.313, +0.271]$ , including all 4 draws with$|\rho| \ge 0.20$ ):0/40false Grade A/B (40/40Grade D). - Real cohorts confirm a monotone association across 4 cohorts (
$\rho \in [+0.254, +0.799]$ ) without a discrete Grade A/B threshold under this protocol (0/24A/B,predict_universal()properly logs18explicit refusalreasons).
4. Two-Commit 9th Blind Holdout (2abec87 -> 6c532ea, 25/25 SHA-256 Intact)
-
Negative controls (
n=6):0/6false Grade A/B across unseen regular/irregular lines, 5x cadence jump, random exponential spacing, smooth exponential & irregular cubic curves, and 3-channel AR(1) (cumulative0/29across 8 post-v7.3.1 holdout cohorts; one-sided 95% Wilson upper bound31.1%on$n=6$ ). -
Core positives (
n=4):2/2true irregular-cadence slope breaks detected as Grade B (slope_break, errors0.5and1.9physical units) +2/2seasonal and irregular-NaN steps as Grade A. -
P3 Rename Pair: bit-for-bit identical across
t,yvsobs_time,obs_val. -
Weak-SNR boundary probe (
SNR=1.4, kept transparently without post-hoc tuning): exact cut100.0, conservatively Grade C (12/13pre-registered criteria passed).
5. Deduplicated L6 Prediction, Propagated min_length, Manifest CI & Documented Scope
predict_universal()now strictly refuses duplicate objects, identicalvalues_hash_sha256, duplicatereplication_id, or missing hashes.min_lengthwarnings propagate toresults.json,report.txt,report.html, andthresholds.csveven in--quietmode.MANIFEST.sha256uses canonical LF hashes verified75/75against Git blobs and checked in CI viapython tools/make_manifest.py --checkandsha256sum -c MANIFEST.sha256.- Explicitly documented scope (scheduled for
v7.9.1): (1)walk_forward()evaluates the temporal persistence of the detector chosen on the full series (detector_selection_scope = "full_series"— per-split preprocessing/threshold refit on the past only, detector & window selection on the full series); (2)L7complementary motifs remain exploratory (validation_status = "exploratory"— training scores exclude the last segment, while candidate pairs are still chosen from peaks over all segments).
Installation & Verification
pip install universal-log-ts==7.9.0
universal-log --demo step --mode fast- CI (7/7 jobs green, Python 3.10–3.12 +
pandas==3.0.0):55/55pytest,28/28--self-test,75/75manifest SHA-256 check,check_docs_links.py,flake8,build+twine check.
Reproduction Complement (Tag v7.9.0 & DOI 10.5281/zenodo.24659825 Unchanged)
- A
.gitignorewildcard excludeddatasets_holdout_v790/holdout_v790_metadata.jsonfrom thev7.9.0git tree (all 25 SHA-256 hashes inHOLDOUT_MANIFEST_v790.sha256remain intact). - Attached asset
UNIVERSAL_LOG_v7.9.0_complement_reproduction.zip(SHA-256ecbce69ddc8a9e079ebac6aa2cea16f3ab19f0079cd87de93cbeed2d16b60088) provides the byte-identicalholdout_v790_metadata.json(8da7985f2039c133...) andREPRODUIRE.mdto replaypython tests/run_holdout_v790.py --evaluatedirectly on a clean checkout of tagv7.9.0or the Zenodo archive.