Files
aimsight-optimizer/sessions/LENZSPITZE_2026-10-16T0235_2026-10-23T2355_20261118T1434Z/validation.md
T

6.2 KiB

Validation

Verdict: keep

Validated 2026-11-18T15:08Z (UTC), detectors HEAD ec3958c, base 90c2345.

Answers

  1. Loads and runs: I reran the benchmark and the range score at HEAD. Exit code 0, no skipped line, and both outputs match benchmark-after.txt and range-after.txt byte for byte.
  2. Nothing goes back: compare reports 0 regressions from before to after, and also from before to each fix and from each fix to the next (S1 to S4). The drops are all under the thresholds (see Reservations).
  3. The gain justifies the code: all four fixes only remove code. S1 removes a condition. S2 removes a condition and the hosts list. S3 removes the briefs set. S4 removes BRIEF_MIN. Complexity goes from 613 lines and 47 constants to 609 and 46. The range gain is small (Visibility +3 instants, Obstruction correct -11 instants), but this is pruning and it adds no rule. The benchmark gains on Total Obstruction found (+2 pts) and Total Visibility found (+1 pt).
  4. No overfitting: no fix adds a constant or a threshold. The rules become plainer (K_MAD alone for "high", salience alone for a brief obstruction), and nothing is cut to fit the range's cases.
  5. Target rules: only scripts/visibility.py and thresholds.md change, nothing in bench/. The BRIEF_MIN line is removed from thresholds.md, and the FACTOR line and the docstring are updated. No station, sensor or date is used in the logic; "LENZSPITZE 2026-10-16, Sn" appears only as a short history reference.

The range

LENZSPITZE 2026-10-16T00:00Z → 2026-10-24T00:00Z, per family, before → after:

  • Displacement: found —, correct 0/14 → 0/14
  • No data: found 16/16 → 16/16, correct 16/33 → 16/33
  • Obstruction: found 23/42 (55 %) → 23/42 (55 %), correct 23/352 (7 %) → 23/363 (6 %)
  • Perturbation: found 0/1 → 0/1, correct 0/149 → 0/149
  • Thermal displacement: found 1009/1009 → 1009/1009, correct 1009/2288 → 1009/2288
  • Visibility: found 971/1561 (62 %) → 974/1561 (62 %), correct 971/980 (99 %) → 974/983 (99 %)

By fix: S1 adds Visibility +2 and Obstruction flagged +2. S2 changes nothing on the range. S3 adds Visibility +1. S4 adds Obstruction flagged +9.

Checks

Non-regression, compare before → after (rerun at HEAD gives the same benchmark):

           ALASKA       Perturbation          found      6 →   5 %  (1 instants lost)
           ALASKA       Perturbation          correct   80 →  79 %  (0 instants lost)
           ALASKA       Visibility            found     87 → 100 %
           ALASKA       Visibility            correct   33 →  36 %
           BREITHORN    Obstruction           correct   55 →  54 %  (1 instants lost)
           CLARIDEN     Obstruction           correct   11 →   7 %  (6 instants lost)
           FLORIDA      Visibility            found     70 →  76 %
           LENZSPITZE   Visibility            correct   99 →  98 %  (7 instants lost)
           NIEDERHORN   Obstruction           found     55 →  56 %
           NIEDERHORN   Obstruction           correct   38 →  37 %  (9 instants lost)
           NIEDERHORN   Visibility            found     42 →  55 %
           NIEDERHORN   Visibility            correct   78 →  81 %
           NORDEND      Obstruction           found     40 →  43 %
           NORDEND      Obstruction           correct   47 →  48 %
           NORDEND      Perturbation          found      4 →   0 %  (1 instants lost)
           NORDEND      Perturbation          correct    5 →   0 %  (0 instants lost)
           SNCF01       Obstruction           found     76 →  95 %
           SNCF01       Obstruction           correct    2 →   3 %
           Total        Obstruction           found     40 →  42 %
           Total        Perturbation          found      8 →   7 %  (3 instants lost)
           Total        Visibility            found     56 →  57 %
           WYOMING      Obstruction           correct  100 →  21 %  (11 instants lost)
           WYOMING      Perturbation          found     86 →  79 %  (1 instants lost)
           WYOMING      Perturbation          correct   57 →  61 %

0 regression(s); complexity: 613 code lines, 47 constants → 609 code lines, 46 constants

compare, each fix against the one before:

  • S1: 0 regressions. Visibility found goes up on ALASKA, FLORIDA, NIEDERHORN and Total (+1 pt). SNCF01 Obstruction found 76 → 86 %. Small losses of 1 to 7 instants. Complexity 613/47 → 613/47 (a condition removed).
  • S2: no figure changes. Complexity 613 → 610 lines.
  • S3: NIEDERHORN Visibility found 50 → 55 %. Complexity unchanged.
  • S4: 0 regressions. Total Obstruction found 40 → 42 %, SNCF01 Obstruction found 86 → 95 %, NORDEND Obstruction found 40 → 43 %. Losses are WYOMING Obstruction correct 75 → 21 % (10 instants), NIEDERHORN 9 instants, CLARIDEN 5, and Total Perturbation found 2 instants. Complexity 610/47 → 609/46.

Total before → after: Obstruction found 1727 → 1799 of 4319, correct 1727/6278 → 1799/6515 (28 % → 28 %). Perturbation found 28 → 25 of 358. Visibility found 4093 → 4155 of 7318, correct 4093/5902 → 4155/5990 (69 % → 69 %).

Reservations

  • WYOMING, Obstruction correct, 3/3 (100 %) → 3/14 (21 %). Caused by S4: with no minimum number of sensors, one salient high sensor is enough for a brief obstruction. That adds 11 flagged instants that no label puts in Obstruction. It is under 20 instants, so it is not a regression. I did not check these instants against the labels' ids.
  • CLARIDEN, Obstruction correct, 11 → 7 % (6 instants). NIEDERHORN, Obstruction correct, 38 → 37 % (9 instants). Same cause (S1, then S4). Both are under the thresholds.
  • Total, Perturbation found, 28/358 (8 %) → 25/358 (7 %): one instant lost on each of ALASKA, NORDEND and WYOMING, all by S4 (and S1 for WYOMING). This is 1 point, not more than 1 point, so it is under the threshold. Perturbation is not a Visibility family: these few instants are most likely now counted as Obstruction on the same instants. Not checked against the labels.
  • The range gain itself is close to nil (+3 Visibility instants). Keeping the change rests on the pruning (code and a constant removed) and on the benchmark gains, not on the range.

Tools

none (scratch folder /tmp/tmp.WGlS4gGkCp only holds a rerun benchmark).