RULES_reproduce.txt — reproduction of S0 News research note 008's numbers Written 2026-11-15 by Fact-Checked Science before 01_reproduce.py was run. Its SHA-256 is logged in HASHES_prereg.txt. Purpose. Recompute, from the public files, every number the note gives under its stated method, and say which reproduce. This is a reproduction, not a test: nothing here is a hypothesis about the Sun and the ASL. Inputs (read as data, hashes logged before the run): I1 downloads/bas-asl-v3/asli_calculation_latest.csv BAS ASL index v3 (ERA5), product 3.20240813, file id asli_3.20240813_20261110; column "sector_pressure (hPa) [a]". I2 downloads/bas-asl-v2/ASL-index-Version2-Monthly-ERA-Interim_Hosking2016.txt BAS ASL index v2 (ERA-Interim), column SectorPres. I3 downloads/silso/SN_m_tot_V2.0.csv WDC-SILSO monthly mean total sunspot number V2.0 (column 4), checked against SILSO's manifest-paired.sha256. I4 downloads/ms2017/workbook.csv the 2017 manuscript's support workbook (o.Date, o.Pres, o.Sun). I5 code/ms2017_table3_transcribed.csv our transcription of the 2017 manuscript's Figure 3 (8 widths x 49 lags). Freeze (the note's): ASL v3 through 2026-07 (the file now runs to 2026-08; 2026-08 is dropped); SILSO through 2026-10. Method, as the note states it ("Cross-correlation", "Uncertainty", "Era / rolling"): M1 Restrict both raw monthly series to the analysis window first. Satellite: ASL 1979-01..2026-07, SSN 1979-01..2026-10. Full record: ASL 1959-01..2026-07, SSN 1959-01..2026-10. Pre-1979: ASL and SSN 1959-01..1978-12. 2017 window (v2 replication): ASL v2 and SSN 1979-01..2016-11 (the manuscript's 455 months). M2 Centred moving average (CMA) of width w months (w = 12, 24, ..., 96): value at month d = mean of raw months d-w/2 .. d+w/2-1 (for w = 60: d-30 .. d+29). Only full windows (all w raw months present in the restricted series) are kept. M3 Pair SSN_CMA[t] with ASL_CMA[t+L] for lag L in months (0..48); keep pairs where both exist. Pearson r over the pairs; n = number of pairs. M4 n_eff = N / (1 + 2 * sum_{tau=1}^{N-1} (1 - tau/N) * rho_x(tau) * rho_y(tau)) (Bretherton et al. 1999, Eq. 30), where x and y are the two paired series (length N) and rho are "biased" sample autocorrelations: globally centred, lag products summed and divided by N, normalised by the lag-0 value. All lags 1..N-1. M5 p_eff: two-sided Student t, t = r * sqrt((n_eff - 2) / (1 - r^2)), df = n_eff - 2 (non-integer df allowed). M6 Lag sweep: 5-year CMA, lags 0..48: report the lag of the maximum r ("band peak"). Grid: 8 widths x 49 lags: report the width and lag of the maximum r ("global peak") and its n. M7 1996 mask: on the satellite window, set ASL raw May-October 1996 to missing before smoothing; any 60-month window containing a missing month is dropped (M2). Report r and n at 5y/33m. M8 Rolling: Pearson r in successive 132-pair blocks (step 1 pair) of the full-record 5y/33m paired series; label each block by the ASL date (t+33) of its 67th pair (index 66 of 0..131), as the nearest single month to the block centre. Report: the last label with r < 0 before 1990; the maximum r and its label; the minimum r in labels 2005..2020 and the labels (to the year) where r <= -0.40; the last value and its label. M9 2017 table: recompute the 8 x 49 table on (a) the workbook's own columns (I4) and (b) v2 + current SILSO over 1979-01..2016-11, each with the 60-month-type windows of M2 and, as a variant, odd windows of w+1 months centred on d (d-w/2..d+w/2), since the manuscript reports 395 values for its 5-year CMA where M2 gives 396. Compare with I5: largest absolute difference, and the location and value of the 5-year column's peak. M10 Data checks: compare the workbook's ASL column with v2 SectorPres and its SSN column with current SILSO, month by month (max abs difference). Compare v2 and v3 sector pressure over their overlap (1979-01..2018-03): correlation of raw monthly values, mean difference, and the correlation of their 5-year CMAs. Reproduction criterion (fixed now): a number "reproduces" if it agrees with the note's printed value to the printed precision, allowing a difference of one unit in the last printed digit (r to +-0.001 where printed to 3 decimals; n exactly; n_eff to +-0.01 where printed to 2 decimals and +-0.1 where printed to 1; p to +-1 in the last printed digit). Anything else is reported as a difference, with its size, and a likely cause if one can be shown (for example a different window or data revision). Not covered here (separate rules): the surrogate p values (RULES_search_cost.txt), the out-of-sample test (RULES_oos.txt), the sign flip (RULES_signflip.txt), the SAM numbers (RULES_sam.txt).