#!/usr/bin/env python3 """Numbers added after the fresh review of /florida-aurora-cycle-25/ (2026-11-11). NOT pre-registered: written after every result had been seen, to answer the review's findings M1, S3 and S8. Fact-Checked Science ("Our analysis"). Standard library only; it reads no data files (the counts are those of baseline_tests.py, figure3.py and storm_lists.py). Run: python3 -I review_checks.py """ import os import sys sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) from fclib import fisher_one_sided, love_edge_lat, poisson_sf, sig # noqa: E402 sys.stdout.reconfigure(encoding="utf-8", newline="\n") def verdict(ps): return "survives" if all(p < 0.05 for p in ps) else "disappears" if all(p > 0.05 for p in ps) else "mixed" def line(label, k, hits, n_b, n_mod, h0): ps = (poisson_sf(k, n_b / 15.0), poisson_sf(k, n_mod / 3.0), fisher_one_sided(hits, 4, h0, 19)) print(" %-78s %d vs %2d (%d; %d/19): %8s %8s %8s %s" % (label, k, n_b, n_mod, h0, sig(ps[0]), sig(ps[1]), sig(ps[2]), verdict(ps))) def main(): print("M1. The naked-eye test with the ambiguous records of both eras held alike (not registered)") print(" Columns: cycle 25's count k vs baseline events in cycles 10-24 (in cycles 22-24; hits of 19 Kp >= 9- storms):") print(" rate against cycles 10-24, rate against cycles 22-24, storm for storm at Kp >= 9-; the rule of RULES_naked_eye.txt") print(" The note's baseline (9; 3; 3/19)") line("the note's own flags, leniently (R2): October 2024 in; the 2003 sentences in", 3, 3, 9, 3, 3) line("the note's own flags, strictly (R1): October 2024 out; the 2003 'photographed' row out", 2, 2, 8, 2, 2) line("R3 as registered: October 2024 out; the 2000-2003 sentences taken as by eye", 2, 2, 9, 3, 3) line("held alike, both in: October 2024 in; October and November 2003 in", 3, 3, 9, 3, 3) line("held alike, both out: October 2024 out; October and November 2003 out; 1989 kept", 2, 2, 7, 1, 1) print(" With the Florida records we found (12; 5; 5/19: 1859's second storm, February 1958 on the wider list already,") print(" April 2000, November 2001)") line("R3 with additions, as registered: October 2024 out; the 2000-2003 records taken as by eye", 2, 2, 12, 5, 5) line("held alike, both in", 3, 3, 12, 5, 5) line("held alike, both out: also April 2000 and November 2001 out; 1859's second storm kept", 2, 2, 8, 1, 1) print(" The modern comparison alone, held alike (one baseline event, 1989):") for k in (2, 3): print(" k = %d against 1 event in cycles 22-24: p = %s" % (k, sig(poisson_sf(k, 1 / 3.0)))) print() print("S3. The weakest storm with a Florida record, on Love et al.'s (2025) model (edge of overhead aurora, degrees)") for d, what in ((383, "the weakest hit on the note's 1986-2019 storm list (October 2003)"), (311, "the weakest on the note's earlier Path A list (April 1981)"), (292, "April 2000, the photograph the note's list lacks"), (217, "the weakest in cycle 25 by the records the site accepts (November 2025)"), (163, "March 2023")): print(" %4d nT edge %.2f %s" % (d, love_edge_lat(d), what)) for a, b in ((383, 217), (383, 163), (311, 217), (311, 163), (292, 217), (292, 163)): sh = love_edge_lat(b) - love_edge_lat(a) print(" -%d to -%d nT: %.1f degrees, %.0f times the 0.3 degrees the published scalings allow the dipole's fall since 2003" % (a, b, sh, sh / 0.3)) print() print("S8. Kp >= 9- storms a year by the note's 24 h rule (storm_lists.py's reading A; storms_by_cycle.csv)") for cyc, n, yrs in ((19, 18, 10.50), (22, 7, 9.92), (23, 11, 12.33), (25, 4, 6.91)): print(" cycle %d: %d storms in %.2f years = %.2f a year" % (cyc, n, yrs, n / yrs)) if __name__ == "__main__": main()