Files
aimsight-optimizer/sessions/FLORIDA_2026-10-11T0945_2026-10-22T0315_20261118T1300Z/validation.md
T

49 lines
3.9 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Validation
**Verdict**: keep
## Answers
1. Loads and runs: benchmark rerun at HEAD (3c2189b, 2026-11-18 13:06 UTC) is identical to `benchmark-after.txt`, with no `skipped` line; the range score rerun is identical to `range-after.txt`.
2. Nothing goes back: `compare` flags one `REGRESSION` line, Total Perturbation found 10 → 9 % (37 → 31 of 358). The 6 lost instants are all on FLORIDA-18, and they had been found by sensors the label does not cover, so the CLAUDE.md "Not a regression" exception applies (see Reservations).
3. The gain justifies the code: +5 code lines and +1 constant (`FLOOR`). Total Perturbation correct goes 2.5 → 4.1 % (+1.6 points, which meets the 1-point bar). On FLORIDA the change removes 714 wrong Perturbation instants (822 → 108 flagged) and 8 wrong Displacement instants (9 → 1).
4. No overfitting: the floor is relative (0.1 × the median target noise of the station, per axis) and general. Per `thresholds.md`, 0.1 sits in a wide gap between the reference twins (0.01 to 0.02) and every other benchmark target (0.25 or more). The benchmark agrees: only FLORIDA moves.
5. Target rules respected: only `scripts/displacement.py` and `thresholds.md` change. The docstring and `thresholds.md` are updated. There is no rule specific to one station, sensor or date: "FLORIDA 2026-10-11, S1" appears only as a history reference.
## The range
FLORIDA 2026-10-11 → 2026-10-23, before → after:
- Displacement: found 0/1 → 0/1; correct 0/2 (0 %) → — (no instant flagged)
- No data: unchanged (13/13; 13/15)
- Obstruction: unchanged (0/9; 0/156)
- Perturbation: found — (no label); correct 0/253 → 0/24 (229 wrong instants removed)
- Target issue: unchanged (1095/1095; 1095/1095)
- Thermal displacement: unchanged (319/327; 319/799)
- Visibility: unchanged (138/154; 138/138)
## Checks
range: as above. The lines that changed are Displacement correct (0/2 → —) and Perturbation correct (0/253 → 0/24).
benchmark, the lines that changed:
- FLORIDA Displacement correct 0/9 → 0/1
- FLORIDA Perturbation found 8/22 (36 %) → 2/22 (9 %); correct 8/822 (1 %) → 2/108 (2 %)
- Total Displacement correct 4374/7590 → 4374/7582 (58 % → 58 %)
- Total Perturbation found 37/358 (10 %) → 31/358 (9 %); correct 37/1468 (3 %) → 31/754 (4 %)
- Complexity 606 code lines, 46 constants → 611 code lines, 47 constants
Benchmark after S1 (`benchmark-S1.txt`): same scores as after, complexity 610 lines (the final commit has 611).
`compare` before → after:
```
FLORIDA Perturbation found 36 → 9 % (6 instants lost)
FLORIDA Perturbation correct 1 → 2 %
REGRESSION Total Perturbation found 10 → 9 % (6 instants lost)
Total Perturbation correct 3 → 4 %
1 regression(s); complexity: 606 code lines, 46 constants → 611 code lines, 47 constants
```
## Reservations
- FLORIDA, Perturbation found 8/22 → 2/22 (Total Perturbation found 10 → 9 %). The 6 lost instants (2026-10-09 08:45, 09:00, 09:15, 09:30, 09:45 and 12:00 UTC) all belong to FLORIDA-18. That label describes a level shift of Sellette 5 and Sellette 4. At the base, Pont Ernen and Sellette 3 were flagging them: these are the two targets with almost no noise (the reference twins). On that day and on 2026-10-04, those two targets raised a sub-noise "Sudden jump, back to normal" every few hours, around the clock (11 Perturbation episodes on 10-04 at the base, 1 at HEAD). Their overlap with FLORIDA-18 is a coincidence on other sensors, not a detection of the labelled phenomenon. The sensor events at HEAD and base show this (`bench/sensors.py data/FLORIDA --from 2026-10-09 --to 2026-10-10`). So it is not a regression under CLAUDE.md, "an instant the score counted as found by an event on another sensor". The real multi-target jumps stay detected: 2026-10-04 08:45 (FLORIDA-72, 6 sensors) and 2026-10-09 10:00 (6 sensors).
## Tools
none