Skip to content

Commit fd96d08

Browse files
igerberclaude
andcommitted
Repin TestScaleEquivariance[placebo] baseline to Linux/OpenBLAS value
Swap the captured SE from 0.293840360160448 (macOS Apple Accelerate local) to 0.2938403592163006 (Linux OpenBLAS, ubuntu-24.04-arm CI runner). The warm-start landed in the prior commit threads ``unit_weights`` (a fit-time FW output that carries sub-ULP BLAS reduction-order divergence) into per-draw FW init; across 200 draws with path-dependent sparsification the SE diverges ~1e-9 between the two platforms — exceeding the existing ``1e-12`` bit-identity gate. CI is the gating surface. macOS local fits will now drift at ~1e-9 on this fixture; the inline comment documents that the delta is finite-iter FW path-dependence, not a numerical regression. ATT and empirical p-value are unchanged: ATT comes from the deterministic FW solve (platform-stable to <1e-14 on this panel) and the placebo p-value is integer-driven (1/(B+1) = 1/201 with no placebo τ exceeding |ATT|). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 09a3ef4 commit fd96d08

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

tests/test_methodology_sdid.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3000,8 +3000,16 @@ class TestScaleEquivariance:
30003000
# pass produces different sparsification under uniform vs warm
30013001
# init on a handful of draws. Warm-start matches R at machine
30023002
# precision (test_placebo_se_matches_r in
3003-
# TestJackknifeSERParity).
3004-
"placebo": (4.603349837478791, 0.293840360160448, 0.004975124378109453, 200),
3003+
# TestJackknifeSERParity). Capture: Linux/OpenBLAS (CI runner) —
3004+
# warm-start carries ``unit_weights`` (fit-time FW output) into
3005+
# per-draw init, which is platform-divergent at sub-ULP from
3006+
# BLAS reduction order; across 200 draws with path-dependent
3007+
# sparsification the SE diverges ~1e-9 between Apple Accelerate
3008+
# (macOS local: 0.293840360160448) and OpenBLAS (Linux CI:
3009+
# 0.2938403592163006). Linux value pinned because CI is the
3010+
# gating surface; macOS local fits will drift at ~1e-9 — that
3011+
# delta is finite-iter FW path-dependence, not a numerical bug.
3012+
"placebo": (4.603349837478791, 0.2938403592163006, 0.004975124378109453, 200),
30053013
# bootstrap = paper-faithful refit with R-default warm-start: FW is
30063014
# initialized with ``sum_normalize(unit_weights[boot_control_idx])``
30073015
# for ω and with the fit-time ``time_weights`` for λ on each draw,

0 commit comments

Comments
 (0)