2.9 KiB
2.9 KiB
Validation
Verdict: keep
Answers
- Loads and runs: I reran the benchmark at HEAD (0adadd5). Its output is byte-identical to benchmark-after.txt and has no
skippedline. The seven families are still there. - Nothing goes back:
comparereports 0 regressions before → after, and also before → S1, before → S2 and S1 → S2. - The gain justifies the code: both fixes are pruning. They remove code (617 → 611 code lines, 49 → 48 constants) without adding any rule. CLAUDE.md counts code removed without a regression as a gain in itself.
- No overfitting: nothing was added. S1 drops a run-level
share < SHAREcondition that never fired (S1 changes no figure). S2 dropsMIN_HOURS = 3, which moves only 1 Target issue instant and 4 Obstruction instants, all on WILDSTRUBEL. - The target's rules are respected: only
scripts/target_issue.pyandthresholds.mdchanged. The docstring and thethresholds.mdline were removed with the constant,grepfinds no leftoverMIN_HOURS/min_instantsin target_issue (theMIN_HOURSof thermal_displacement is a separate constant), and nothing is specific to a station, sensor or date.
The range
NORDEND, 2026-08-17T00:00Z → 2026-11-08T00:00Z: every family is the same before → after.
- Displacement: found 0/4 (0 %), correct 0/1 (0 %)
- No data: found 22/56 (39 %), correct 22/22 (100 %)
- Obstruction: found 936/2956 (32 %), correct 936/1994 (47 %)
- Perturbation: found 2/26 (8 %), correct 2/39 (5 %)
- Target issue: found 4285/7815 (55 %), correct 4285/4290 (100 %)
- Thermal displacement: found 4779/6940 (69 %), correct 4779/5299 (90 %)
- Visibility: found 893/2092 (43 %), correct 893/2045 (44 %)
Checks
range: no line changed.
benchmark (lines that changed, before → after):
- WILDSTRUBEL Obstruction: correct 238/678 (35 %) → 238/682 (35 %)
- WILDSTRUBEL Target issue: found 2089/2091 → 2090/2091 (100 %); correct 2089/2092 → 2090/2093 (100 %)
- Total Obstruction: correct 1322/4869 (27 %) → 1322/4873 (27 %)
- Total Target issue: found 19359/23001 → 19360/23001 (84 %); correct 19359/19371 → 19360/19372 (100 %)
- Complexity: 617 code lines, 49 constants → 611 code lines, 48 constants
S1 changes no score, only complexity (617 → 616 code lines). The score changes above all come from S2.
compare before → after:
0 regression(s); complexity: 617 code lines, 49 constants → 611 code lines, 48 constants
compare before → S1:
0 regression(s); complexity: 617 code lines, 49 constants → 616 code lines, 49 constants
compare S1 → S2:
0 regression(s); complexity: 616 code lines, 49 constants → 611 code lines, 48 constants
Reservations
- WILDSTRUBEL, Obstruction: correct 238/678 → 238/682 (4 more wrongly flagged instants, 35 % unchanged). This is far below the regression thresholds (more than 5 points and more than 20 instants), so I counted it as noise.
Tools
none