RULES_fig7a.txt -- agent P: read the paper's own Figure 7a curves by script
Written 2026-11-18 ~19:10 UTC, after looking at Figure 7 by eye (once, whole figure, and once
enlarged for 2015-2040) and before any pixel of it was measured by script.

What was seen by eye before writing (declared): in the enlarged view the blue 7-year curve looked
negative from about 2028.4 to 2032.3, which would put the text's windows C (2028.8-2029.7) and
D (2030.6-2031.5) in its negative phase. That impression is what this test checks; it was not used
to set any number below.

Input. Figure 7 of the paper (p. 17), the JPEG image stream of PDF object 491 (1634 x 1481 px),
extracted byte for byte from velasco-herrera-2026-swcom-copy.pdf (SHA-256 of the extracted bytes
logged with the results). Panel (a) only: the orange curve (1.7-year oscillation) and the dark blue
curve (7-year oscillation, the centre of its cyan 95% band), per the caption.
The image stays in the scratchpad; it is CC BY-NC-ND and is not copied, hosted or redrawn.

1. Calibration. x: the pixel columns of the x-axis tick marks of panel (a) (1940, 1950, ... 2040),
   found by script as short dark vertical runs just above the axis labels; a straight line is
   fitted, year = a + b * column. y: the row of the long black horizontal line at value 0 in panel
   (a), and the rows of the left-axis ticks at +1 and -1 (or, if the ticks can't be found, the
   rows of the tick labels' centres), giving value = (row0 - row) / (pixels per unit).
2. Curve pixels, panel (a) rows only. Dark blue: B >= 110, R <= 90, G <= 90, B - max(R, G) >= 60.
   Orange: R >= 170, 70 <= G <= 175, B <= 100, R - B >= 100. Per column, the curve's row is the
   median row of its pixels in the column; columns with none (hidden behind vertical event lines
   or labels) are filled by linear interpolation from the nearest columns with pixels, if the gap
   is <= 6 columns, else left empty. The orange curve oscillates fast: where a column holds orange
   pixels in two separate runs (rising and falling limbs drawn close together), the median is
   used as is; this is a known limit and is reported.
3. Sign at a date t: the curve value at the column nearest t. "Indeterminate" if |value| < 0.03
   (about 5 px of the 180 px per unit seen on the axis, so a little over twice the line width),
   or if the column is empty, or if a zero crossing of that curve lies within 0.1 years of t.
4. Questions, all reported whatever the answer:
   (a) Zero crossings of the blue curve between 2020 and 2037, and of the orange curve between
       2024 and 2036; for each window A-F as listed in the text (p. 21; Table 5), the share of its
       span in which each curve is > 0, = indeterminate, < 0.
   (b) For the 37 S-flares (Table 2 dates) and the 77 GLEs (Table 4 dates, with GLE 22 at both
       1970-01-24 as printed and 1971-01-24 as in NGDC's list), the sign of each curve: counts of
       joint positive, either negative, indeterminate.
   (c) The two May 2024 STIX events (2024-05-14, 2024-05-20) and window A's GLE 77 (2025-11-11).
5. Reading fixed now. Digitizing a printed figure is good to about 0.1 year and 0.03 in value. If a
   window of A-F has its 7-year curve negative over more than half its span, the figure does not
   match the paper's rule that windows are where both oscillations are positive (p. 20); if more
   than two events (outside the indeterminate band) sit in a negative phase of either curve, the
   figure does not match "exclusively during simultaneous positive phases" (p. 21). Either result
   is a finding about the paper's own figure and goes to the coordinator before any page use; it
   says nothing by itself about the Sun.
6. Not done: no attempt to recover the LS-SVM, the wavelet, or the confidence bands.
