auto: labels requalified under the 5-noise rules (only what stands out from the noise): 32 analyses refined, the 6 paused periods verified, the long labels requalified with the fixes the period analysts found; 1153 -> 961 labels

- 32 analyses: each label kept, rewritten or removed by its analyst (section Requalification of the report; mm magnitudes where the targets have them)
- SNCF01 x3, WILDSTRUBEL 2026-09-01 -> 2026-10-06 x3: verified from their existing labels under the new rules
- long labels (no analysis): auto/analyses/long-labels/<STATION>/; NORDEND-169 and -195 run to 07/11, so NORDEND-283 and -284 (their continuation) are removed
- reading-rules.md, stations.md: the citations of removed or rewritten labels point to their successor, or to [expert]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-17 23:58:00 +01:00
1 parent c779de7720
commit ddb17c2189
321 files changed
+18464 -3426

No files matched your search

@@ -1,5 +1,7 @@
# Labels: CLARIDEN, 2026-10-20T04:00Z → 2026-11-01T00:10Z (UTC)
> **Requalified 2026-11-17** under the new rule (`labeling-rules.md`, section 1: only what stands out from the noise of the corrected curves, 5 noises). 21 labels kept unchanged, 0 rewritten, 3 removed (CLARIDEN-27, CLARIDEN-43, CLARIDEN-67); details in section 2 and in "Requalification". The verification text below is the earlier work. Two of its entries are out of date: the 30/10 18:10 → 18:30 label (later CLARIDEN-67) and the thermal entries kept under D-117 (CLARIDEN-27, -43).
The task was to verify the 21 labels already on the range (`work/existing.jsonl`, all reviewed 2026-11-17) and the one spanning label (CLARIDEN-1).
Result: 12 kept unchanged, 9 corrected, 0 removed, 3 added; 24 labels in `labels.jsonl`. Labels are built from `existing.jsonl` by `scripts/build_labels.py`, so the kept ones are byte-identical apart from the dropped `id`. `validate.py` reports 0 errors. Its 8 "overlaps to look at" are distinct events on different target rows (row C drift, row B moves, row A jolts and returns). A script checked that every bound is a measurement instant of the station (10 min rate, minutes :00 to :50).
@@ -93,6 +95,43 @@ Kept and corrected labels are justified in the table above. Below are the three
- **ranges --k 4 --instants 4**: every group instant falls inside a labelled moment. The 30/10 18:20 group stays under 4 noises per sensor there but was found by its coherence; it is labelled.
- **Weather**: CLARIDEN has no `weather/` folder (a tunnel with no Swiss position), so no weather is available. The instruction in effect (re-read after it changed during the session) reads the weather from `data/<STATION>/weather/`.
- **Removed by the requalification (2026-11-17)**:
- **CLARIDEN-27**, 2026-10-22T08:00Z → 09:20Z, Thermal displacement. Its own description says the camera moves and the compensation absorbs it. Level and noise taken outside the label, window 21/10 20:00 → 22/10 09:20: no target is beyond 5 noises over 08:50 → 09:20, the part after the view obstruction. Earlier in the label, the corrected curves do pass 5 noises (D-301-C corr_x −12.1, D-303-B corr_y −8.8, D-302-B/PR_BG corr_y +8.5, up to 08:50), but that is the bump of the Visibility label CLARIDEN-61, which stays. This is a compensated camera thermal movement, so it is not labelled.
- **CLARIDEN-43**, 2026-10-31T23:10Z → 2026-11-01T00:10Z, Thermal displacement. Same case. Level from 31/10 12:00, no target beyond 5 noises over 23:20 → 00:10. The deviations of 22:40 → 23:20 (P-301-B corr_x +11.2, D-301-C −9.4, D-302-B corr_y +7.7, D-304-B −7.0) belong to the Visibility label CLARIDEN-71, which stays. Compensated thermal: removed.
- **CLARIDEN-67**, 2026-10-30T18:10Z → 18:30Z, Displacement (the one-measurement jump through reference PR-291). Window 30/10 06:00 → 31/10 06:00, level and noise outside the label. The 18:20 jumps of row A in corr_x are D-300-A 4.2 noises (−0.094 px against a noise of 0.019), D-303-A 3.7, D-304-A 3.6, D-301-A about 3.7 and P-299-A about 1.8. They are the size of the ordinary jumps of the same day: largest jumps of 4.0 to 5.2 noises at other hours. `ranges.py --k 5` finds nothing in corr_x or corr_y, and `--k 2` finds nothing on the named targets at 18:20. It is under the threshold, so it is removed. The earlier analysis already noted "under 4 noises per sensor, found by its coherence".
## Requalification
Commands, from the repository root:
- `python3 scripts/requalify.py <folder> 5 outside`. For each non-No data label, this runs `tools/scripts/ranges.py data/CLARIDEN --columns corr_x,corr_y --k 5` on the label ± max(12 h, its length), with `--outside <label>` (level and noise outside the label). It keeps the ranges inside the label. Output: `work/rq/outside_k5.txt`.
- For the steps and drifts, the level must be the one before the label, so the run uses `--outside <label start>/<window end>` on the named targets (`work/rq/before_level.txt`, `work/rq/extra.txt`, `work/rq/c36.txt`).
- For the thermal labels, the level is the night: `--outside` the thermal hours, with the window starting the evening before (`work/rq/c68.txt`).
Values (largest deviation in noises of a named target inside the label):
| id | family | deviation | verdict |
|---|---|---|---|
| CLARIDEN-23 | Displacement | D-304-C corr_y +17.0, D-303-C +16.4, D-301-C corr_x +10.6 (level before 20/10) | kept |
| CLARIDEN-24, -60, -64, -34, -37, -66 | No data | every sensor missing (inventory, earlier analysis) | kept |
| CLARIDEN-61 | Visibility | D-301-C corr_x −13.7, D-302-B/PR_BG corr_y +9.0 | kept |
| CLARIDEN-27 | Thermal displacement | nothing beyond 5 after the view obstruction; compensated | **removed** |
| CLARIDEN-62 | Displacement | D-304-B corr_y +6.7 to +7.2, D-306-B +6.9 (window level), D-303-B +6.2 | kept |
| CLARIDEN-29 | Displacement | D-304-B corr_y −7.6, D-302-B/PR_BG −7.5, D-303-B −6.0 (level before 17:00) | kept |
| CLARIDEN-30 | Displacement | D-306-B corr_y +5.2 at 04:50 (level before 01:00); D-304-B +5.7 just after | kept, near the threshold |
| CLARIDEN-31 | Displacement | D-306-B corr_y +13.4, D-302_A +8.4, D-304-B +8.4 | kept |
| CLARIDEN-32 | Displacement | D-303-C corr_y −5.9, D-304-C −5.6, in repeated ranges 27/10 → 29/10 (level before 25/10 18:00) | kept, near the threshold |
| CLARIDEN-63 | Displacement | P-298-A corr_y −12.8, D-301-A −10.6, D-304-A −9.6 (level before 25/10 19:10) | kept |
| CLARIDEN-35 | Target issue | PR-284 corr_x +544, corr_y +449 | kept |
| CLARIDEN-36 | Displacement | D-306-B corr_y −10.1 from 19:30, D-304-B −5.8 (level before) | kept |
| CLARIDEN-65 | Target issue | D-302-B corr_y +20.2, corr_x −8.8, PR_BG corr_y −8.1 (level before) | kept |
| CLARIDEN-67 | Displacement | row A corr_x 3.6 to 4.2 at 18:20 | **removed** |
| CLARIDEN-68 | Thermal displacement | D-301-C corr_x +5.5 (09:40), +5.2 (10:20), +5.1 (11:20) against the night level, 4.1 to 4.7 in between until 13:00; D-304-C corr_y +5.2 (09:50); D-303-C corr_x −5.5 (10:50) | kept: the corrected curves keep part of the cycle, near the threshold |
| CLARIDEN-69 | Visibility | D-301-C corr_x −9.7, D-302-B/PR_BG corr_y +6.2 | kept |
| CLARIDEN-70 | Visibility | D-301-C corr_x −7.6, P-299-A +6.2, D-304-A +5.5 (reference PR-295 −10.0) | kept |
| CLARIDEN-71 | Visibility | D-302-B/PR_BG corr_x +12.0, D-303-B +11.9, P-301-B +11.7 | kept |
| CLARIDEN-43 | Thermal displacement | nothing beyond 5 after the view obstruction; compensated | **removed** |
No kept label rests in its description on what is no longer labelled, so none is rewritten. The kept ones are byte-identical to the input, without `id`, and keep their `review`. `validate.py`: 21 labels, 0 errors, 8 overlaps between distinct row events.
## 3. The documentation
- **What helped**:
- Rule 2 ("bounds are measurement instants, at the minute") drove 8 of the 9 corrections. The existing labels carried 15-minute-grid minutes (:15, :45) on a 10-minute station.
@@ -108,4 +147,6 @@ Kept and corrected labels are justified in the table above. Below are the three
- The instructions file and `tools/GUIDE.md` changed on disk during the session. The weather moved from a fetch command to `data/<STATION>/weather/`; CLARIDEN has neither a stations.txt place nor a weather folder, so the outcome is the same.
## Sources read
`instructions/analyst.md` (twice), `tools/GUIDE.md`, `tools/DATA.md`, `labeling/families.md`, `labeling/labeling-rules.md`, `labeling/reading-rules.md`, `labeling/stations.md`, `labeling/auto/CLARIDEN.jsonl` (labels at and around the range: CLARIDEN-1, 5, 11–15, 20–22), `work/existing.jsonl`, `work/spanning.jsonl`, `request.json`, `~/aimsight-data/extraction/stations.txt` (CLARIDEN line, no place). Precedents: `precedents.py` (WYOMING-17, NIEDERHORN-126, CLARIDEN-11, NORDEND-65/89, SNCF01-42). Tools: inventory, overview (common, residuals, rigid at 10 min and 6 h, with --follow), ranges (--rolling 6, --instants 3 and 4), days --bounds --smoothing 5, metrics (3 h and 1 h), summary (10 min, 30 min, 1 h, 6 h), plot. Raw: displacement CSVs (instants of all stations around the gaps), `metrics/` BusVoltage, last_sync, link, GPU on 30/10. Images: 20261030T1800Z, 20261031T1200Z (whole). No quality metrics on this camera (empty columns).
Requalification: `instructions/analyst.md`, `tools/GUIDE.md` (ranges), `labeling/labeling-rules.md` sections 1–3, `work/requalify_input.jsonl`, this analysis, `report.md`, `inventory.py` (distances, mm/px).
Earlier work: `instructions/analyst.md` (twice), `tools/GUIDE.md`, `tools/DATA.md`, `labeling/families.md`, `labeling/labeling-rules.md`, `labeling/reading-rules.md`, `labeling/stations.md`, `labeling/auto/CLARIDEN.jsonl` (labels at and around the range: CLARIDEN-1, 5, 11–15, 20–22), `work/existing.jsonl`, `work/spanning.jsonl`, `request.json`, `~/aimsight-data/extraction/stations.txt` (CLARIDEN line, no place). Precedents: `precedents.py` (WYOMING-17, NIEDERHORN-126, CLARIDEN-11, NORDEND-65/89, SNCF01-42). Tools: inventory, overview (common, residuals, rigid at 10 min and 6 h, with --follow), ranges (--rolling 6, --instants 3 and 4), days --bounds --smoothing 5, metrics (3 h and 1 h), summary (10 min, 30 min, 1 h, 6 h), plot. Raw: displacement CSVs (instants of all stations around the gaps), `metrics/` BusVoltage, last_sync, link, GPU on 30/10. Images: 20261030T1800Z, 20261031T1200Z (whole). No quality metrics on this camera (empty columns).