Files
aimsight-optimizer/sessions/WILDSTRUBEL_2026-09-24T0230_2026-10-06T1945_20261118T1119Z/summary.md
T

11 KiB

optimize: WILDSTRUBEL, 2026-09-24 → 2026-10-07

Result: modification kept Tools changed: scripts/ranges.py

The range

Family found correct
Displacement 0/500 (0 %) → same —
No data 15/19 (79 %) → same 15/21 (71 %) → same
Obstruction 72/694 (10 %) → 138/694 (20 %) 72/201 (36 %) → 138/285 (48 %)
Perturbation 1/44 (2 %) → same 1/4 (25 %) → same
Target issue 957/975 (98 %) → same 957/958 (100 %) → same
Thermal displacement 144/204 (71 %) → 196/204 (96 %) 144/249 (58 %) → 196/387 (51 %)
Visibility 94/96 (98 %) → same 94/486 (19 %) → same

Elsewhere

           Total        Obstruction           found     31 →  40 %
           Total        Obstruction           correct   27 →  28 %
           Total        Thermal displacement  found     80 →  82 %
           Total        Thermal displacement  correct   70 →  69 %  (385 instants lost)
           BREITHORN    Obstruction           found     92 → 100 %
           BREITHORN    Obstruction           correct   53 →  55 %
           CLARIDEN     Obstruction           correct   20 →  11 %  (4 instants lost)
           FLORIDA      Thermal displacement  correct   43 →  41 %  (52 instants lost)
           JUNGFRAU     Thermal displacement  found     97 → 100 %
           LENZSPITZE   Obstruction           found     32 →  43 %
           LENZSPITZE   Obstruction           correct    6 →   4 %  (473 instants lost)
           NIEDERHORN   Obstruction           found     43 →  55 %
           NIEDERHORN   Obstruction           correct   35 →  38 %
           NIEDERHORN   Thermal displacement  found     86 →  89 %
           NIEDERHORN   Thermal displacement  correct   86 →  87 %
           NORDEND      Obstruction           found     31 →  40 %
           SNCF01       Thermal displacement  found     78 →  87 %
           SNCF01       Thermal displacement  correct   92 →  89 %  (59 instants lost)
           WILDSTRUBEL  Obstruction           found     24 →  35 %
           WILDSTRUBEL  Obstruction           correct   35 →  41 %
           WILDSTRUBEL  Thermal displacement  found     72 → 100 %

0 regression(s); complexity: 606 code lines, 46 constants → 602 code lines, 45 constants

What changed

  • S1 (3d3c7d4), scripts/thermal_displacement.py, _wave: the daily expansion and contraction episodes are emitted for every day the targets with a cycle are measured, not only the full days of the profile.
  • S2 (3bda184), scripts/visibility.py, Brief obstruction rule (2): condition "at most one reference" removed.
  • S3 (44fa7c3), scripts/visibility.py, same rule: condition "fewer than BRIEF_MIN rejected sensors" removed.
  • S4 (eeaf726), pruning, scripts/thermal_displacement.py: the check on WARM and the constant WARM = 0.3 removed, with its line in thresholds.md.
  • S5 (7973839), pruning, scripts/visibility.py: the condition "not rejected at the neighbouring instants" removed, with the rejected dict it alone used.
  • S6 (75276f9), pruning, scripts/visibility.py: the condition n(t) < BRIEF_MIN of the same branch removed.

Upgrader: changed. Validator: keep.

For the user to decide

From the modification, "Limits":

  • WILDSTRUBEL-81 (2026-09-24T02:30 → 2026-10-01T00:00, Obstruction, PB2_2): a spot partly covered, seen on the thumbnails (smaller spot). The measurements show a shift and a partial return, below the jump threshold. Telling it from a Displacement would take the spot size or the image.
  • WILDSTRUBEL-89 (2026-09-25T02:30 → 2026-09-29T23:00, Displacement): a drift "at the threshold" according to the report. On a 13-day range with 3 days of history, the slow-drift test cannot see it; over two months it can.
  • The Obstruction or Visibility cause of a rejected reference (above) comes from the images.
  • The report notes that PB1_2's step of 06/10 (WILDSTRUBEL-173) and drift (WILDSTRUBEL-89) are not established as movements.

From the modification, "For the user to decide":

  • A reference rejected with nothing in front of it is now an Obstruction (S5, S6). The labels say Visibility (WILDSTRUBEL-135 01/10 08:15-13:15, WILDSTRUBEL-148 03/10 08:00-13:45, WILDSTRUBEL-228 02/10 05:15-13:00: PA_8 too faint in daylight; WILDSTRUBEL-223/224/225, 25, 27 and 28/09 at sunrise: PA_8 in the low sun; WILDSTRUBEL-175 06/10 14:30: a dark capture). The detector reads "a few sensors strongly rejected, the rest intact". Only the images separate an object from a faint reference (families.md, "A hindered reference"). The benchmark counts these instants against Obstruction correct (LENZSPITZE 6 → 4 %, CLARIDEN 20 → 11 %, 4 instants). Overall it stays 27 → 28 %.
  • The variety stays "Brief obstruction", and its text says "for a single measurement" even when the event, merged by categories.MERGE, spans hours (e.g. 02/10 13:00-20:15). The text is what the client sees. A "Target obscured"-like text for multi-instant events would be a small change in categories.py or visibility.py, not made here (it changes no figure).
  • Thermal displacement now covers the days cut by an outage (S1). On this station, it covers them on all sensors through the camera branch, including the unlabelled days 03/10, 04/10, 05/10 (Thermal correct on the range 58 → 51 %; Total correct 70 → 69 %, FLORIDA 43 → 41 %, SNCF01 92 → 89 %, all under the regression threshold).

