87 lines
9.1 KiB
Markdown
87 lines
9.1 KiB
Markdown
# optimize: SNCF01, 2026-10-14 → 2026-10-23
|
||||
|
|
|
|||
|
|
**Result**: modification kept
|
|||
|
|
**Tools changed**: none
|
|||
|
|
|
|||
|
|
## The range
|
|||
|
|
SNCF01, 2026-10-14T00:00Z → 2026-10-23T00:00Z, 39 labels, per instant, found / correct (before → end):
|
|||
|
|
- Displacement: 361/651 (55 %) / 361/361 (100 %) → unchanged
|
|||
|
|
- No data: 19/19 (100 %) / 19/27 (70 %) → unchanged
|
|||
|
|
- Obstruction: 3/6 (50 %) / 3/225 (1 %) → unchanged
|
|||
|
|
- Perturbation: — / 0/10 (0 %) → — / 0/7 (0 %)
|
|||
|
|
- Target issue: 651/651 (100 %) / 651/651 (100 %) → unchanged
|
|||
|
|
- Thermal displacement: 405/442 (92 %) / 405/554 (73 %) → unchanged
|
|||
|
|
- Visibility: 4/175 (2 %) / 4/14 (29 %) → unchanged
|
|||
|
|
|
|||
|
|
## Elsewhere
|
|||
|
|
```
|
|||
|
|
Total Perturbation found 9 → 8 % (3 instants lost)
|
|||
|
|
Total Perturbation correct 4 → 5 %
|
|||
|
|
FLORIDA Perturbation found 9 → 5 % (1 instants lost)
|
|||
|
|
FLORIDA Perturbation correct 2 → 1 % (-35 instants lost)
|
|||
|
|
NORDEND Perturbation found 8 → 4 % (1 instants lost)
|
|||
|
|
WILDSTRUBEL Perturbation found 2 → 0 % (1 instants lost)
|
|||
|
|
WILDSTRUBEL Perturbation correct 17 → 0 % (-2 instants lost)
|
|||
|
|
|
|||
|
|
0 regression(s); complexity: 611 code lines, 47 constants → 613 code lines, 47 constants
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
## What changed
|
|||
|
|
- **S1** (`cc9a4d2`, `scripts/categories.py`, `host()`): a jump back to normal now also joins an overlapping Obstruction or Target issue that lasts a single instant, whatever its targets, so the all-target jump caused by a passage hiding the references belongs to the Obstruction instead of a separate Perturbation (no constant, +2 code lines).
|
|||
|
|
|
|||
|
|
Upgrader: `changed`; validator: `keep`.
|
|||
|
|
|
|||
|
|
## For the user to decide
|
|||
|
|
From the modification, "Limits":
|
|||
|
|
- SNCF01-98, -43, -47, -53, -101, -67 (Visibility, heat shimmer by day): the measurements alone cannot separate shimmer from the unlabelled daytime agitation of other stations. It would take weather or temperature data (sun, air temperature: SNCF01 records none), or a reading of the images, for a sunny-day condition.
|
|||
|
|
- SNCF01-103 (2026-10-20 04:45 → 08:00, Visibility): whether R1 is seen less well or moves is decided on the night images in the report; the error_value notch alone is within the normal variation of other stations.
|
|||
|
|
- SNCF01-42 (2026-10-15 05:15 → 05:45, Displacement): a lasting 0.3–0.4 mm remainder of a camera step, below the jump noise threshold; covered by SNCF01-7 at the month scale.
|
|||
|
|
|
|||
|
|
From the modification, "For the user to decide":
|
|||
|
|
- S1 absorbs three labelled Perturbation instants into a one-measurement Obstruction: FLORIDA-18 (2026-10-09 08:00 → 13:30), WILDSTRUBEL-153 (2026-10-03 15:15 → 2026-10-04 15:45), and one instant of a NORDEND Perturbation label still covered by another Perturbation event. They are long Perturbation labels, and a single instant of each falls on a one-measurement obstruction found by the error_value. The detectors read that instant as the passage's. Benchmark: Total Perturbation found −0.84 point, under the limit.
|
|||
|
|
- Heat shimmer without an error_value rise (SNCF01-98, -43, -47, -53, -101, -67, Visibility; 14 to 18/10 and 21/10 by day). The detectors keep the families boundary: no Heat shimmer without the error_value level rising. The SNCF01 labels call it turbulence because the error *fluctuates*. Variants tried: removing the error gate (SNCF01 Visibility found 4 → 95 % on the month) or gating on the error_value fluctuation instead of its level (4 → 94 %). Both make 8 regressions (Total Visibility correct 69 → 46 % or 49 %; ALASKA, FLORIDA, JUNGFRAU, LENZSPITZE, NIEDERHORN and NORDEND each lose 230 to 1230 correct instants) and cost the Total Perturbation found 1.7 points. The labels of the other stations do not retain daytime agitation without an error rise. Deciding between the two readings is a labelling question (families boundary "Thermal displacement or Visibility").
|
|||
|
|
- The rule "an Obstruction or a Target issue merges only with the same target" survives the pruning without a regression on the benchmark. It was kept because it holds one event per target, which the benchmark does not measure.
|
|||
|
|
|
|||
|
|
From the validation, "Reservations":
|
|||
|
|
- Perturbation "found" loses 1 instant on each of 3 stations (Total 9 → 8 %, -0.8 point). Each lost instant is a jump back at the instant of a one-instant Brief obstruction. The detectors now read it as part of that Obstruction (families.md, "a passage in front of a reference that makes the base jump is Obstruction"), but the label keeps it as Perturbation:
|
|||
|
|
- FLORIDA, label FLORIDA-18 (2026-10-09T08:00Z → 13:30Z): the 10:00Z jump (6 sensors) is now in the Brief obstruction at 10:00Z.
|
|||
|
|
- NORDEND, label NORDEND-112 (2026-09-13T04:00Z → 05:15Z): the 04:15Z jump (19 sensors) is now in the Brief obstruction starting at 04:15Z.
|
|||
|
|
- WILDSTRUBEL, label WILDSTRUBEL-153 (2026-10-03T15:15Z → 10-04T15:45Z): the 04:42Z jump is now in the Brief obstruction starting at 04:42Z.
|
|||
|
|
- A side effect seen on NORDEND: the Brief obstruction at 2026-09-08T12:45Z no longer absorbs the jump of 09-05T12:15Z, which now joins an earlier host. The scores do not change because of it.
|
|||
|
|
- Absorbed jumps now widen the `sensors` of the host Obstruction event (e.g. 1 → 7 sensors on FLORIDA 10-09T10:00Z, 1 → 19 on NORDEND 08-31T00:00Z). This follows from the rule. The benchmark does not see it (scored per instant, without the sensors).
|
|||
|
|
|
|||
|
|
## Not fixed
|
|||
|
|
- Heat shimmer at SNCF01: see above. Contradicting readings between stations, not a detector defect.
|
|||
|
|
- SNCF01-103 (R1 seen less well): the reference's error rises a notch far below K_MAD, and stays raised after the curves come back. A lower threshold for references would be a new rule fitted to one case.
|
|||
|
|
- Thermal displacement on a day without the cycle (19/10): variant "skip a full day whose own likeness to the profile is under REPRO" (3 lines, no constant). It removes the 19/10 episodes (range Thermal correct 73 → 85 %) but makes 6 regressions: Total Thermal found 81 → 72 %, 1552 labelled instants lost (NORDEND 837, JUNGFRAU 270, SNCF01 268 on the month). Labelled thermal days themselves often look little like the profile. Dropped.
|
|||
|
|
- SNCF01-99 (a passage hitting three targets and BG.3.1 below its threshold): fewer than BRIEF_MIN sensors high; lowering it would take back the cobweb cases of E-002.
|
|||
|
|
- F4.3 flagged Target issue without a label: not studied (no score effect).
|
|||
|
|
|
|||
|
|
## Reading tools
|
|||
|
|
"What I decided" of tools.md:
|
|||
|
|
- `days.py`: left. The right fix has two parts: a `--each` option, so that `--bounds` gives one series per sensor of `--sensors` in a single command with no loop, and a sentence in the `days.py` section of `GUIDE.md` saying that the target median cancels targets that move in opposite directions (then use `--each --sensors`). Both need a `GUIDE.md` change. Per `tools/CLAUDE.md`, a new option enters the guide in the same change, and the request forbids committing `GUIDE.md` (already modified by another session). A script-only change would break the target's rule, so I made none (see "Not fixed").
|
|||
|
|
- `ranges.py`: left. It behaves as the guide says.
|
|||
|
|
- `build_labels.py`, the ranges loop: left where they are (specific to this range).
|
|||
|
|
- `precedents.py`: outside the target.
|
|||
|
|
|
|||
|
|
"What changed": none. data.py: unchanged.
|
|||
|
|
|
|||
|
|
For the user to decide (tools.md): whether to apply, in a later session where `GUIDE.md` is free, `days.py --bounds --each` together with its guide sentence, or only a guide sentence.
|
|||
|
|
|
|||
|
|
## Scripts of the agents
|
|||
|
|
"Tools" of the modification:
|
|||
|
|
- `sessions/SNCF01_2026-10-14T0645_2026-10-22T1030_20261118T1350Z/tools/labels_in_range.py`: the labels of a JSONL file touching [FROM, TO); args `file FROM TO`. Worth keeping.
|
|||
|
|
- `.../tools/shimmer_hours.py` (copied from the 1322Z session): per hour, the heat-shimmer statistics (share agitated, median agitation, median error level); args `station from to [detectors dir]`. Worth keeping.
|
|||
|
|
- `.../tools/shimmer_err_agit.py` (copied from the 1322Z session): per hour, the median error_value fluctuation ratio; args `station from to`. One-off.
|
|||
|
|
- `.../tools/shimmer_strength.py`: over all stations, the agitated hours binned by agitation strength and error rise, inside or outside a Visibility label; args `labels_dir data_dir [detectors dir]`. Worth keeping for any shimmer gate change.
|
|||
|
|
- `.../tools/prune_categories.py`: applies one pruning variant P1..P5 of categories.py to a copy; args `copy_dir variant`. One-off (its texts match the S1 state).
|
|||
|
|
- `.../tools/lost_perturbations.py`: the Perturbation labels that copy A covers with a Perturbation event and copy B no longer does; args `labels_dir data_dir detA detB STATION...`. Worth keeping.
|
|||
|
|
- `.../tools/error_high.py`: the error_value of some sensors over a window, with MAD score and the "high" test of visibility.py; args `station from to SENSOR...`. Worth keeping.
|
|||
|
|
|
|||
|
|
"Tools" of the validation: none.
|
|||
|
|
|
|||
|
|
## Errors
|
|||
|
|
none.
|
|||
|
|
- Files already modified: detectors: none; tools: `GUIDE.md` (left as it was, neither committed nor reverted).
|
|||
|
|
- Detectors base `3c2189b6ef2311a2fd824299fb34a8de46908534`; `git -C detectors log --oneline <base>..HEAD`: `cc9a4d2 improve: S1`.
|
|||
|
|
- Tools base `f57e6ea045b9e9b3b31488f09f619f29edb063b2`; no commit.
|