RULES_base_rates.txt -- test 2: what a hit or a miss in window A (and B) is worth
Written 2026-11-18 ~18:54 UTC, before any base rate below was computed.

Seen before writing (declared): the dates of the 37 S-flares (events_sflares.csv of
/rieger-tidal-periods/, Tan et al. 2025's list, class on the new scale > X10), so the clustering
(1982, 1989, 1991, 2003, 2017 bursts) is known in outline; no window statistic was computed.

1. Events. Set E37: the 37 S-flares of events_sflares.csv (date, Tan et al.'s new-scale class,
   active region). Set E39: E37 plus the two far-side estimates the paper counts (2024-05-14,
   X11.1, and 2024-05-20, X16.5; Stiefel et al. 2025 / Kontogiannis et al. 2025), region number
   taken as 3664 for grouping if P's reading of those papers confirms it, else as "far side".
   Each event's time is its date at 12:00 UTC, as a decimal year by the rule of RULES_window_a.txt.
   E39 is not homogeneous: far-side estimates exist only since STIX (2021 on). E37 is primary.

2. Record span. [1975.0, 2025.0): Tan et al.'s 1975-2024 GOES record.

3. Episodes. Sort by date. A flare joins the current episode if it is within 30 days of that
   episode's latest flare or shares an active-region number with any flare in it; otherwise it
   starts a new episode. Report the number of episodes in E37 and E39 and list them.

4. Base rate U(L) (unconditional): the share of start times t0 (daily grid, 1975.0 <= t0 <= 2025.0-L)
   for which [t0, t0+L) holds at least one event. L = 0.9 (window A), 1.3 (A with +-0.2 margin),
   0.7 (window B), 1.1 (B with margin).
   Poisson cross-check: 1 - exp(-r L), with r = episodes per year and, separately, flares per year
   (the latter ignores clustering and overstates the chance).

5. Base rate C (same point of the cycle). Tmax(c) = the month of the highest 13-month smoothed
   monthly total sunspot number (SILSO V2.0, file SN_ms_tot_V2.0.csv, fetched now) within cycle c,
   at the 15th of that month, as a decimal year. Cycle limits: SILSO smoothed minima as used by
   /rieger-tidal-periods/ (1976-03, 1986-09, 1996-05, 2008-12, 2019-12); Cycle 25 runs from 2019-12.
   Offsets: aA = 2025.7 - Tmax(25), bA = 2026.6 - Tmax(25); aB = 2027.2 - Tmax(25), bB = 2027.9 - Tmax(25).
   C-exact: for cycles 21-24, does [Tmax(c)+a, Tmax(c)+b) hold an event (and the margin version
   [Tmax(c)+a-0.2, Tmax(c)+b+0.2))? Reported as k of 4.
   C-band: start times t0 within +-1.0 year of Tmax(c)+a (daily grid), window length as for the
   window, pooled over cycles 21-24: share of t0 with at least one event.
   Same for window B.

6. Whole-Sun rate (approximate). GOES sees the Earth-facing half of the Sun (plus flares just behind
   the limb). If far-side estimates count as hits, as the paper counts STIX's, the chance of a hit
   is higher. Approximation fixed now: twice the Earth-side episode rate, P = 1 - exp(-2 r L).
   This is labelled an upper-end approximation (limb flares are partly seen by GOES; STIX does not
   see the whole far side at all times).

7. Coverage of the forecast. From the paper's own numbers: the share of [2025.7, 2034.9) that the
   six windows A-F cover (core, and with +-0.2 margins merged where they overlap). Under a null in
   which S-flares fall at random times, that share is the expected share of S-flares inside windows.

8. Reading fixed now. A window's hit is "worth" little if U or C is near 1 and much if near 0. A
   miss of window A is weak evidence against the forecast when 1 - C is large. We state the numbers
   and do not convert them into a verdict on the method.
