# optimize: WILDSTRUBEL, 2026-09-07 → 2026-11-02 **Result**: kept without S1, S2 **Tools changed**: scripts/inventory.py ## The range WILDSTRUBEL 2026-09-07 → 2026-11-02, before → end (found, correct): unchanged in every family. - Displacement: 500/534 (94 %), 500/1170 (43 %) → unchanged - No data: 29/29 (100 %), 29/43 (67 %) → unchanged - Obstruction: 153/716 (21 %), 153/609 (25 %) → unchanged - Perturbation: 0/44 (0 %), 0/1 (0 %) → unchanged - Target issue: 1518/1519 (100 %), 1518/1519 (100 %) → unchanged - Thermal displacement: 169/250 (68 %), 169/446 (38 %) → unchanged - Visibility: 333/395 (84 %), 333/748 (45 %) → unchanged ## Elsewhere Totals unchanged; no other changed line. ``` 0 regression(s); complexity: 609 code lines, 46 constants → 609 code lines, 46 constants ``` ## What changed - S3 (`547519f`, kept): `scripts/displacement.py`, `_pieces()`. Removed the tie-break of the piece order (`(-abs(d), j - i)` → `-abs(d)`): pieces of equal size keep their order by start. - S1 (removal of the whole-window slow drift `_whole`, `SIZE`, `RETREAT`) and S2 (removal of the "at least two kept days" condition) were removed by the validator. The upgrader's verdict: changed. The validator's: remove (S1, S2). ## For the user to decide From the modification, "Limits": - WILDSTRUBEL-81 (2026-09-24 02:30 → 10-01 00:00, Obstruction): the cause (PB2_2's spot smaller, something covering it) is seen on the thumbnails. In the measurements there is only a jump under `K` and a slightly higher night `error_value`, with no rejection. Detecting it would take the spot size from the images, or a new variety on a lasting shift of a sensor's own `error_value` level. - Thermal / Visibility by day: whether the compensation leaves a remainder of the camera's tilt on a few targets depends on the day. The labeller reads it on the curves and the images; the detector's daily wave, built from the raw positions, cannot. - No label is called wrong by the context document (WILDSTRUBEL-199 had its description corrected, bounds unchanged). From the modification, "For the user to decide": - The range's Displacement "found" drops from 500 to 1 instants with S1. The labels behind it are WILDSTRUBEL-89 (PB1_2, 09-25 02:30 → 09-29 23:00, Displacement) and WILDSTRUBEL-120 (PB_5 and PA3_2, 09-30 02:15 → 16:15, Displacement). They were counted as found only through a Slow drift on PB2_2, a sensor neither label names. CLAUDE.md lists this as not a regression ("an instant the score counted as found by an event on another sensor"). The benchmark does not move, because its WILDSTRUBEL window starts on 09-01, where a drift piece on the reference PB3_2 (08-29 → 10-01) covers the same instants. That PB3_2 piece is just as unsupported by the labels; it is left in place, since it comes from the pieces rule and removing that rule regresses (see Pruning). From the validation, "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. ## Not fixed - Target obscured on sensors rejected by day in the sun (PA_8, PA_9, PA1_2, R2): Obstruction wrongly flagged over whole nights. I tried two changes. Removing Target obscured regresses NORDEND Obstruction found 43 → 31 %, WILDSTRUBEL 35 → 28 % and Total 42 → 32 %. One episode per day of rejections regresses WILDSTRUBEL Obstruction found 35 → 29 % and Total 42 → 38 %. Both dropped. - The staircase drift itself (a jump over an outage taken as a drift piece): no rule on the size of the steps separates it from the labelled drifts of SNCF01, NEBRASKA and BREITHORN (their steps reach 0.38 to 0.43 of the drift, against 0.46 here). Any threshold between them would be fitted to this sample. - Thermal displacement by day versus Visibility (alternative reading, see Diagnosis); WILDSTRUBEL-153 and -136 (slow common return across outages); WILDSTRUBEL-183 and -173 (steps of 3 to 6 noises, under `K` = 20, which was set on E-001). ## Reading tools What I decided: - `inventory.py`: changed (S1). A line per rejected sensor gives the rejected/measurements count per UTC hour of the day, all days together. This replaces the day/night split of `r3_rates.py`, and it fixes no daytime hours (those would depend on the station and the season). The per-day line next to it already gives the "every day" part. - `scripts/r3_rates.py` (analyst): not added as a tool. The station path is hard-coded and so are the 05–16 UTC hours. The new inventory line covers what it showed. - `scripts/write_labels.py` (analyst): left, it is specific to this range. - Nothing removed. What changed: - S1, commit `fc30569` in the tools repository, `scripts/inventory.py`, function `window`. After each rejected sensor's `per day` line, a new line ` per UTC hour of the day, all days together (HH:rejected/measurements): 00:r/n …`, for the hours that have a measurement. The section title and the module docstring now mention it. The existing lines are unchanged. For the user to decide (tools.md): `GUIDE.md` was already modified and was not committed, so the new line is not in the guide. Proposed sentence for the inventory section, after "by sensor, the rejected measurements, dated (…)": "then the share rejected per UTC day and the rejected/measurements per UTC hour of the day, all days together (a sensor rejected at the same hours every day)". ## Scripts of the agents From the modification: - `sessions/WILDSTRUBEL_2026-09-07T0000_2026-11-01T0000_20261118T1519Z/tools/match.py`: per label, the instants its family found and the other families flagged on it; per event, its wrong instants and the overlapping labels. Args: detectors dir, station, labels, from, to [, family]. Worth keeping. - `.../tools/confusion.py`: the wrongly flagged instants per family, by the label families under them. Same args. Worth keeping. - `.../tools/days.py`: the slow-drift daily levels of one sensor, plus what `_whole` and `_pieces` returned (`_whole` is gone since S1). Args: detectors dir, station, sensor, from, to. Needs a small update before reuse. - `.../tools/drift_audit.py`: every Slow drift of the benchmark, with drift/amplitude, steps, gaps and its share inside Displacement labels. Args: detectors dir, labels dir, data dir. Uses `_whole`, so it needs updating after S1; worth keeping for drift work. - `.../tools/jumpsize.py`: per measurement of a sensor, its distance in noises from the level before (as `_jumps` sees it). Args: detectors dir, station, sensor, axis, from, to [, history start]. Worth keeping. - `.../tools/variant.py` and `.../tools/run_variants.sh`: apply one pruning variant to a copy of the detectors, then benchmark several copies in parallel. Specific to this session. Note: S1 was removed, so `_whole` is back in the detectors; `days.py` and `drift_audit.py` work again as written. From the validation: none. ## Errors none. - Files already modified: detectors none; tools `GUIDE.md` (left as is). - Detectors base `ec3958c1ae9cd0a264fbd02adc3f65d563c9e5e8`; `git -C detectors log --oneline ..HEAD`: ``` 0a76627 improve: S1 removed 0a7929f improve: S2 removed 547519f improve: S3 aea68fa improve: S2 fe00c33 improve: S1 ``` - Tools base `e03d9114337fa7c4baf3b9de140bc189384572b9`; `git -C tools log --oneline ..HEAD`: ``` fc30569 improve: S1 ```