4.0 KiB
4.0 KiB
Validation
Verdict: keep
Answers
- Loads and runs:
categories.pyon LENZSPITZE 2026-10-23 → 2026-11-02 and NORDEND shows noskipped, traceback or error. I reran the benchmark at HEAD (2026-11-18, about 48 s) and it matchesbenchmark-after.txtbyte for byte, with noskipped. - Nothing goes back:
comparereports 0 regressions before → after, and 0 at each step (before → S1, S1 → S2, S2 → S3, S3 → after). The only drop is NORDEND Displacement "found" 100 → 0 % (4 instants). It stays under the 20-instant noise floor, so it is not a regression; see Reservations. - The gain justifies the code: S1 changes one constant (no added line) and removes 2916 wrongly flagged instants on the range (Displacement flagged 2943 → 27). Displacement
Total"correct" goes 18 → 41 % (+23 points) and "found" goes 98 → 98 %. S2 and S3 are pruning: 611 → 606 code lines and 48 → 46 constants, with no regression and every other figure unchanged. - No overfitting:
SIZE= 2.0 is a round value. It sits between the false whole-window drifts it removes (1.0 to 1.4 amplitudes, perthresholds.md) and the labelled drift it keeps (2.6). It is not cut to the edge of this range. The WILDSTRUBEL drift stays found: the Total loses only NORDEND's 4 instants. RemovingDAYSstays consistent. The step condition (step <= |d|/2) already rejects two-day runs in both_wholeand_pieces, so a drift still needs three days. The literal>= 2guard keeps_wholefrom taking a median of an empty list. - The target's rules are respected: only
scripts/displacement.pyandthresholds.mdchange, one commit per fix, andbench/is untouched. No rule depends on a station, a sensor or a date; the station names in the comment and inthresholds.mdare history references only. The docstring comment and thethresholds.mdlines are updated together.grepfinds no leftoverDAYSorSTEADY.
The range
LENZSPITZE 2026-10-23T00:00Z → 2026-11-02T00:00Z, 63 labels, before → after:
| Family | found | correct |
|---|---|---|
| Displacement | — → — | 0/2943 (0 %) → 0/27 (0 %) |
| No data | 4/6 (67 %) → same | 4/4 (100 %) → same |
| Obstruction | 17/58 (29 %) → same | 17/486 (3 %) → same |
| Perturbation | 1/6 (17 %) → same | 1/426 (0 %) → same |
| Thermal displacement | 1342/1469 (91 %) → same | 1342/2611 (51 %) → same |
| Visibility | 817/1166 (70 %) → same | 817/875 (93 %) → same |
The whole gain comes from S1. S2 and S3 leave the range unchanged.
Checks
range: only Displacement "correct" changes, 0/2943 → 0/27 (S1); everything else is identical.
benchmark, lines that changed (before → after):
- LENZSPITZE 2026-10-16 → 2026-11-01, Displacement correct: 0/4640 (0 %) → 0/6 (0 %)
- NORDEND 2026-08-10 → 2026-11-08, Displacement: found 4/4 (100 %) → 0/4 (0 %); correct 4/8549 (0 %) → 0/1 (0 %)
- Total Displacement: 4378/4462 (98 %) / 4378/23929 (18 %) → 4374/4462 (98 %) / 4374/10747 (41 %)
- Complexity: 611 code lines, 48 constants → 606 code lines, 46 constants
compare before → after:
NORDEND Displacement found 100 → 0 % (4 instants lost)
Total Displacement correct 18 → 41 %
0 regression(s); complexity: 611 code lines, 48 constants → 606 code lines, 46 constants
compare after each fix: before → S1 shows the same two lines with complexity unchanged (611 / 48). S1 → S2: 0 regressions, 611 → 607 lines, 48 → 47 constants. S2 → S3: 0 regressions, 607 → 606 lines, 47 → 46 constants. S3 → after: identical files.
Reservations
- NORDEND, Displacement, "found" 4/4 (100 %) → 0/4 (0 %). Before, these 4 labelled instants were "found" only because a whole-window Slow drift flagged 8549 instants (0 % correct). The labels NORDEND-276, NORDEND-309, NORDEND-94 and NORDEND-250 describe sudden jumps or camera steps, not a slow drift. They are this detector's business only by accident. Losing them is the noise of a few instants, and the reading is consistent.
Tools
none