Files
aimsight-optimizer/sessions/WILDSTRUBEL_2026-09-07T0000_2026-11-01T0000_20261118T1519Z/validation.md
T

3.3 KiB

Validation

Verdict: remove Remove: S1, S2

Answers

  1. Loads: yes. categories.py and the benchmark run with no skipped line, at HEAD and on base+S3.
  2. Something goes back. On the range's station, WILDSTRUBEL Displacement "found" drops from 94 % to 0 % (499 labelled instants lost). I reproduced this at HEAD against the base. S1 causes it: range-S1.txt already shows the drop, and S2 and S3 change nothing after it. The benchmark has 0 regressions, but its WILDSTRUBEL window starts on 2026-09-01. The whole-window rule depends on the window, so the benchmark misses the loss. The "Why" says "all figures unchanged", and the range check contradicts it.
  3. Gain against code: S1 removes 13 lines and 2 constants, but it loses almost all of the range's Displacement. S2 makes sense only once S1 is in: without S1, _whole would get axes with fewer than two days, and statistics.median of an empty list would fail. S3 (sort tie-break removed) is a neutral pruning. On the base alone it leaves the range and the benchmark unchanged, so it is kept.
  4. Overfitting: no added rule or constant. The change only removes code.
  5. Target rules: only scripts/displacement.py and thresholds.md changed. thresholds.md lines were removed with their constants. No rule tied to one station, sensor or date. bench/ is untouched.

The range

WILDSTRUBEL 2026-09-07 → 2026-11-02, before → after (HEAD):

  • Displacement: found 500/534 (94 %) → 1/534 (0 %); correct 500/1170 (43 %) → 1/2 (50 %)
  • No data, Obstruction, Perturbation, Target issue, Thermal displacement, Visibility: unchanged (29/29, 153/716, 0/44, 1518/1519, 169/250, 333/395 found)

Checks

range, compare range-before.txt range-after.txt (identical for range-S1, -S2, -S3):

REGRESSION WILDSTRUBEL  Displacement          found     94 →   0 %  (499 instants lost)
           WILDSTRUBEL  Displacement          correct   43 →  50 %

1 regression(s); complexity: ? → ?

benchmark, compare benchmark-before.txt benchmark-after.txt (identical for benchmark-S1, -S2, -S3):


0 regression(s); complexity: 609 code lines, 46 constants → 596 code lines, 44 constants

The only line that differs in the benchmark: Complexity: 609 code lines, 46 constants → 596 code lines, 44 constants.

Base + S3 only (my check): range identical to the base; benchmark 0 regression(s); complexity: 609 code lines, 46 constants → 609 code lines, 46 constants.

Events of the range, Displacement: at the base, 2026-09-04T00:00Z → 2026-10-01T21:30Z Displacement | Slow drift | 1 sensors (the whole-window drift). At HEAD, no Displacement event. That base event covers labels WILDSTRUBEL-89 (2026-09-25 → 09-29) and WILDSTRUBEL-120 (2026-09-30). None of the "Not a regression" cases applies: no other event flags these instants, and the loss is not at a label's bounds or in gaps between labels.

Reservations

  • WILDSTRUBEL, Displacement, range: the base finds WILDSTRUBEL-89 and -120 through a whole-window "Slow drift". Those labels describe steps, so the variety is debatable, but the family matches the labels. The whole-window rule also depends on the window: it fires for 2026-09-07 → 11-02 but not in the benchmark window starting 2026-09-01. Better coverage of these steps by a step detector, not the drift, could justify removing _whole later. As it stands, removing it is a regression.

Tools

none