From the validation, "Reservations":

  • No REGRESSION line had to be set aside. These drops stay under the thresholds:
    • Total Thermal displacement "correct": 69.7 → 68.8 %, 703 more instants flagged. S1 now emits the wave on partial days.
    • LENZSPITZE Obstruction "correct": 6 → 4 % (958 instants flagged against 94 labelled). The short-sensor-rejection branch of S5 and S6 adds about 500 instants that no Obstruction label covers. This is on top of a family that was already noisy at this station.
  • Wording: the variety is still called "Brief obstruction", but it now also covers sensors rejected for a long time. categories.MERGE joins their instants into one event. This is a naming point, not a scoring one.

Not fixed

  • Daily Heat shimmer (392 wrongly flagged instants on the range). The re-checked labels removed it, but the same station's other labels keep it with the same amplitude. Fitting either reading would cost the other. The re-check's rule (agitation under 5 noises is not labelled) would have to be applied to the older WILDSTRUBEL labels before a rule can be tuned.
  • Camera thermal wave flagged every day on every sensor, while the labels keep only the days and targets where the corrected curves keep it. No per-day measure tried separates them on the benchmark: the reference-loss jumps dominate the corrected deviation.
  • Small displacements below K = 20 noises (WILDSTRUBEL-120, 173) and the slow common shift and its return (WILDSTRUBEL-136, 153). Lowering K was tuned against E-001 (healthy targets at 17-18 noises), so it was not tried.

Reading tools

What I decided:

  • ranges.py: changed (S1). New option --labels F. It does what exceed.py did, with the computation ranges.py already has, so it works on any station.
  • exceed.py, labeldev.py (analyst): not added as scripts. ranges.py --labels replaces exceed.py (rolling level). labeldev.py's edge level is close to --rolling with a small N and was a secondary column.
  • thermal.py, days_dev.py (analyst): left where they are. days.py --bounds --smoothing covers the per-day deviation from the night level. The "clean instants" filter (no reference lost) would be a new days.py mode, and this one range is not enough to design it: see "Not fixed".
  • clipplot.py: left. plot.py plus corr_x_mm/corr_y_mm covers it. The percentile clipping did not block the analyst.
  • GUIDE.md: left untouched, as the request requires (already modified by someone else). The guide text for the option is under "For the user to decide".
  • Removals: none.

What changed:

  • S1, commit f5ff319 in tools, scripts/ranges.py: new option --labels F (one JSON per line with start, end, family, and id if present, numbered in file order). Docstring section 4 and usage line added.
    • With --instants N, each instant line ends with | labels: <numbers> or | labels: none.
    • After that, a "Per label" table: number, id, start, end, family, and the number of measurement instants strictly inside (start < instant < end, instant floored to the minute). Then the largest deviation inside, from the level (rolling if --rolling): sensor.column, signed in noises, instant. Last, the number of instants inside where a sensor is more than --k noises off. A label with no measurement inside says so.
    • Without --labels, the output is byte-identical to before.

(data.py: unchanged. tools.md also proposes the GUIDE.md text for the new option, under its "For the user to decide".)

Scripts of the agents

From the modification, "Tools":

  • sessions/WILDSTRUBEL_2026-09-24T0230_2026-10-06T1945_20261118T1119Z/tools/labels_in_range.py <labels.jsonl> FROM TO [width]: the labels touching a range. Worth keeping.
  • .../tools/shimmer_stats.py <detectors> <labels dir> <data dir> [STATIONS]: per Heat shimmer episode of each benchmark station, the share labelled Visibility and the targets' largest deviation from their local level, in noises. Worth keeping for the shimmer question. Output: shimmer_stats.out.
  • .../tools/thermal_days.py <detectors> <labels dir> <data dir> [STATIONS]: per Thermal episode, the share labelled and the corrected curves' deviation from the level before. Output: thermal_days.out. thermal_split.py <thermal_days.out> K...: the labelled and unlabelled instants a threshold would drop. Kept for the camera-wave question.
  • .../tools/instants.py <detectors> <station folder> T...: per sensor at given instants (and around them), error_value in MAD (r if rejected) and corr_x/corr_y deviation in noises. Worth keeping.
  • .../tools/variant.py <detectors> <dest> <scripts/file.py> <old> <new>: a copy of the detectors with one exact substitution, for pruning. Worth keeping.

From the validation: none.

Errors

none.

  • Files already modified: detectors: none; tools: GUIDE.md (left as it was).
  • Detectors base 466799f5ecbe8d9934e2715ca0777fea5b58f2ca; git -C detectors log --oneline 466799f..HEAD:
    75276f9 improve: S6
    7973839 improve: S5
    eeaf726 improve: S4
    44fa7c3 improve: S3
    3bda184 improve: S2
    3d3c7d4 improve: S1
    
  • Tools base 99006040029d8f2208bcc20c5325b9c9c292a722; git -C tools log --oneline 9900604..HEAD:
    f5ff319 improve: S1