Essai du 2026-11-05 : le batch, le scan, la première séance d'amélioration, l'audit du scanner et ses outils

batches/2026-11-05/ : détecteurs, vérité, rapport du scanner, improve/ (mesures, modification, validation, bilan, tools/instants.py de l'upgrader) ; docs/essais/ : le journal de l'essai et l'audit ; outils/ : les scripts de lecture de l'audit, réutilisables (JOUR=AAAA-MM-JJ).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-14 15:18:26 +01:00
1 parent dab71a9037
commit ed4cedbe70
47 files changed
+1490

No files matched your search

+137
View File
@@ -0,0 +1,137 @@
# Les détecteurs, 2026-11-05 (UTC)
Une section par station : sa figure, ses capteurs, puis les étiquettes des détecteurs (id court, heures, famille : variété, capteurs ; grisé : non montré au client). Le détail : verite/<STATION>.jsonl.
## BREITHORN
figures/BREITHORN.png ; 12 cibles, 4 références ; une mesure toutes les 240 min, 6 instants mesurés.
- D1 00:00 → 04:00 Displacement : Sudden jump, back to normal, POUI22
- D2 00:00 → 04:00 Obstruction : Target obscured, COLI22, COLI24, POUI22, grisé
- D3 08:00 → 08:00 Displacement : Sudden jump, back to normal, COLI22
## CLARIDEN
figures/CLARIDEN.png ; 24 cibles, 5 références ; une mesure toutes les 10 min, 144 instants mesurés.
- D1 00:00 → 23:50 Obstruction : Target obscured, P-300-B, grisé
## FLORIDA
figures/FLORIDA.png ; 6 cibles, 2 références ; une mesure toutes les 15 min, 96 instants mesurés.
- D1 00:00 → 23:45 Target issue : Target stuck, Pont Ernen, grisé
- D2 00:00 → 23:45 Target issue : Target stuck, Sellette 3, grisé
- D3 00:00 → 17:00 Target issue : Target flipping, Sellette 3, grisé
- D4 00:00 → 20:00 Target issue : Target flipping, Pont Ernen, grisé
- D5 00:00 → 16:30 Obstruction : Target obscured, Massif 2, grisé
- D6 08:00 → 14:00 Thermal displacement : Camera thermal expansion, 8 capteurs
- D7 14:00 → 23:45 Thermal displacement : Camera thermal contraction, 8 capteurs
- D8 17:45 → 23:45 Obstruction : Target obscured, Massif 2, grisé
## JUNGFRAU
figures/JUNGFRAU.png ; 12 cibles, 3 références ; une mesure toutes les 15 min, 96 instants mesurés.
- D1 00:00 → 23:45 Obstruction : Target obscured, PM_G, grisé
- D2 00:00 → 02:00 Thermal displacement : Thermal contraction, 10 capteurs
- D3 03:30 → 07:30 Visibility : Poor visibility, 13 capteurs
- D4 10:00 → 13:00 Thermal displacement : Thermal expansion, 10 capteurs
- D5 13:00 → 23:45 Thermal displacement : Thermal contraction, 10 capteurs
- D6 16:45 → 23:45 Visibility : Poor visibility, 15 capteurs
- D7 17:45 → 18:30 Displacement : Jump, not back yet, BJ_C, BJ_D, BJ_G, PM_C
## LENZSPITZE
figures/LENZSPITZE.png ; 32 cibles, 9 références ; une mesure toutes les 5 min, 298 instants mesurés.
- D1 00:00 → 18:30 Thermal displacement : Camera thermal movement, 41 capteurs
- D2 02:35 → 02:50 Visibility : Poor visibility, 35 capteurs
- D3 02:40 → 02:40 Obstruction : Brief obstruction, 1010, 7013B, 7013H, grisé
- D4 07:55 → 07:55 Obstruction : Brief obstruction, 9 capteurs, grisé
- D5 08:20 → 08:35 Visibility : Poor visibility, 28 capteurs
- D6 09:55 → 09:55 Obstruction : Brief obstruction, 92H, grisé
- D7 14:40 → 14:50 Visibility : Poor visibility, 26 capteurs
- D8 21:20 → 23:55 Displacement : Jump, not back yet, 16 capteurs
- D9 22:55 → 23:55 Visibility : Poor visibility, 27 capteurs
## MICHIGAN
figures/MICHIGAN.png ; 14 cibles, 3 références ; une mesure toutes les 240 min, 6 instants mesurés.
- D1 00:00 → 20:00 Obstruction : Target obscured, REFPOU22, grisé
## NADELHORN
figures/NADELHORN.png ; 26 cibles, 9 références ; une mesure toutes les 5 min, 384 instants mesurés.
- D1 00:00 → 23:45 Obstruction : Target obscured, l_c10_mon, m_c10_mon, grisé
- D2 00:00 → 23:55 Visibility : Poor visibility, 21 capteurs
- D3 00:00 → 06:30 Obstruction : Brief obstruction, m_c9_mon, m_c12_mon, grisé
- D4 06:45 → 06:45 Obstruction : Brief obstruction, c12_mon, grisé
- D5 07:45 → 23:45 Obstruction : Brief obstruction, m_c12_mon, m_c9_mon, m_c5_mon, grisé
- D6 09:00 → 14:00 Thermal displacement : Camera thermal expansion, 35 capteurs
- D7 09:50 → 09:50 Displacement : Jump, not back yet, ref1_mon, ref2_mon, ref3_mon
- D8 14:00 → 23:55 Thermal displacement : Camera thermal contraction, 35 capteurs
## NEBRASKA
figures/NEBRASKA.png ; 12 cibles, 3 références ; une mesure toutes les 240 min, 6 instants mesurés.
- D1 00:00 → 20:00 Obstruction : Target obscured, REFCOLH22, grisé
## NIEDERHORN
figures/NIEDERHORN.png ; 0 cibles, 0 références ; une mesure toutes les 0 min, 0 instants mesurés.
- D1 00:00 → 00:00 No data : No data, tous les capteurs
## NORDEND
figures/NORDEND.png ; 19 cibles, 3 références ; une mesure toutes les 15 min, 96 instants mesurés.
- D1 00:00 → 14:45 Obstruction : Target obscured, CTR01, grisé
- D2 00:45 → 09:30 Visibility : Poor visibility, 20 capteurs
- D3 03:45 → 03:45 Obstruction : Brief obstruction, CTR01, grisé
- D4 07:00 → 14:00 Thermal displacement : Camera thermal expansion, 22 capteurs
- D5 07:15 → 07:45 Obstruction : Brief obstruction, PR09, grisé
- D6 09:30 → 09:30 Obstruction : Brief obstruction, PR09, grisé
- D7 13:30 → 15:00 Visibility : Poor visibility, CTR02, PR01, PR02, PR09
- D8 14:00 → 20:00 Thermal displacement : Camera thermal contraction, 22 capteurs
- D9 23:15 → 23:45 Displacement : Jump, not back yet, 19 capteurs
## SNCF01
figures/SNCF01.png ; 24 cibles, 3 références ; une mesure toutes les 15 min, 63 instants mesurés.
- D1 00:00 → 23:45 Obstruction : Target obscured, BG.1, grisé
- D2 00:00 → 23:45 Obstruction : Target obscured, CV.7, grisé
- D3 00:00 → 23:45 Obstruction : Target obscured, F4.1, BG.1, F4.2, grisé
- D4 00:00 → 23:45 Obstruction : Target obscured, F4.3, grisé
- D5 00:00 → 08:29 No data : No data, tous les capteurs
## SUSTENHORN
figures/SUSTENHORN.png ; 18 cibles, 4 références ; une mesure toutes les 1 min, 288 instants mesurés.
- D1 00:00 → 00:00 No data : No data, tous les capteurs
- D2 00:00 → 15:00 Thermal displacement : Thermal contraction, 22 capteurs
- D3 05:15 → 05:31 Obstruction : Brief obstruction, 11 capteurs, grisé
- D4 09:02 → 10:31 Obstruction : Brief obstruction, 11 capteurs, grisé
- D5 15:00 → 17:00 Thermal displacement : Thermal expansion, 22 capteurs
- D6 15:02 → 15:02 Obstruction : Brief obstruction, 11 capteurs, grisé
- D7 16:15 → 16:15 Obstruction : Brief obstruction, 11 capteurs, grisé
- D8 16:45 → 16:47 Visibility : Poor visibility, 11 capteurs, grisé
- D9 16:45 → 16:47 Visibility : Poor visibility, 11 capteurs
- D10 17:00 → 23:47 Thermal displacement : Thermal contraction, 22 capteurs
- D11 17:15 → 17:15 Obstruction : Brief obstruction, 11 capteurs, grisé
- D12 18:30 → 18:30 Obstruction : Brief obstruction, 11 capteurs, grisé
- D13 18:45 → 18:47 Visibility : Poor visibility, 11 capteurs, grisé
- D14 18:45 → 18:47 Visibility : Poor visibility, 11 capteurs
- D15 19:30 → 19:32 Obstruction : Brief obstruction, 11 capteurs, grisé
- D16 20:32 → 20:32 Obstruction : Brief obstruction, 11 capteurs, grisé
- D17 23:00 → 23:02 Visibility : Poor visibility, 11 capteurs, grisé
- D18 23:00 → 23:02 Visibility : Poor visibility, 12 capteurs
- D19 23:30 → 23:30 Obstruction : Brief obstruction, 11 capteurs, grisé
Sans mesure du 2026-11-02 au 2026-11-05 : WILDSTRUBEL.
@@ -0,0 +1,3 @@
{"id": "BREITHORN-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T04:00Z", "categorie": "Displacement", "description": "Détecteurs : Sudden jump, back to normal, POUI22. One target jumped and came back. The cause is not established: look at the images."}
{"id": "BREITHORN-2026-11-05-D2", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T04:00Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, COLI22, COLI24, POUI22, grisé. COLI22, COLI24, POUI22 were hidden several times while the targets around them stayed clear. Ignore their curves in this period."}
{"id": "BREITHORN-2026-11-05-D3", "debut": "2026-11-05T08:00Z", "fin": "2026-11-05T08:00Z", "categorie": "Displacement", "description": "Détecteurs : Sudden jump, back to normal, COLI22. One target jumped and came back. The cause is not established: look at the images."}
@@ -0,0 +1 @@
{"id": "CLARIDEN-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:50Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, P-300-B, grisé. P-300-B was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
@@ -0,0 +1,8 @@
{"id": "FLORIDA-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Target issue", "description": "Détecteurs : Target stuck, Pont Ernen, grisé. Pont Ernen barely moved while the other targets did (4 days): it may be set on a reference prism. Ignore its curve in this period and look at the images of the target."}
{"id": "FLORIDA-2026-11-05-D2", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Target issue", "description": "Détecteurs : Target stuck, Sellette 3, grisé. Sellette 3 barely moved while the other targets did (4 days): it may be set on a reference prism. Ignore its curve in this period and look at the images of the target."}
{"id": "FLORIDA-2026-11-05-D3", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T17:00Z", "categorie": "Target issue", "description": "Détecteurs : Target flipping, Sellette 3, grisé. Sellette 3 jumped and came back 42 times: its tracking is not reliable, look at the images of the target. Ignore its curve in this period and look at the images of the target."}
{"id": "FLORIDA-2026-11-05-D4", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T20:00Z", "categorie": "Target issue", "description": "Détecteurs : Target flipping, Pont Ernen, grisé. Pont Ernen jumped and came back 25 times: its tracking is not reliable, look at the images of the target. Ignore its curve in this period and look at the images of the target."}
{"id": "FLORIDA-2026-11-05-D5", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T16:30Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, Massif 2, grisé. Massif 2 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
{"id": "FLORIDA-2026-11-05-D6", "debut": "2026-11-05T08:00Z", "fin": "2026-11-05T14:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal expansion, 8 capteurs. The camera support expands in the day heat; the curves are corrected for it. This daily wave is normal: nothing to do."}
{"id": "FLORIDA-2026-11-05-D7", "debut": "2026-11-05T14:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal contraction, 8 capteurs. The camera support contracts as it cools down; the curves are corrected for it. This daily wave is normal: nothing to do."}
{"id": "FLORIDA-2026-11-05-D8", "debut": "2026-11-05T17:45Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, Massif 2, grisé. Massif 2 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
@@ -0,0 +1,7 @@
{"id": "JUNGFRAU-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, PM_G, grisé. PM_G was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
{"id": "JUNGFRAU-2026-11-05-D2", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T02:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Thermal contraction, 10 capteurs. The structure contracts as it cools down. This daily wave is normal: nothing to do."}
{"id": "JUNGFRAU-2026-11-05-D3", "debut": "2026-11-05T03:30Z", "fin": "2026-11-05T07:30Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 13 capteurs. The camera saw 13 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care."}
{"id": "JUNGFRAU-2026-11-05-D4", "debut": "2026-11-05T10:00Z", "fin": "2026-11-05T13:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Thermal expansion, 10 capteurs. The structure expands in the day heat. This daily wave is normal: nothing to do. The jump of 3 targets in this period has the same cause."}
{"id": "JUNGFRAU-2026-11-05-D5", "debut": "2026-11-05T13:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Thermal displacement", "description": "Détecteurs : Thermal contraction, 10 capteurs. The structure contracts as it cools down. This daily wave is normal: nothing to do."}
{"id": "JUNGFRAU-2026-11-05-D6", "debut": "2026-11-05T16:45Z", "fin": "2026-11-05T23:45Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 15 capteurs. The camera saw 15 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care."}
{"id": "JUNGFRAU-2026-11-05-D7", "debut": "2026-11-05T17:45Z", "fin": "2026-11-05T18:30Z", "categorie": "Displacement", "description": "Détecteurs : Jump, not back yet, BJ_C, BJ_D, BJ_G, PM_C. 4 targets shifted and have not come back yet. Check whether the structure moved: look at the images."}
@@ -0,0 +1,9 @@
{"id": "LENZSPITZE-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T18:30Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal movement, 41 capteurs. The camera moved with a change of temperature and all the curves moved with it; this is not a movement of the structure, nothing to do. The jump of 3 targets in this period has the same cause."}
{"id": "LENZSPITZE-2026-11-05-D2", "debut": "2026-11-05T02:35Z", "fin": "2026-11-05T02:50Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 35 capteurs. The camera saw 35 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care. The jumps of 6 targets in this period have the same cause."}
{"id": "LENZSPITZE-2026-11-05-D3", "debut": "2026-11-05T02:40Z", "fin": "2026-11-05T02:40Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 1010, 7013B, 7013H, grisé. Something passed in front of 3 targets for a single measurement. Ignore this point on the curves."}
{"id": "LENZSPITZE-2026-11-05-D4", "debut": "2026-11-05T07:55Z", "fin": "2026-11-05T07:55Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 9 capteurs, grisé. Something passed in front of 9 targets for a single measurement. Ignore this point on the curves."}
{"id": "LENZSPITZE-2026-11-05-D5", "debut": "2026-11-05T08:20Z", "fin": "2026-11-05T08:35Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 28 capteurs. The camera saw 28 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care. The jumps of 12 targets in this period have the same cause."}
{"id": "LENZSPITZE-2026-11-05-D6", "debut": "2026-11-05T09:55Z", "fin": "2026-11-05T09:55Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 92H, grisé. Something passed in front of one target for a single measurement. Ignore this point on the curves."}
{"id": "LENZSPITZE-2026-11-05-D7", "debut": "2026-11-05T14:40Z", "fin": "2026-11-05T14:50Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 26 capteurs. The camera saw 26 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care. The jumps of 5 targets in this period have the same cause."}
{"id": "LENZSPITZE-2026-11-05-D8", "debut": "2026-11-05T21:20Z", "fin": "2026-11-05T23:55Z", "categorie": "Displacement", "description": "Détecteurs : Jump, not back yet, 16 capteurs. 16 targets shifted and have not come back yet. Check whether the structure moved: look at the images."}
{"id": "LENZSPITZE-2026-11-05-D9", "debut": "2026-11-05T22:55Z", "fin": "2026-11-05T23:55Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 27 capteurs. The camera saw 27 targets less clearly than usual. The data in this period are less precise: use them with care."}
@@ -0,0 +1 @@
{"id": "MICHIGAN-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T20:00Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, REFPOU22, grisé. REFPOU22 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
@@ -0,0 +1,8 @@
{"id": "NADELHORN-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, l_c10_mon, m_c10_mon, grisé. l_c10_mon, m_c10_mon were hidden several times while the targets around them stayed clear. Ignore their curves in this period."}
{"id": "NADELHORN-2026-11-05-D2", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:55Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 21 capteurs. The camera saw 21 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care. The jump of 11 targets in this period has the same cause."}
{"id": "NADELHORN-2026-11-05-D3", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T06:30Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, m_c9_mon, m_c12_mon, grisé. Something passed in front of 2 targets for a single measurement. Ignore this point on the curves."}
{"id": "NADELHORN-2026-11-05-D4", "debut": "2026-11-05T06:45Z", "fin": "2026-11-05T06:45Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, c12_mon, grisé. Something passed in front of one target for a single measurement. Ignore this point on the curves."}
{"id": "NADELHORN-2026-11-05-D5", "debut": "2026-11-05T07:45Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, m_c12_mon, m_c9_mon, m_c5_mon, grisé. Something passed in front of 3 targets for a single measurement. Ignore this point on the curves."}
{"id": "NADELHORN-2026-11-05-D6", "debut": "2026-11-05T09:00Z", "fin": "2026-11-05T14:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal expansion, 35 capteurs. The camera support expands in the day heat; the curves are corrected for it. This daily wave is normal: nothing to do."}
{"id": "NADELHORN-2026-11-05-D7", "debut": "2026-11-05T09:50Z", "fin": "2026-11-05T09:50Z", "categorie": "Displacement", "description": "Détecteurs : Jump, not back yet, ref1_mon, ref2_mon, ref3_mon. 3 targets shifted and have not come back yet. Check whether the structure moved: look at the images."}
{"id": "NADELHORN-2026-11-05-D8", "debut": "2026-11-05T14:00Z", "fin": "2026-11-05T23:55Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal contraction, 35 capteurs. The camera support contracts as it cools down; the curves are corrected for it. This daily wave is normal: nothing to do."}
@@ -0,0 +1 @@
{"id": "NEBRASKA-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T20:00Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, REFCOLH22, grisé. REFCOLH22 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
@@ -0,0 +1 @@
{"id": "NIEDERHORN-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-06T00:00Z", "categorie": "No data", "description": "Détecteurs : No data, tous les capteurs. No measurement in the export for 43 h 00 min, up to the end of the period (usually one every 1 h 00 min)."}
@@ -0,0 +1,9 @@
{"id": "NORDEND-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T14:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, CTR01, grisé. CTR01 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
{"id": "NORDEND-2026-11-05-D2", "debut": "2026-11-05T00:45Z", "fin": "2026-11-05T09:30Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 20 capteurs. The camera saw 20 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care. The jumps of 18 targets in this period have the same cause."}
{"id": "NORDEND-2026-11-05-D3", "debut": "2026-11-05T03:45Z", "fin": "2026-11-05T03:45Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, CTR01, grisé. Something passed in front of one target for a single measurement. Ignore this point on the curves."}
{"id": "NORDEND-2026-11-05-D4", "debut": "2026-11-05T07:00Z", "fin": "2026-11-05T14:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal expansion, 22 capteurs. The camera support expands in the day heat; the curves are corrected for it. This daily wave is normal: nothing to do. The jump of 2 targets in this period has the same cause."}
{"id": "NORDEND-2026-11-05-D5", "debut": "2026-11-05T07:15Z", "fin": "2026-11-05T07:45Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, PR09, grisé. Something passed in front of one target for a single measurement. Ignore this point on the curves."}
{"id": "NORDEND-2026-11-05-D6", "debut": "2026-11-05T09:30Z", "fin": "2026-11-05T09:30Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, PR09, grisé. Something passed in front of one target for a single measurement. Ignore this point on the curves."}
{"id": "NORDEND-2026-11-05-D7", "debut": "2026-11-05T13:30Z", "fin": "2026-11-05T15:00Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, CTR02, PR01, PR02, PR09. The camera saw 4 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care."}
{"id": "NORDEND-2026-11-05-D8", "debut": "2026-11-05T14:00Z", "fin": "2026-11-05T20:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal contraction, 22 capteurs. The camera support contracts as it cools down; the curves are corrected for it. This daily wave is normal: nothing to do."}
{"id": "NORDEND-2026-11-05-D9", "debut": "2026-11-05T23:15Z", "fin": "2026-11-05T23:45Z", "categorie": "Displacement", "description": "Détecteurs : Jump, not back yet, 19 capteurs. 19 targets shifted and have not come back yet. Check whether the structure moved: look at the images."}
@@ -0,0 +1,5 @@
{"id": "SNCF01-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, BG.1, grisé. BG.1 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
{"id": "SNCF01-2026-11-05-D2", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, CV.7, grisé. CV.7 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
{"id": "SNCF01-2026-11-05-D3", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, F4.1, BG.1, F4.2, grisé. F4.1, BG.1, F4.2 were hidden several times while the targets around them stayed clear. Ignore their curves in this period."}
{"id": "SNCF01-2026-11-05-D4", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, F4.3, grisé. F4.3 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
{"id": "SNCF01-2026-11-05-D5", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T08:29Z", "categorie": "No data", "description": "Détecteurs : No data, tous les capteurs. No measurement in the export for 12 h 14 min (usually one every 15 min)."}
@@ -0,0 +1,19 @@
{"id": "SUSTENHORN-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-06T00:00Z", "categorie": "No data", "description": "Détecteurs : No data, tous les capteurs. No measurement in the export for 13 min (usually one every 1 min)."}
{"id": "SUSTENHORN-2026-11-05-D2", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T15:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Thermal contraction, 22 capteurs. The structure contracts as it cools down. This daily wave is normal: nothing to do. The jump of 2 targets in this period has the same cause."}
{"id": "SUSTENHORN-2026-11-05-D3", "debut": "2026-11-05T05:15Z", "fin": "2026-11-05T05:31Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D4", "debut": "2026-11-05T09:02Z", "fin": "2026-11-05T10:31Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D5", "debut": "2026-11-05T15:00Z", "fin": "2026-11-05T17:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Thermal expansion, 22 capteurs. The structure expands in the day heat. This daily wave is normal: nothing to do."}
{"id": "SUSTENHORN-2026-11-05-D6", "debut": "2026-11-05T15:02Z", "fin": "2026-11-05T15:02Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D7", "debut": "2026-11-05T16:15Z", "fin": "2026-11-05T16:15Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D8", "debut": "2026-11-05T16:45Z", "fin": "2026-11-05T16:47Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 11 capteurs, grisé. The camera could not see 11 targets clearly. The curves in this period are not reliable: ignore them."}
{"id": "SUSTENHORN-2026-11-05-D9", "debut": "2026-11-05T16:45Z", "fin": "2026-11-05T16:47Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 11 capteurs. The camera saw 11 targets less clearly than usual. The data in this period are less precise: use them with care."}
{"id": "SUSTENHORN-2026-11-05-D10", "debut": "2026-11-05T17:00Z", "fin": "2026-11-05T23:47Z", "categorie": "Thermal displacement", "description": "Détecteurs : Thermal contraction, 22 capteurs. The structure contracts as it cools down. This daily wave is normal: nothing to do."}
{"id": "SUSTENHORN-2026-11-05-D11", "debut": "2026-11-05T17:15Z", "fin": "2026-11-05T17:15Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D12", "debut": "2026-11-05T18:30Z", "fin": "2026-11-05T18:30Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D13", "debut": "2026-11-05T18:45Z", "fin": "2026-11-05T18:47Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 11 capteurs, grisé. The camera could not see 11 targets clearly. The curves in this period are not reliable: ignore them."}
{"id": "SUSTENHORN-2026-11-05-D14", "debut": "2026-11-05T18:45Z", "fin": "2026-11-05T18:47Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 11 capteurs. The camera saw 11 targets less clearly than usual. The data in this period are less precise: use them with care."}
{"id": "SUSTENHORN-2026-11-05-D15", "debut": "2026-11-05T19:30Z", "fin": "2026-11-05T19:32Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D16", "debut": "2026-11-05T20:32Z", "fin": "2026-11-05T20:32Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D17", "debut": "2026-11-05T23:00Z", "fin": "2026-11-05T23:02Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 11 capteurs, grisé. The camera could not see 11 targets clearly. The curves in this period are not reliable: ignore them."}
{"id": "SUSTENHORN-2026-11-05-D18", "debut": "2026-11-05T23:00Z", "fin": "2026-11-05T23:02Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 12 capteurs. The camera saw 12 targets less clearly than usual. The data in this period are less precise: use them with care."}
{"id": "SUSTENHORN-2026-11-05-D19", "debut": "2026-11-05T23:30Z", "fin": "2026-11-05T23:30Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
+101
View File
@@ -0,0 +1,101 @@
BREITHORN: 2026-10-03T00:00Z → 2026-11-01T00:00Z, 27 labels
found correct
Displacement 168/168 (100 %) 168/171 (98 %)
No data 2/2 (100 %) 2/2 (100 %)
Obstruction 46/48 (96 %) 46/46 (100 %)
Thermal displacement 4/21 (19 %) 4/4 (100 %)
Visibility — 0/25 (0 %)
CLARIDEN: 2026-10-01T00:00Z → 2026-11-01T00:00Z, 43 labels
found correct
Displacement 2578/3091 (83 %) 2578/2601 (99 %)
No data 6/20 (30 %) 6/12 (50 %)
Obstruction 1/5 (20 %) 1/5 (20 %)
Target issue 4068/4068 (100 %) 4068/4069 (100 %)
Thermal displacement 40/42 (95 %) 40/264 (15 %)
Visibility 3/87 (3 %) 3/3 (100 %)
FLORIDA: 2026-10-01T00:00Z → 2026-11-01T00:00Z, 64 labels
found correct
Displacement 0/41 (0 %) 0/14 (0 %)
No data 4/21 (19 %) 4/4 (100 %)
Obstruction 0/2 (0 %) 0/13 (0 %)
Target issue 2913/2913 (100 %) 2913/2914 (100 %)
Thermal displacement 815/1047 (78 %) 815/1338 (61 %)
Visibility 434/598 (73 %) 434/439 (99 %)
JUNGFRAU: 2026-09-30T00:00Z → 2026-11-01T00:00Z, 99 labels
found correct
Displacement — 0/19 (0 %)
No data 4/29 (14 %) 4/4 (100 %)
Obstruction 1/1 (100 %) 1/158 (1 %)
Target issue 3005/3005 (100 %) 3005/3006 (100 %)
Thermal displacement 1544/2557 (60 %) 1544/1786 (86 %)
Visibility 427/669 (64 %) 427/450 (95 %)
LENZSPITZE: 2026-10-16T00:00Z → 2026-11-01T00:00Z, 67 labels
found correct
Displacement — 0/4640 (0 %)
No data 12/615 (2 %) 12/16 (75 %)
Obstruction 19/47 (40 %) 19/84 (23 %)
Thermal displacement 1767/1925 (92 %) 1767/4253 (42 %)
Visibility 934/1886 (50 %) 934/1116 (84 %)
MICHIGAN: 2026-10-03T00:00Z → 2026-11-01T00:00Z, 15 labels
found correct
Displacement 130/130 (100 %) 130/171 (76 %)
No data 2/2 (100 %) 2/2 (100 %)
Target issue 132/147 (90 %) 132/132 (100 %)
Thermal displacement 19/25 (76 %) 19/46 (41 %)
NEBRASKA: 2026-10-03T00:00Z → 2026-11-01T00:00Z, 11 labels
found correct
Displacement 165/165 (100 %) 165/171 (96 %)
No data 2/2 (100 %) 2/2 (100 %)
Target issue 132/132 (100 %) 132/132 (100 %)
Thermal displacement 10/20 (50 %) 10/17 (59 %)
NIEDERHORN: 2026-10-01T00:00Z → 2026-11-01T00:00Z, 139 labels
found correct
Displacement 3/48 (6 %) 3/10 (30 %)
No data 2/26 (8 %) 2/2 (100 %)
Obstruction 66/156 (42 %) 66/134 (49 %)
Target issue 719/719 (100 %) 719/720 (100 %)
Thermal displacement 216/267 (81 %) 216/236 (92 %)
Visibility 28/104 (27 %) 28/32 (88 %)
NORDEND: 2026-08-10T00:00Z → 2026-11-08T00:00Z, 242 labels
found correct
Displacement 12/12 (100 %) 12/8549 (0 %)
No data 10/58 (17 %) 10/10 (100 %)
Obstruction 638/2754 (23 %) 638/2365 (27 %)
Target issue 3911/7441 (53 %) 3911/4290 (91 %)
Thermal displacement 4769/7667 (62 %) 4769/5097 (94 %)
Visibility 655/1950 (34 %) 655/1428 (46 %)
SNCF01: 2026-10-04T00:00Z → 2026-11-01T00:00Z, 97 labels
found correct
Displacement 2111/2111 (100 %) 2111/2112 (100 %)
No data 10/30 (33 %) 10/16 (62 %)
Obstruction 20/22 (91 %) 20/431 (5 %)
Target issue 2111/2111 (100 %) 2111/2112 (100 %)
Thermal displacement 1218/1726 (71 %) 1218/1275 (96 %)
Visibility 23/761 (3 %) 23/24 (96 %)
WILDSTRUBEL: 2026-09-01T00:00Z → 2026-11-01T00:00Z, 201 labels
found correct
Displacement 579/579 (100 %) 579/1986 (29 %)
No data 21/31 (68 %) 21/30 (70 %)
Obstruction 253/1026 (25 %) 253/482 (52 %)
Target issue 2089/2091 (100 %) 2089/2092 (100 %)
Thermal displacement 495/845 (59 %) 495/512 (97 %)
Visibility 908/1152 (79 %) 908/925 (98 %)
Total
found correct
Displacement 5746/6345 (91 %) 5746/20444 (28 %)
No data 75/836 (9 %) 75/100 (75 %)
Obstruction 1044/4061 (26 %) 1044/3718 (28 %)
Target issue 19080/22627 (84 %) 19080/19467 (98 %)
Thermal displacement 10897/16142 (68 %) 10897/14828 (73 %)
Visibility 3412/7207 (47 %) 3412/4442 (77 %)
+101
View File
@@ -0,0 +1,101 @@
BREITHORN: 2026-10-03T00:00Z → 2026-11-01T00:00Z, 27 labels
found correct
Displacement 168/168 (100 %) 168/171 (98 %)
No data 2/2 (100 %) 2/2 (100 %)
Obstruction 46/48 (96 %) 46/46 (100 %)
Thermal displacement 4/21 (19 %) 4/4 (100 %)
Visibility — 0/25 (0 %)
CLARIDEN: 2026-10-01T00:00Z → 2026-11-01T00:00Z, 43 labels
found correct
Displacement 2578/3091 (83 %) 2578/2601 (99 %)
No data 6/20 (30 %) 6/12 (50 %)
Obstruction 1/5 (20 %) 1/5 (20 %)
Target issue 4068/4068 (100 %) 4068/4069 (100 %)
Thermal displacement 40/42 (95 %) 40/264 (15 %)
Visibility 3/87 (3 %) 3/3 (100 %)
FLORIDA: 2026-10-01T00:00Z → 2026-11-01T00:00Z, 64 labels
found correct
Displacement 0/41 (0 %) 0/14 (0 %)
No data 4/21 (19 %) 4/4 (100 %)
Obstruction 0/2 (0 %) 0/13 (0 %)
Target issue 2913/2913 (100 %) 2913/2914 (100 %)
Thermal displacement 815/1047 (78 %) 815/1338 (61 %)
Visibility 434/598 (73 %) 434/439 (99 %)
JUNGFRAU: 2026-09-30T00:00Z → 2026-11-01T00:00Z, 99 labels
found correct
Displacement — 0/19 (0 %)
No data 4/29 (14 %) 4/4 (100 %)
Obstruction 1/1 (100 %) 1/158 (1 %)
Target issue 3005/3005 (100 %) 3005/3006 (100 %)
Thermal displacement 1544/2557 (60 %) 1544/1786 (86 %)
Visibility 427/669 (64 %) 427/450 (95 %)
LENZSPITZE: 2026-10-16T00:00Z → 2026-11-01T00:00Z, 67 labels
found correct
Displacement — 0/4640 (0 %)
No data 12/615 (2 %) 12/16 (75 %)
Obstruction 19/47 (40 %) 19/84 (23 %)
Thermal displacement 1767/1925 (92 %) 1767/4253 (42 %)
Visibility 934/1886 (50 %) 934/1116 (84 %)
MICHIGAN: 2026-10-03T00:00Z → 2026-11-01T00:00Z, 15 labels
found correct
Displacement 130/130 (100 %) 130/171 (76 %)
No data 2/2 (100 %) 2/2 (100 %)
Target issue 132/147 (90 %) 132/132 (100 %)
Thermal displacement 19/25 (76 %) 19/46 (41 %)
NEBRASKA: 2026-10-03T00:00Z → 2026-11-01T00:00Z, 11 labels
found correct
Displacement 165/165 (100 %) 165/171 (96 %)
No data 2/2 (100 %) 2/2 (100 %)
Target issue 132/132 (100 %) 132/132 (100 %)
Thermal displacement 10/20 (50 %) 10/17 (59 %)
NIEDERHORN: 2026-10-01T00:00Z → 2026-11-01T00:00Z, 139 labels
found correct
Displacement 3/48 (6 %) 3/10 (30 %)
No data 2/26 (8 %) 2/2 (100 %)
Obstruction 66/156 (42 %) 66/134 (49 %)
Target issue 719/719 (100 %) 719/720 (100 %)
Thermal displacement 216/267 (81 %) 216/236 (92 %)
Visibility 28/104 (27 %) 28/32 (88 %)
NORDEND: 2026-08-10T00:00Z → 2026-11-08T00:00Z, 242 labels
found correct
Displacement 12/12 (100 %) 12/8549 (0 %)
No data 10/58 (17 %) 10/10 (100 %)
Obstruction 638/2754 (23 %) 638/2365 (27 %)
Target issue 3911/7441 (53 %) 3911/4290 (91 %)
Thermal displacement 4769/7667 (62 %) 4769/5097 (94 %)
Visibility 655/1950 (34 %) 655/1428 (46 %)
SNCF01: 2026-10-04T00:00Z → 2026-11-01T00:00Z, 97 labels
found correct
Displacement 2111/2111 (100 %) 2111/2112 (100 %)
No data 10/30 (33 %) 10/16 (62 %)
Obstruction 20/22 (91 %) 20/431 (5 %)
Target issue 2111/2111 (100 %) 2111/2112 (100 %)
Thermal displacement 1218/1726 (71 %) 1218/1275 (96 %)
Visibility 23/761 (3 %) 23/24 (96 %)
WILDSTRUBEL: 2026-09-01T00:00Z → 2026-11-01T00:00Z, 201 labels
found correct
Displacement 579/579 (100 %) 579/1986 (29 %)
No data 21/31 (68 %) 21/30 (70 %)
Obstruction 253/1026 (25 %) 253/482 (52 %)
Target issue 2089/2091 (100 %) 2089/2092 (100 %)
Thermal displacement 495/845 (59 %) 495/512 (97 %)
Visibility 908/1152 (79 %) 908/925 (98 %)
Total
found correct
Displacement 5746/6345 (91 %) 5746/20444 (28 %)
No data 75/836 (9 %) 75/100 (75 %)
Obstruction 1044/4061 (26 %) 1044/3718 (28 %)
Target issue 19080/22627 (84 %) 19080/19467 (98 %)
Thermal displacement 10897/16142 (68 %) 10897/14828 (73 %)
Visibility 3412/7207 (47 %) 3412/4442 (77 %)
@@ -0,0 +1,101 @@
BREITHORN: 2026-10-03T00:00Z → 2026-11-01T00:00Z, 27 labels
found correct
Displacement 168/168 (100 %) 168/171 (98 %)
No data 2/2 (100 %) 2/2 (100 %)
Obstruction 46/48 (96 %) 46/46 (100 %)
Thermal displacement 4/21 (19 %) 4/4 (100 %)
Visibility — 0/25 (0 %)
CLARIDEN: 2026-10-01T00:00Z → 2026-11-01T00:00Z, 43 labels
found correct
Displacement 2578/3091 (83 %) 2578/2601 (99 %)
No data 6/20 (30 %) 6/12 (50 %)
Obstruction 1/5 (20 %) 1/5 (20 %)
Target issue 4068/4068 (100 %) 4068/4069 (100 %)
Thermal displacement 40/42 (95 %) 40/264 (15 %)
Visibility 3/87 (3 %) 3/3 (100 %)
FLORIDA: 2026-10-01T00:00Z → 2026-11-01T00:00Z, 64 labels
found correct
Displacement 0/41 (0 %) 0/14 (0 %)
No data 4/21 (19 %) 4/4 (100 %)
Obstruction 0/2 (0 %) 0/13 (0 %)
Target issue 2913/2913 (100 %) 2913/2914 (100 %)
Thermal displacement 815/1047 (78 %) 815/1338 (61 %)
Visibility 434/598 (73 %) 434/439 (99 %)
JUNGFRAU: 2026-09-30T00:00Z → 2026-11-01T00:00Z, 99 labels
found correct
Displacement — 0/19 (0 %)
No data 4/29 (14 %) 4/4 (100 %)
Obstruction 1/1 (100 %) 1/158 (1 %)
Target issue 3005/3005 (100 %) 3005/3006 (100 %)
Thermal displacement 1544/2557 (60 %) 1544/1786 (86 %)
Visibility 427/669 (64 %) 427/450 (95 %)
LENZSPITZE: 2026-10-16T00:00Z → 2026-11-01T00:00Z, 67 labels
found correct
Displacement — 0/4640 (0 %)
No data 12/615 (2 %) 12/16 (75 %)
Obstruction 19/47 (40 %) 19/84 (23 %)
Thermal displacement 1767/1925 (92 %) 1767/4253 (42 %)
Visibility 934/1886 (50 %) 934/1116 (84 %)
MICHIGAN: 2026-10-03T00:00Z → 2026-11-01T00:00Z, 15 labels
found correct
Displacement 130/130 (100 %) 130/171 (76 %)
No data 2/2 (100 %) 2/2 (100 %)
Target issue 132/147 (90 %) 132/132 (100 %)
Thermal displacement 19/25 (76 %) 19/46 (41 %)
NEBRASKA: 2026-10-03T00:00Z → 2026-11-01T00:00Z, 11 labels
found correct
Displacement 165/165 (100 %) 165/171 (96 %)
No data 2/2 (100 %) 2/2 (100 %)
Target issue 132/132 (100 %) 132/132 (100 %)
Thermal displacement 10/20 (50 %) 10/17 (59 %)
NIEDERHORN: 2026-10-01T00:00Z → 2026-11-01T00:00Z, 139 labels
found correct
Displacement 3/48 (6 %) 3/10 (30 %)
No data 2/26 (8 %) 2/2 (100 %)
Obstruction 66/156 (42 %) 66/134 (49 %)
Target issue 719/719 (100 %) 719/720 (100 %)
Thermal displacement 216/267 (81 %) 216/236 (92 %)
Visibility 28/104 (27 %) 28/32 (88 %)
NORDEND: 2026-08-10T00:00Z → 2026-11-08T00:00Z, 242 labels
found correct
Displacement 12/12 (100 %) 12/8549 (0 %)
No data 10/58 (17 %) 10/10 (100 %)
Obstruction 638/2754 (23 %) 638/2365 (27 %)
Target issue 3911/7441 (53 %) 3911/4290 (91 %)
Thermal displacement 4769/7667 (62 %) 4769/5097 (94 %)
Visibility 655/1950 (34 %) 655/1428 (46 %)
SNCF01: 2026-10-04T00:00Z → 2026-11-01T00:00Z, 97 labels
found correct
Displacement 2111/2111 (100 %) 2111/2112 (100 %)
No data 10/30 (33 %) 10/16 (62 %)
Obstruction 20/22 (91 %) 20/431 (5 %)
Target issue 2111/2111 (100 %) 2111/2112 (100 %)
Thermal displacement 1218/1726 (71 %) 1218/1275 (96 %)
Visibility 23/761 (3 %) 23/24 (96 %)
WILDSTRUBEL: 2026-09-01T00:00Z → 2026-11-01T00:00Z, 201 labels
found correct
Displacement 579/579 (100 %) 579/1986 (29 %)
No data 21/31 (68 %) 21/30 (70 %)
Obstruction 253/1026 (25 %) 253/482 (52 %)
Target issue 2089/2091 (100 %) 2089/2092 (100 %)
Thermal displacement 495/845 (59 %) 495/512 (97 %)
Visibility 908/1152 (79 %) 908/925 (98 %)
Total
found correct
Displacement 5746/6345 (91 %) 5746/20444 (28 %)
No data 75/836 (9 %) 75/100 (75 %)
Obstruction 1044/4061 (26 %) 1044/3718 (28 %)
Target issue 19080/22627 (84 %) 19080/19467 (98 %)
Thermal displacement 10897/16142 (68 %) 10897/14828 (73 %)
Visibility 3412/7207 (47 %) 3412/4442 (77 %)
@@ -0,0 +1,101 @@
BREITHORN: 2026-10-03T00:00Z → 2026-11-01T00:00Z, 27 labels
found correct
Displacement 168/168 (100 %) 168/171 (98 %)
No data 2/2 (100 %) 2/2 (100 %)
Obstruction 46/48 (96 %) 46/46 (100 %)
Thermal displacement 4/21 (19 %) 4/4 (100 %)
Visibility — 0/25 (0 %)
CLARIDEN: 2026-10-01T00:00Z → 2026-11-01T00:00Z, 43 labels
found correct
Displacement 2578/3091 (83 %) 2578/2601 (99 %)
No data 6/20 (30 %) 6/12 (50 %)
Obstruction 1/5 (20 %) 1/5 (20 %)
Target issue 4068/4068 (100 %) 4068/4069 (100 %)
Thermal displacement 40/42 (95 %) 40/264 (15 %)
Visibility 3/87 (3 %) 3/3 (100 %)
FLORIDA: 2026-10-01T00:00Z → 2026-11-01T00:00Z, 64 labels
found correct
Displacement 0/41 (0 %) 0/14 (0 %)
No data 4/21 (19 %) 4/4 (100 %)
Obstruction 0/2 (0 %) 0/13 (0 %)
Target issue 2913/2913 (100 %) 2913/2914 (100 %)
Thermal displacement 815/1047 (78 %) 815/1338 (61 %)
Visibility 434/598 (73 %) 434/439 (99 %)
JUNGFRAU: 2026-09-30T00:00Z → 2026-11-01T00:00Z, 99 labels
found correct
Displacement — 0/19 (0 %)
No data 4/29 (14 %) 4/4 (100 %)
Obstruction 1/1 (100 %) 1/158 (1 %)
Target issue 3005/3005 (100 %) 3005/3006 (100 %)
Thermal displacement 1544/2557 (60 %) 1544/1786 (86 %)
Visibility 427/669 (64 %) 427/450 (95 %)
LENZSPITZE: 2026-10-16T00:00Z → 2026-11-01T00:00Z, 67 labels
found correct
Displacement — 0/4640 (0 %)
No data 12/615 (2 %) 12/16 (75 %)
Obstruction 19/47 (40 %) 19/84 (23 %)
Thermal displacement 1767/1925 (92 %) 1767/4253 (42 %)
Visibility 934/1886 (50 %) 934/1116 (84 %)
MICHIGAN: 2026-10-03T00:00Z → 2026-11-01T00:00Z, 15 labels
found correct
Displacement 130/130 (100 %) 130/171 (76 %)
No data 2/2 (100 %) 2/2 (100 %)
Target issue 132/147 (90 %) 132/132 (100 %)
Thermal displacement 19/25 (76 %) 19/46 (41 %)
NEBRASKA: 2026-10-03T00:00Z → 2026-11-01T00:00Z, 11 labels
found correct
Displacement 165/165 (100 %) 165/171 (96 %)
No data 2/2 (100 %) 2/2 (100 %)
Target issue 132/132 (100 %) 132/132 (100 %)
Thermal displacement 10/20 (50 %) 10/17 (59 %)
NIEDERHORN: 2026-10-01T00:00Z → 2026-11-01T00:00Z, 139 labels
found correct
Displacement 3/48 (6 %) 3/10 (30 %)
No data 2/26 (8 %) 2/2 (100 %)
Obstruction 66/156 (42 %) 66/134 (49 %)
Target issue 719/719 (100 %) 719/720 (100 %)
Thermal displacement 216/267 (81 %) 216/236 (92 %)
Visibility 28/104 (27 %) 28/32 (88 %)
NORDEND: 2026-08-10T00:00Z → 2026-11-08T00:00Z, 242 labels
found correct
Displacement 12/12 (100 %) 12/8549 (0 %)
No data 10/58 (17 %) 10/10 (100 %)
Obstruction 638/2754 (23 %) 638/2365 (27 %)
Target issue 3911/7441 (53 %) 3911/4290 (91 %)
Thermal displacement 4769/7667 (62 %) 4769/5097 (94 %)
Visibility 655/1950 (34 %) 655/1428 (46 %)
SNCF01: 2026-10-04T00:00Z → 2026-11-01T00:00Z, 97 labels
found correct
Displacement 2111/2111 (100 %) 2111/2112 (100 %)
No data 10/30 (33 %) 10/16 (62 %)
Obstruction 20/22 (91 %) 20/431 (5 %)
Target issue 2111/2111 (100 %) 2111/2112 (100 %)
Thermal displacement 1218/1726 (71 %) 1218/1275 (96 %)
Visibility 23/761 (3 %) 23/24 (96 %)
WILDSTRUBEL: 2026-09-01T00:00Z → 2026-11-01T00:00Z, 201 labels
found correct
Displacement 579/579 (100 %) 579/1986 (29 %)
No data 21/31 (68 %) 21/30 (70 %)
Obstruction 253/1026 (25 %) 253/482 (52 %)
Target issue 2089/2091 (100 %) 2089/2092 (100 %)
Thermal displacement 495/845 (59 %) 495/512 (97 %)
Visibility 908/1152 (79 %) 908/925 (98 %)
Total
found correct
Displacement 5746/6345 (91 %) 5746/20444 (28 %)
No data 75/836 (9 %) 75/100 (75 %)
Obstruction 1044/4061 (26 %) 1044/3718 (28 %)
Target issue 19080/22627 (84 %) 19080/19467 (98 %)
Thermal displacement 10897/16142 (68 %) 10897/14828 (73 %)
Visibility 3412/7207 (47 %) 3412/4442 (77 %)
@@ -0,0 +1,30 @@
== BREITHORN
2026-11-04T20:00Z → 2026-11-05T04:00Z Displacement kept | Sudden jump, back to normal | 1 sensors | absorbed: —
2026-11-04T20:00Z → 2026-11-05T04:00Z Obstruction greyed | Target obscured | 3 sensors | absorbed: —
2026-11-05T08:00Z → 2026-11-05T08:00Z Displacement kept | Sudden jump, back to normal | 1 sensors | absorbed: —
== LENZSPITZE
2026-11-02T00:50Z → 2026-11-05T18:30Z Thermal displacement kept | Camera thermal movement | 41 sensors | absorbed: Sudde
2026-11-05T02:35Z → 2026-11-05T02:50Z Visibility kept | Poor visibility | 35 sensors | absorbed: Sudden jump,
2026-11-05T02:40Z → 2026-11-05T02:40Z Obstruction greyed | Brief obstruction | 3 sensors | absorbed: —
2026-11-05T07:55Z → 2026-11-05T07:55Z Obstruction greyed | Brief obstruction | 9 sensors | absorbed: —
2026-11-05T08:20Z → 2026-11-05T08:35Z Visibility kept | Poor visibility | 28 sensors | absorbed: Sudden jump,
2026-11-05T09:55Z → 2026-11-05T09:55Z Obstruction greyed | Brief obstruction | 1 sensors | absorbed: —
2026-11-05T14:40Z → 2026-11-05T14:50Z Visibility kept | Poor visibility | 26 sensors | absorbed: Sudden jump,
2026-11-05T21:20Z → 2026-11-05T23:55Z Displacement kept | Jump, not back yet | 16 sensors | absorbed: —
2026-11-05T22:55Z → 2026-11-05T23:55Z Visibility kept | Poor visibility | 20 sensors | absorbed: —
== SUSTENHORN
2026-11-04T17:00Z → 2026-11-05T15:00Z Thermal displacement kept | Thermal contraction | 22 sensors | absorbed: Sudden ju
2026-11-05T05:15Z → 2026-11-05T05:31Z Obstruction greyed | Brief obstruction | 11 sensors | absorbed: Brief obs
2026-11-05T09:02Z → 2026-11-05T10:31Z Obstruction greyed | Brief obstruction | 11 sensors | absorbed: Brief obs
2026-11-05T15:00Z → 2026-11-05T17:00Z Thermal displacement kept | Thermal expansion | 22 sensors | absorbed: —
2026-11-05T15:02Z → 2026-11-05T15:02Z Obstruction greyed | Brief obstruction | 11 sensors | absorbed: —
2026-11-05T16:15Z → 2026-11-05T16:15Z Obstruction greyed | Brief obstruction | 11 sensors | absorbed: —
2026-11-05T16:45Z → 2026-11-05T16:47Z Visibility greyed | Poor visibility | 11 sensors | absorbed: —
2026-11-05T17:00Z → 2026-11-05T23:47Z Thermal displacement kept | Thermal contraction | 22 sensors | absorbed: —
2026-11-05T17:15Z → 2026-11-05T17:15Z Obstruction greyed | Brief obstruction | 11 sensors | absorbed: —
2026-11-05T18:30Z → 2026-11-05T18:30Z Obstruction greyed | Brief obstruction | 11 sensors | absorbed: —
2026-11-05T18:45Z → 2026-11-05T18:47Z Visibility greyed | Poor visibility | 11 sensors | absorbed: —
2026-11-05T19:30Z → 2026-11-05T19:32Z Obstruction greyed | Brief obstruction | 11 sensors | absorbed: Brief obs
2026-11-05T20:32Z → 2026-11-05T20:32Z Obstruction greyed | Brief obstruction | 11 sensors | absorbed: —
2026-11-05T23:00Z → 2026-11-05T23:02Z Visibility greyed | Poor visibility | 11 sensors | absorbed: —
2026-11-05T23:30Z → 2026-11-05T23:30Z Obstruction greyed | Brief obstruction | 11 sensors | absorbed: —
@@ -0,0 +1,70 @@
# Modification
**Verdict**: changed
## Diagnosis
BREITHORN (one measurement every 4 h), LENZSPITZE (5 min), SUSTENHORN (bursts: three measurements a minute apart every 15 min, a median step of 1 min), 2026-11-05T00:00Z → 2026-11-06T00:00Z.
| Family | labelled | found | flagged | wrongly |
|---|---|---|---|---|
| Displacement | 33 | 33 | 36 | 3 |
| No data | 0 | — | 286 | 286 |
| Obstruction | 66 | 31 | 37 | 6 |
| Thermal displacement | 513 | 513 | 519 | 6 |
| Visibility | 35 | 20 | 34 | 14 |
- **SUSTENHORN D1, No data 00:00 → 24:00 (and since 11-02)**: extra, the largest defect on the range (286 flagged instants, none labelled). `no_data.py` takes the median gap (1 min, the gap inside a burst) as the cadence, so every 13-min gap between two bursts counts as a hole. → S1.
- **SUSTENHORN D8/D9, D13/D14, D17/D18**: duplicates. The same instants appear twice as Poor visibility: once from point 3 of `visibility.py` ("none", greyed) and once from the diffuse rule of point 8 ("reduced"). The two do not merge because their levels differ. The scanner removed the greyed copies, but the labels cannot choose between two varieties of the same family. → S2, which keeps the point-3 episode.
- **SUSTENHORN S1, Obstruction 05:45 → 08:45**: missing. The same 11 targets are rejected for one or two measurements of a burst at 06:01–06:02, 06:32, 07:31–07:32, 07:45–07:46 and 08:31–08:32. The single-measurement cases elsewhere in the day are Brief obstruction (D3, D4…). A run of two falls between Brief obstruction (one instant) and Poor visibility (RUN_MIN = 3), so neither rule catches it. I tried a fix and dropped it (see Not fixed).
- **SUSTENHORN D3, D4, D6, D7, D11, D12, D15, D16, D19 (Obstruction), D2, D5, D10 (Thermal), D9, D14, D18 (Visibility)**: correct.
- **LENZSPITZE S1, Visibility 08:35 → 09:55**: missing. The error_value stays at its usual level (median 0 to 1 MAD) except at 09:05–09:10, which is two instants at 3 to 4 MAD, one fewer than RUN_MIN. The curves move a bit more (median deviation 0.03 → 0.06–0.10 px) and no target is rejected. The families document says that agitation without a rise of error_value is not a turbulence, so the detectors' silence is a defensible reading. See Limits.
- **LENZSPITZE D1–D9**: correct (same as the labels).
- **BREITHORN D3, Displacement 08:00**: extra, one instant. COLI22 sits displaced from 20:00 to 04:00 (error_value ×4, not rejected, inside the obstruction D2). The return at 08:00 is measured against the displaced level and counted as a jump ("the jump ended a dip", point 2 of `displacement.py`). Small nuisance, not fixed.
- **BREITHORN D1 (Displacement) / D2 (Obstruction), 00:00 → 04:00**: alternative reading, the scanner's doubt. The same dip of POUI22 appears in two families. Both labels are kept and score as found.
## What changed
- **S1** (commit 7e3043d), `scripts/no_data.py`: the cadence is now the larger of the median gap between instants and one hour divided by the median number of instants per clock hour (counting only hours that have one). It used to be the median gap alone. No constant changed. Docstring and the `MISSING` line of `thresholds.md` updated.
- **S2** (commit 5438b0b), `scripts/visibility.py`, `detect()`: a diffuse-nuisance episode (point 8) that lies entirely inside a Poor visibility episode of point 3 is dropped, as one inside heat shimmer already was. No constant changed. Docstring (point 8) updated.
## Why
- S1: when a station measures in bursts (several measurements a minute apart, then a pause), the median gap is the gap inside a burst. Every pause between bursts then counted as a hole, which reported a whole day of No data on a station that was measuring normally. Measured per hour, the cadence is the burst cycle. A missing burst is still a hole. For a regular cadence nothing changes, because both measures agree, and the per-hour count only ever raises the step.
- S2: the same instants were reported twice in one family (two Poor visibility events, one per level), because the two rules of the detector both fired. The episode with the rejection-based level is kept.
## Before / after on the range
Events command, SUSTENHORN (BREITHORN and LENZSPITZE unchanged, no `skipped` line):
```
- 2026-11-02T00:02Z → 2026-11-06T00:00Z No data kept | No data | all sensors | absorbed: No data 11-02T00:17, … (one per 15 min)
- 2026-11-05T16:45Z → 2026-11-05T16:47Z Visibility kept | Poor visibility | 11 sensors
- 2026-11-05T18:45Z → 2026-11-05T18:47Z Visibility kept | Poor visibility | 11 sensors
- 2026-11-05T23:00Z → 2026-11-05T23:02Z Visibility kept | Poor visibility | 12 sensors
(the greyed Poor visibility events at the same times remain)
```
Range score, per family:
- No data: correct 0/286 → — (no instant flagged)
- Displacement, Obstruction, Thermal displacement, Visibility: unchanged (33/33 and 33/36; 31/66 and 31/37; 513/513 and 513/519; 20/35 and 20/34)
## Benchmark
No line changes: `benchmark-S1.txt` and `benchmark-S2.txt` are identical to `benchmark-before.txt` on every station and family, and in the `Total` block.
## For the user to decide
- BREITHORN-2026-11-05-D1 (Displacement) and D2 (Obstruction), 00:00 → 04:00: the detectors put the dip of POUI22 in both families. A parked vehicle (Obstruction) is likely, given the history of this station, but only the images can say. The benchmark is unchanged either way.
## Not fixed
- SUSTENHORN-2026-11-05-S1 (Obstruction, 05:45 → 08:45). I tried a rule that treats two high instants in a row, salient against the instants around the pair, as a Brief obstruction (a passing shorter than RUN_MIN). On the range it caught only 08:31–08:32 here (06:01–06:02 misses salience by one sensor: 11 against 3 × 4; 07:31–07:46 is two pairs next to each other). Elsewhere on the day it chained the Brief obstructions of 18:30–20:32 into one event through the one-hour merge, so Obstruction "correct" on the range fell from 81 % to 46 %. Dropped.
- BREITHORN-2026-11-05-D3 (extra Displacement, 08:00, one instant): the return of a target from a dip (inside an Obstruction that ended at the previous measurement, 4 h earlier) is counted as a jump. Fixing it would mean letting a Target obscured episode absorb the return that follows it, a new host rule for one instant. Not worth one more rule.
## Limits
- LENZSPITZE-2026-11-05-S1 (Visibility, 08:35 → 09:55): no rejection, error_value at its usual level except at 09:05–09:10 (two instants), curves only slightly more agitated. Telling a loss of visibility from agitation without a rise of error_value takes the images. The scanner judged it from a figure at a coarse scale.
- SUSTENHORN, the periodic rejection of the same half of the targets (11 out of 22) for one to four measurements, day and night: whether it is something passing (Obstruction), the image (Visibility) or the station itself takes the images. The labels mix the two families on the same mechanism (Obstruction for the label S1, Visibility for D9/D14/D18).
## Tools
- `batches/2026-11-05/improve/tools/instants.py <detectors> <station folder> <from ISO> <to ISO>`: for each instant, the number of sensors, sensors rejected, sensors "high" (rule 1 of `visibility.py`), the median error_value in MAD and the deviation of the corrected curves. Worth keeping as a workflow tool: it shows directly why a visibility or obstruction rule did or did not fire.
+24
View File
@@ -0,0 +1,24 @@
BREITHORN: 2026-11-05T00:00Z → 2026-11-06T00:00Z, 2 labels
found correct
Displacement 2/2 (100 %) 2/3 (67 %)
Obstruction 2/2 (100 %) 2/2 (100 %)
LENZSPITZE: 2026-11-05T00:00Z → 2026-11-06T00:00Z, 10 labels
found correct
Displacement 31/31 (100 %) 31/33 (94 %)
Obstruction 3/3 (100 %) 3/3 (100 %)
Thermal displacement 229/229 (100 %) 229/231 (99 %)
Visibility 17/32 (53 %) 17/25 (68 %)
SUSTENHORN: 2026-11-05T00:00Z → 2026-11-06T00:00Z, 16 labels
found correct
Obstruction 26/61 (43 %) 26/32 (81 %)
Thermal displacement 284/284 (100 %) 284/288 (99 %)
Visibility 3/3 (100 %) 3/9 (33 %)
Total
found correct
Displacement 33/33 (100 %) 33/36 (92 %)
Obstruction 31/66 (47 %) 31/37 (84 %)
Thermal displacement 513/513 (100 %) 513/519 (99 %)
Visibility 20/35 (57 %) 20/34 (59 %)
@@ -0,0 +1,24 @@
BREITHORN: 2026-11-05T00:00Z → 2026-11-06T00:00Z, 2 labels
found correct
Displacement 2/2 (100 %) 2/3 (67 %)
Obstruction 2/2 (100 %) 2/2 (100 %)
LENZSPITZE: 2026-11-05T00:00Z → 2026-11-06T00:00Z, 10 labels
found correct
Displacement 31/31 (100 %) 31/33 (94 %)
Obstruction 3/3 (100 %) 3/3 (100 %)
Thermal displacement 229/229 (100 %) 229/231 (99 %)
Visibility 17/32 (53 %) 17/25 (68 %)
SUSTENHORN: 2026-11-05T00:00Z → 2026-11-06T00:00Z, 16 labels
found correct
Obstruction 26/61 (43 %) 26/32 (81 %)
Thermal displacement 284/284 (100 %) 284/288 (99 %)
Visibility 3/3 (100 %) 3/9 (33 %)
Total
found correct
Displacement 33/33 (100 %) 33/36 (92 %)
Obstruction 31/66 (47 %) 31/37 (84 %)
Thermal displacement 513/513 (100 %) 513/519 (99 %)
Visibility 20/35 (57 %) 20/34 (59 %)
@@ -0,0 +1,26 @@
BREITHORN: 2026-11-05T00:00Z → 2026-11-06T00:00Z, 2 labels
found correct
Displacement 2/2 (100 %) 2/3 (67 %)
Obstruction 2/2 (100 %) 2/2 (100 %)
LENZSPITZE: 2026-11-05T00:00Z → 2026-11-06T00:00Z, 10 labels
found correct
Displacement 31/31 (100 %) 31/33 (94 %)
Obstruction 3/3 (100 %) 3/3 (100 %)
Thermal displacement 229/229 (100 %) 229/231 (99 %)
Visibility 17/32 (53 %) 17/25 (68 %)
SUSTENHORN: 2026-11-05T00:00Z → 2026-11-06T00:00Z, 16 labels
found correct
No data — 0/286 (0 %)
Obstruction 26/61 (43 %) 26/32 (81 %)
Thermal displacement 284/284 (100 %) 284/288 (99 %)
Visibility 3/3 (100 %) 3/9 (33 %)
Total
found correct
Displacement 33/33 (100 %) 33/36 (92 %)
No data — 0/286 (0 %)
Obstruction 31/66 (47 %) 31/37 (84 %)
Thermal displacement 513/513 (100 %) 513/519 (99 %)
Visibility 20/35 (57 %) 20/34 (59 %)
+45
View File
@@ -0,0 +1,45 @@
# wf-improve: BREITHORN,LENZSPITZE,SUSTENHORN, 2026-11-05 → 2026-11-06
**Result**: modification kept
## The range
- No data: found —, correct 0/286 (0 %) → — (no instant flagged)
- Displacement: 33/33, 33/36 → unchanged
- Obstruction: 31/66, 31/37 → unchanged
- Thermal displacement: 513/513, 513/519 → unchanged
- Visibility: 20/35, 20/34 → unchanged
## Elsewhere
`Total` unchanged, before → end: Displacement 5746/6345, 5746/20444; No data 75/836, 75/100; Obstruction 1044/4061, 1044/3718; Target issue 19080/22627, 19080/19467; Thermal displacement 10897/16142, 10897/14828; Visibility 3412/7207, 3412/4442. No other line changed (benchmark-before and benchmark-after identical).
## What changed
- S1 (`scripts/no_data.py`): the cadence is now the larger of the median gap between instants and one hour divided by the median number of instants per clock hour, so a station measuring in bursts (SUSTENHORN) no longer reports a whole day of No data.
- S2 (`scripts/visibility.py`): a diffuse-nuisance episode (point 8) lying entirely inside a Poor visibility episode of point 3 is dropped, removing duplicate Poor visibility events.
Upgrader: changed. Validator: keep.
## For the user to decide
- BREITHORN-2026-11-05-D1 (Displacement) and D2 (Obstruction), 00:00 → 04:00: the detectors put the dip of POUI22 in both families. A parked vehicle (Obstruction) is likely, given the history of this station, but only the images can say. The benchmark is unchanged either way.
Limits:
- LENZSPITZE-2026-11-05-S1 (Visibility, 08:35 → 09:55): no rejection, error_value at its usual level except at 09:05–09:10 (two instants), curves only slightly more agitated. Telling a loss of visibility from agitation without a rise of error_value takes the images. The scanner judged it from a figure at a coarse scale.
- SUSTENHORN, the periodic rejection of the same half of the targets (11 out of 22) for one to four measurements, day and night: whether it is something passing (Obstruction), the image (Visibility) or the station itself takes the images. The labels mix the two families on the same mechanism (Obstruction for the label S1, Visibility for D9/D14/D18).
Reservations of the validator:
- No data, S1: the cadence step can only rise, so a station whose hours are only partly filled sees a longer step and needs a longer hole before it reports one. This costs nothing on the reference truth (No data 75/836 and 75/100, unchanged). Watch for missed short holes on stations with an irregular cadence.
## Not fixed
- SUSTENHORN-2026-11-05-S1 (Obstruction, 05:45 → 08:45): two rejected measurements in a row fall between Brief obstruction and Poor visibility; a tried rule caught one pair only and chained other Brief obstructions through the one-hour merge (Obstruction correct 81 % → 46 %). Dropped.
- BREITHORN-2026-11-05-D3 (extra Displacement, 08:00, one instant): the return of a target from a dip is counted as a jump; fixing it would need a new host rule for one instant.
## Tools
- `batches/2026-11-05/improve/tools/instants.py <detectors> <station folder> <from ISO> <to ISO>`: for each instant, the number of sensors, sensors rejected, sensors "high" (rule 1 of `visibility.py`), the median error_value in MAD and the deviation of the corrected curves. Worth keeping as a workflow tool: it shows directly why a visibility or obstruction rule did or did not fire.
- Validator: none.
## Errors
None. Files already modified: none. Base: 887b313ba272f42058fdcbc422618fe3d132e3ad.
```
5438b0b wf-improve: S2
7e3043d wf-improve: S1
```
@@ -0,0 +1,49 @@
"""Per instant of a station over a range: sensors rejected, sensors 'high' (visibility rule 1), median error z (MAD) and median |corr| deviation. Usage: instants.py <detectors> <station folder> <from ISO> <to ISO> [--history 3]"""
import statistics
import sys
from datetime import datetime, timedelta, timezone
sys.path.insert(0, sys.argv[1] + "/scripts")
import visibility as V # noqa: E402
from data import load # noqa: E402
folder, a, b = sys.argv[2], sys.argv[3], sys.argv[4]
p = lambda s: datetime.fromisoformat(s).replace(tzinfo=timezone.utc) # noqa: E731
A, B = p(a), p(b)
ms = load(folder)
ms = {s: k for s, v in ms.items() if (k := [m for m in v if A - timedelta(days=3) <= m["t"] < B])}
stats = {}
for s, v in ms.items():
e = [m["error_value"] for m in v if m["error_value"] is not None]
if len(e) < 10:
continue
med = statistics.median(e)
mad = statistics.median(abs(x - med) for x in e) or 1e-9
cx = [m["corr_x"] for m in v if m["corr_x"] is not None]
cy = [m["corr_y"] for m in v if m["corr_y"] is not None]
stats[s] = (med, mad, statistics.median(cx) if cx else 0, statistics.median(cy) if cy else 0)
by = {}
for s, v in ms.items():
if s not in stats:
continue
med, mad, mx, my = stats[s]
for m in v:
if not A <= m["t"] < B:
continue
d = by.setdefault(m["t"], {"rej": 0, "high": 0, "z": [], "dev": [], "n": 0})
d["n"] += 1
x = m["error_value"]
if x is None:
continue
rej = m["error_threshold"] and x > m["error_threshold"]
d["rej"] += bool(rej)
if x > med + V.K_MAD * mad and (x > V.FACTOR * med or rej and x > V.REJECT_FACTOR * med):
d["high"] += 1
d["z"].append((x - med) / mad)
if m["corr_x"] is not None:
d["dev"].append(abs(m["corr_x"] - mx) + abs(m["corr_y"] - my))
for t in sorted(by):
d = by[t]
print(t.strftime("%m-%d %H:%M"), f"n={d['n']:3d} rej={d['rej']:3d} high={d['high']:3d}",
f"zmed={statistics.median(d['z']) if d['z'] else 0:7.1f}", f"devmed={statistics.median(d['dev']) if d['dev'] else 0:7.2f}",
f"devmax={max(d['dev']) if d['dev'] else 0:7.2f}")
+25
View File
@@ -0,0 +1,25 @@
# Validation
**Verdict**: keep
## Answers
1. The detectors load: no `skipped` line in benchmark-before, S1, S2 or after; the benchmark rerun at HEAD is identical to benchmark-after.
2. No station goes back: benchmark-before, -S1, -S2 and -after are identical, line for line, on all 11 stations and every family.
3. The code stays simple and the gain justifies it. S1 replaces the median gap with a general measure, the cycle per clock hour. It adds no constant and removes 286 false No data instants (0 % correct) on SUSTENHORN. S2 reuses the existing "inside heat shimmer" filter for Poor visibility episodes of point 3, as a one-line change. It drops duplicate events, so the per-instant score does not move, but the same instants are no longer reported twice. Neither change is fitted to the range: no value is cut to its bounds.
4. Nothing forbidden: the six detectors are unchanged in number and family, and `detect` keeps its signature and episode keys. Only the standard library is used and no constant was added. Station names appear only in the docstrings and `thresholds.md` as provenance, never in a rule. The `MISSING` line of `thresholds.md` is updated.
## The range
SUSTENHORN, 2026-11-05 → 2026-11-06:
- No data: correct 0/286 (0 %) → no instants flagged (the false day of No data is gone).
- Every other family on SUSTENHORN, and all of BREITHORN and LENZSPITZE: unchanged.
Total: No data 0/286 → none. The other families are unchanged: Displacement 33/33, 33/36; Obstruction 31/66, 31/37; Thermal displacement 513/513, 513/519; Visibility 20/35, 20/34.
## Non-regression
No line changed, on any station or family, between benchmark-before and benchmark-after (nor in benchmark-S1 or benchmark-S2). The `Total` block is unchanged: Displacement 5746/6345, 5746/20444; No data 75/836, 75/100; Obstruction 1044/4061, 1044/3718; Target issue 19080/22627, 19080/19467; Thermal displacement 10897/16142, 10897/14828; Visibility 3412/7207, 3412/4442.
## Reservations
- No data, S1: the cadence step can only rise, so a station whose hours are only partly filled sees a longer step and needs a longer hole before it reports one. This costs nothing on the reference truth (No data 75/836 and 75/100, unchanged). Watch for missed short holes on stations with an irregular cadence.
## Tools
none
+33
View File
@@ -0,0 +1,33 @@
# Scan du 2026-11-05
**Verdict**: irrégularités
## Irrégularités
| Station | Étiquette | Cas | Heures (UTC) | Ce que montre la figure | Correction |
|---|---|---|---|---|---|
| BREITHORN | D3 | trop | 08:00 | courbes calmes à 08:00 (le saut de POUI22/COLI22 se termine avant, retour au calme à 08:00), mesures présentes | ligne retirée |
| SUSTENHORN | D1 | trop | 00:00 → 24:00 | mesures présentes toute la journée (pas de hachure), un seul trou de 13 min | ligne retirée |
| SUSTENHORN | D8 | trop | 16:45 → 16:47 | doublon de D9 (même famille, mêmes heures) | ligne retirée (grisée) |
| SUSTENHORN | D13 | trop | 18:45 → 18:47 | doublon de D14 | ligne retirée (grisée) |
| SUSTENHORN | D17 | trop | 23:00 → 23:02 | doublon de D18 | ligne retirée (grisée) |
| SUSTENHORN | S1 | raté | 05:45 → 08:45 | pics répétés (06:00, 06:30, 07:30, 08:30) sur les mêmes cibles, ~11 capteurs rejetés à chaque pic, comme D3/D4 ; seul Thermal couvre | ligne Obstruction ajoutée |
| LENZSPITZE | S1 | raté | 08:35 → 09:55 | courbes très agitées (corr_x jusqu'à +60, corr_y jusqu'à -40, pic à 09:05), aucune étiquette entre D5 et D6 | ligne Visibility ajoutée |
## Doutes, non corrigés
- BREITHORN, 00:00–04:00 : D1 (Displacement) et D2 (Obstruction) couvrent le même saut de POUI22 puis retour ; deux familles pour un même épisode, laquelle est juste ? Sans image, je ne tranche pas.
- CLARIDEN, 10:00–11:30 : bosse de ±6 sur plusieurs cibles D-301/D-302, D-306-B, à peine hors des pointillés ; aucune étiquette ne la couvre sauf D1 Obstruction (une cible).
- JUNGFRAU, 10:00–24:00 : dérives et sauts importants (saut ~13:00, sauts ~18:00 qui restent) ; D7 (17:45–18:30, « not back yet ») ne couvre que le début, D3/D6 Visibility avec `error_value` plate ou presque. Bornes et familles trop incertaines à cette échelle.
- LENZSPITZE, 02:35–02:50 (D2/D3) : courbes à peu près calmes à ces heures, mais figure trop grossière. Pics isolés vers 18:10 et 20:05 non étiquetés (une cible chacun, rejets à 20:05).
- MICHIGAN et NEBRASKA, D1 (Obstruction d'une référence, rejetée à chaque mesure) : courbes calmes mais 1 capteur rejeté partout ; pourrait être Target issue, non décidable sur un seul jour.
- NADELHORN, D7 (09:50, Displacement) : pas de saut net visible ; températures absentes après 09:00.
- NORDEND : rien de sûr ; les pics à 01:00 et 03:30 sont couverts par D2.
## Stations sans remarque
CLARIDEN (voir doute), FLORIDA, NIEDERHORN (No data juste, hachuré), NORDEND, SNCF01 (No data 00:00–08:29 juste, hachuré)
## Ce qui a manqué
L'échelle d'une figure pour 5 min de mesure (LENZSPITZE, NADELHORN, SUSTENHORN) ne permet pas de juger les étiquettes brèves ; aucune image de la caméra regardée.
@@ -0,0 +1,2 @@
{"id": "BREITHORN-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T04:00Z", "categorie": "Displacement", "description": "Détecteurs : Sudden jump, back to normal, POUI22. One target jumped and came back. The cause is not established: look at the images."}
{"id": "BREITHORN-2026-11-05-D2", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T04:00Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, COLI22, COLI24, POUI22, grisé. COLI22, COLI24, POUI22 were hidden several times while the targets around them stayed clear. Ignore their curves in this period."}
+1
View File
@@ -0,0 +1 @@
{"id": "CLARIDEN-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:50Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, P-300-B, grisé. P-300-B was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
+8
View File
@@ -0,0 +1,8 @@
{"id": "FLORIDA-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Target issue", "description": "Détecteurs : Target stuck, Pont Ernen, grisé. Pont Ernen barely moved while the other targets did (4 days): it may be set on a reference prism. Ignore its curve in this period and look at the images of the target."}
{"id": "FLORIDA-2026-11-05-D2", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Target issue", "description": "Détecteurs : Target stuck, Sellette 3, grisé. Sellette 3 barely moved while the other targets did (4 days): it may be set on a reference prism. Ignore its curve in this period and look at the images of the target."}
{"id": "FLORIDA-2026-11-05-D3", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T17:00Z", "categorie": "Target issue", "description": "Détecteurs : Target flipping, Sellette 3, grisé. Sellette 3 jumped and came back 42 times: its tracking is not reliable, look at the images of the target. Ignore its curve in this period and look at the images of the target."}
{"id": "FLORIDA-2026-11-05-D4", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T20:00Z", "categorie": "Target issue", "description": "Détecteurs : Target flipping, Pont Ernen, grisé. Pont Ernen jumped and came back 25 times: its tracking is not reliable, look at the images of the target. Ignore its curve in this period and look at the images of the target."}
{"id": "FLORIDA-2026-11-05-D5", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T16:30Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, Massif 2, grisé. Massif 2 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
{"id": "FLORIDA-2026-11-05-D6", "debut": "2026-11-05T08:00Z", "fin": "2026-11-05T14:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal expansion, 8 capteurs. The camera support expands in the day heat; the curves are corrected for it. This daily wave is normal: nothing to do."}
{"id": "FLORIDA-2026-11-05-D7", "debut": "2026-11-05T14:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal contraction, 8 capteurs. The camera support contracts as it cools down; the curves are corrected for it. This daily wave is normal: nothing to do."}
{"id": "FLORIDA-2026-11-05-D8", "debut": "2026-11-05T17:45Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, Massif 2, grisé. Massif 2 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
+7
View File
@@ -0,0 +1,7 @@
{"id": "JUNGFRAU-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, PM_G, grisé. PM_G was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
{"id": "JUNGFRAU-2026-11-05-D2", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T02:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Thermal contraction, 10 capteurs. The structure contracts as it cools down. This daily wave is normal: nothing to do."}
{"id": "JUNGFRAU-2026-11-05-D3", "debut": "2026-11-05T03:30Z", "fin": "2026-11-05T07:30Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 13 capteurs. The camera saw 13 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care."}
{"id": "JUNGFRAU-2026-11-05-D4", "debut": "2026-11-05T10:00Z", "fin": "2026-11-05T13:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Thermal expansion, 10 capteurs. The structure expands in the day heat. This daily wave is normal: nothing to do. The jump of 3 targets in this period has the same cause."}
{"id": "JUNGFRAU-2026-11-05-D5", "debut": "2026-11-05T13:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Thermal displacement", "description": "Détecteurs : Thermal contraction, 10 capteurs. The structure contracts as it cools down. This daily wave is normal: nothing to do."}
{"id": "JUNGFRAU-2026-11-05-D6", "debut": "2026-11-05T16:45Z", "fin": "2026-11-05T23:45Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 15 capteurs. The camera saw 15 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care."}
{"id": "JUNGFRAU-2026-11-05-D7", "debut": "2026-11-05T17:45Z", "fin": "2026-11-05T18:30Z", "categorie": "Displacement", "description": "Détecteurs : Jump, not back yet, BJ_C, BJ_D, BJ_G, PM_C. 4 targets shifted and have not come back yet. Check whether the structure moved: look at the images."}
@@ -0,0 +1,10 @@
{"id": "LENZSPITZE-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T18:30Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal movement, 41 capteurs. The camera moved with a change of temperature and all the curves moved with it; this is not a movement of the structure, nothing to do. The jump of 3 targets in this period has the same cause."}
{"id": "LENZSPITZE-2026-11-05-D2", "debut": "2026-11-05T02:35Z", "fin": "2026-11-05T02:50Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 35 capteurs. The camera saw 35 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care. The jumps of 6 targets in this period have the same cause."}
{"id": "LENZSPITZE-2026-11-05-D3", "debut": "2026-11-05T02:40Z", "fin": "2026-11-05T02:40Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 1010, 7013B, 7013H, grisé. Something passed in front of 3 targets for a single measurement. Ignore this point on the curves."}
{"id": "LENZSPITZE-2026-11-05-D4", "debut": "2026-11-05T07:55Z", "fin": "2026-11-05T07:55Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 9 capteurs, grisé. Something passed in front of 9 targets for a single measurement. Ignore this point on the curves."}
{"id": "LENZSPITZE-2026-11-05-D5", "debut": "2026-11-05T08:20Z", "fin": "2026-11-05T08:35Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 28 capteurs. The camera saw 28 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care. The jumps of 12 targets in this period have the same cause."}
{"id": "LENZSPITZE-2026-11-05-D6", "debut": "2026-11-05T09:55Z", "fin": "2026-11-05T09:55Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 92H, grisé. Something passed in front of one target for a single measurement. Ignore this point on the curves."}
{"id": "LENZSPITZE-2026-11-05-D7", "debut": "2026-11-05T14:40Z", "fin": "2026-11-05T14:50Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 26 capteurs. The camera saw 26 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care. The jumps of 5 targets in this period have the same cause."}
{"id": "LENZSPITZE-2026-11-05-D8", "debut": "2026-11-05T21:20Z", "fin": "2026-11-05T23:55Z", "categorie": "Displacement", "description": "Détecteurs : Jump, not back yet, 16 capteurs. 16 targets shifted and have not come back yet. Check whether the structure moved: look at the images."}
{"id": "LENZSPITZE-2026-11-05-D9", "debut": "2026-11-05T22:55Z", "fin": "2026-11-05T23:55Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 27 capteurs. The camera saw 27 targets less clearly than usual. The data in this period are less precise: use them with care."}
{"id": "LENZSPITZE-2026-11-05-S1", "debut": "2026-11-05T08:35Z", "fin": "2026-11-05T09:55Z", "categorie": "Visibility", "description": "Courbes très agitées sur de nombreuses cibles (corr_x jusqu'à +60, corr_y jusqu'à -40, pic à 09:05), sans retour au calme entre D5 et D6 ; seules des étiquettes brèves entourent la plage (scanner)."}
+1
View File
@@ -0,0 +1 @@
{"id": "MICHIGAN-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T20:00Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, REFPOU22, grisé. REFPOU22 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
@@ -0,0 +1,8 @@
{"id": "NADELHORN-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, l_c10_mon, m_c10_mon, grisé. l_c10_mon, m_c10_mon were hidden several times while the targets around them stayed clear. Ignore their curves in this period."}
{"id": "NADELHORN-2026-11-05-D2", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:55Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 21 capteurs. The camera saw 21 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care. The jump of 11 targets in this period has the same cause."}
{"id": "NADELHORN-2026-11-05-D3", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T06:30Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, m_c9_mon, m_c12_mon, grisé. Something passed in front of 2 targets for a single measurement. Ignore this point on the curves."}
{"id": "NADELHORN-2026-11-05-D4", "debut": "2026-11-05T06:45Z", "fin": "2026-11-05T06:45Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, c12_mon, grisé. Something passed in front of one target for a single measurement. Ignore this point on the curves."}
{"id": "NADELHORN-2026-11-05-D5", "debut": "2026-11-05T07:45Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, m_c12_mon, m_c9_mon, m_c5_mon, grisé. Something passed in front of 3 targets for a single measurement. Ignore this point on the curves."}
{"id": "NADELHORN-2026-11-05-D6", "debut": "2026-11-05T09:00Z", "fin": "2026-11-05T14:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal expansion, 35 capteurs. The camera support expands in the day heat; the curves are corrected for it. This daily wave is normal: nothing to do."}
{"id": "NADELHORN-2026-11-05-D7", "debut": "2026-11-05T09:50Z", "fin": "2026-11-05T09:50Z", "categorie": "Displacement", "description": "Détecteurs : Jump, not back yet, ref1_mon, ref2_mon, ref3_mon. 3 targets shifted and have not come back yet. Check whether the structure moved: look at the images."}
{"id": "NADELHORN-2026-11-05-D8", "debut": "2026-11-05T14:00Z", "fin": "2026-11-05T23:55Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal contraction, 35 capteurs. The camera support contracts as it cools down; the curves are corrected for it. This daily wave is normal: nothing to do."}
+1
View File
@@ -0,0 +1 @@
{"id": "NEBRASKA-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T20:00Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, REFCOLH22, grisé. REFCOLH22 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
@@ -0,0 +1 @@
{"id": "NIEDERHORN-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-06T00:00Z", "categorie": "No data", "description": "Détecteurs : No data, tous les capteurs. No measurement in the export for 43 h 00 min, up to the end of the period (usually one every 1 h 00 min)."}
+9
View File
@@ -0,0 +1,9 @@
{"id": "NORDEND-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T14:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, CTR01, grisé. CTR01 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
{"id": "NORDEND-2026-11-05-D2", "debut": "2026-11-05T00:45Z", "fin": "2026-11-05T09:30Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 20 capteurs. The camera saw 20 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care. The jumps of 18 targets in this period have the same cause."}
{"id": "NORDEND-2026-11-05-D3", "debut": "2026-11-05T03:45Z", "fin": "2026-11-05T03:45Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, CTR01, grisé. Something passed in front of one target for a single measurement. Ignore this point on the curves."}
{"id": "NORDEND-2026-11-05-D4", "debut": "2026-11-05T07:00Z", "fin": "2026-11-05T14:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal expansion, 22 capteurs. The camera support expands in the day heat; the curves are corrected for it. This daily wave is normal: nothing to do. The jump of 2 targets in this period has the same cause."}
{"id": "NORDEND-2026-11-05-D5", "debut": "2026-11-05T07:15Z", "fin": "2026-11-05T07:45Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, PR09, grisé. Something passed in front of one target for a single measurement. Ignore this point on the curves."}
{"id": "NORDEND-2026-11-05-D6", "debut": "2026-11-05T09:30Z", "fin": "2026-11-05T09:30Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, PR09, grisé. Something passed in front of one target for a single measurement. Ignore this point on the curves."}
{"id": "NORDEND-2026-11-05-D7", "debut": "2026-11-05T13:30Z", "fin": "2026-11-05T15:00Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, CTR02, PR01, PR02, PR09. The camera saw 4 targets less clearly than usual, including the reference targets. The data in this period are less precise: use them with care."}
{"id": "NORDEND-2026-11-05-D8", "debut": "2026-11-05T14:00Z", "fin": "2026-11-05T20:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Camera thermal contraction, 22 capteurs. The camera support contracts as it cools down; the curves are corrected for it. This daily wave is normal: nothing to do."}
{"id": "NORDEND-2026-11-05-D9", "debut": "2026-11-05T23:15Z", "fin": "2026-11-05T23:45Z", "categorie": "Displacement", "description": "Détecteurs : Jump, not back yet, 19 capteurs. 19 targets shifted and have not come back yet. Check whether the structure moved: look at the images."}
+5
View File
@@ -0,0 +1,5 @@
{"id": "SNCF01-2026-11-05-D1", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, BG.1, grisé. BG.1 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
{"id": "SNCF01-2026-11-05-D2", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, CV.7, grisé. CV.7 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
{"id": "SNCF01-2026-11-05-D3", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, F4.1, BG.1, F4.2, grisé. F4.1, BG.1, F4.2 were hidden several times while the targets around them stayed clear. Ignore their curves in this period."}
{"id": "SNCF01-2026-11-05-D4", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T23:45Z", "categorie": "Obstruction", "description": "Détecteurs : Target obscured, F4.3, grisé. F4.3 was hidden several times while the targets around it stayed clear. Ignore its curve in this period."}
{"id": "SNCF01-2026-11-05-D5", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T08:29Z", "categorie": "No data", "description": "Détecteurs : No data, tous les capteurs. No measurement in the export for 12 h 14 min (usually one every 15 min)."}
@@ -0,0 +1,16 @@
{"id": "SUSTENHORN-2026-11-05-D2", "debut": "2026-11-05T00:00Z", "fin": "2026-11-05T15:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Thermal contraction, 22 capteurs. The structure contracts as it cools down. This daily wave is normal: nothing to do. The jump of 2 targets in this period has the same cause."}
{"id": "SUSTENHORN-2026-11-05-D3", "debut": "2026-11-05T05:15Z", "fin": "2026-11-05T05:31Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D4", "debut": "2026-11-05T09:02Z", "fin": "2026-11-05T10:31Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D5", "debut": "2026-11-05T15:00Z", "fin": "2026-11-05T17:00Z", "categorie": "Thermal displacement", "description": "Détecteurs : Thermal expansion, 22 capteurs. The structure expands in the day heat. This daily wave is normal: nothing to do."}
{"id": "SUSTENHORN-2026-11-05-D6", "debut": "2026-11-05T15:02Z", "fin": "2026-11-05T15:02Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D7", "debut": "2026-11-05T16:15Z", "fin": "2026-11-05T16:15Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D9", "debut": "2026-11-05T16:45Z", "fin": "2026-11-05T16:47Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 11 capteurs. The camera saw 11 targets less clearly than usual. The data in this period are less precise: use them with care."}
{"id": "SUSTENHORN-2026-11-05-D10", "debut": "2026-11-05T17:00Z", "fin": "2026-11-05T23:47Z", "categorie": "Thermal displacement", "description": "Détecteurs : Thermal contraction, 22 capteurs. The structure contracts as it cools down. This daily wave is normal: nothing to do."}
{"id": "SUSTENHORN-2026-11-05-D11", "debut": "2026-11-05T17:15Z", "fin": "2026-11-05T17:15Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D12", "debut": "2026-11-05T18:30Z", "fin": "2026-11-05T18:30Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D14", "debut": "2026-11-05T18:45Z", "fin": "2026-11-05T18:47Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 11 capteurs. The camera saw 11 targets less clearly than usual. The data in this period are less precise: use them with care."}
{"id": "SUSTENHORN-2026-11-05-D15", "debut": "2026-11-05T19:30Z", "fin": "2026-11-05T19:32Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D16", "debut": "2026-11-05T20:32Z", "fin": "2026-11-05T20:32Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-D18", "debut": "2026-11-05T23:00Z", "fin": "2026-11-05T23:02Z", "categorie": "Visibility", "description": "Détecteurs : Poor visibility, 12 capteurs. The camera saw 12 targets less clearly than usual. The data in this period are less precise: use them with care."}
{"id": "SUSTENHORN-2026-11-05-D19", "debut": "2026-11-05T23:30Z", "fin": "2026-11-05T23:30Z", "categorie": "Obstruction", "description": "Détecteurs : Brief obstruction, 11 capteurs, grisé. Something passed in front of 11 targets for a single measurement. Ignore this point on the curves."}
{"id": "SUSTENHORN-2026-11-05-S1", "debut": "2026-11-05T05:45Z", "fin": "2026-11-05T08:45Z", "categorie": "Obstruction", "description": "Pics répétés de corr_x et corr_y sur les mêmes cibles, avec une dizaine de capteurs rejetés à chaque pic (06:00, 06:30, 07:30, 08:30), comme les épisodes D3 et D4 ; aucune étiquette d'obstruction ne les couvre (scanner)."}
+143
View File
@@ -0,0 +1,143 @@
# Audit du scan du 2026-11-05
Par un agent indépendant de l'essai du 2026-11-14 (voir [2026-11-05.md](2026-11-05.md)), sur le batch tel que le scanner l'a laissé, avant les corrections de la figure et des bornes.
Lecture seule ; données lues par le chargeur des détecteurs (`detectors/scripts/data.py`). « Bruit » : le bruit propre de `batch.py` (médiane des écarts entre deux mesures, jour et 3 jours d'historique), sauf mention. Aucun fichier du dépôt, de `data/`, `labeling/` ou `detectors/` n'a été modifié.
Décompte : **5 justes, 1 fausse, 1 discutable**. Mais la vérité garde des erreurs plus lourdes que celles qu'elle corrige (section « Ratés »), surtout à NORDEND, où elle contredit la vérité de l'analyste.
## 1. Les 7 corrections
| Station | Étiquette | Verdict | Preuve |
|---|---|---|---|
| BREITHORN | D3 (Displacement, COLI22, 08:00→08:00) retirée | **juste** | À 08:00, COLI22 est revenue à son niveau habituel (corr_x +0,047, corr_y +0,065, ev/seuil 0,20, comme le 04/11 de jour et le 05/11 à 12:00) et aucune cible ne dépasse 5 bruits (0/12) : D3 est le retour du véhicule garé de la nuit, lu à tort comme un saut. |
| SUSTENHORN | D1 (No data, toute la journée) retirée | **juste** | 288 instants, écarts de 1 min (×192) et de 13 min (×95) seulement : des mesures dans chaque rafale de la journée. `no_data.py` prend 1 min pour la cadence et voit chacun des 95 écarts de 13 min entre rafales comme un trou ; il les fond en un seul événement du 02/11 00:02 au 06/11 00:00. Le motif donné par le scanner (« un seul trou de 13 min ») est faux, mais la correction est juste. |
| SUSTENHORN | D8 (Visibility grisée, 16:45→16:47) retirée | **juste** (doublon) | Même liste de 11 capteurs, mêmes heures et même famille que D9. Mais la ligne gardée, D9, a la mauvaise famille : voir « Ratés ». |
| SUSTENHORN | D13 (18:45→18:47) retirée | **juste** (doublon) | Identique à D14 (11 capteurs, mêmes heures). Même réserve sur la famille de D14. |
| SUSTENHORN | D17 (23:00→23:02) retirée | **juste** (doublon) | Identique à D18, à un capteur près (D18 ajoute B16_A11). Même réserve sur la famille de D18. |
| SUSTENHORN | S1 ajoutée (Obstruction, 05:45→08:45) | **discutable** | Il y a bien des rejets que rien ne couvre : à 06:01-02, 06:32, 07:31-32, 07:45-46 et 08:31-32, toujours les mêmes 11 capteurs (plus REF07 et une cible à 06:15 et 06:45). Mais il n'y a pas de « pics de corr » : ce sont des rejets que la figure trace à l'écrêtage. S1 fond aussi 5 passages en une étiquette de 3 h, commence à 05:45 au lieu de 06:00, et le même raté revient 10 fois le soir sans être corrigé. |
| LENZSPITZE | S1 ajoutée (Visibility, 08:35→09:55) | **fausse** | La plage est déjà couverte par D1 (Thermal displacement, 00:00→18:30). L'agitation de 07:20 à 09:35 se fait sans montée de l'`error_value` (0,74 à 1,06 fois la nuit), sans perte de netteté (sharpness 0,96 à 1,02 fois la nuit) et sans rejet, pendant que le tilt de la caméra bouge. Selon les règles, c'est donc de l'agitation thermique et non une turbulence. Le seul événement distinct, à 09:05, est un passage bref sur 4 cibles (Obstruction). |
### Détail
**BREITHORN D3.** La nuit du 04 au 05/11, de 20:00 à 04:00 :
- COLI22 s'écarte de −23 bruits en corr_x (ev/seuil 0,77, sans rejet) ;
- POUI22 saute de +28 bruits en x et +72 en y ;
- COLI24 est rejetée.
À 08:00, les trois cibles sont revenues : COLI24 à +0,098, POUI22 à +0,018/−0,124. C'est la signature des véhicules garés la nuit devant le bas de la scène. L'analyste l'étiquette 12 fois en octobre (`labeling/auto/BREITHORN.jsonl`) : Obstruction, une étiquette par nuit, de 16:00 ou 20:00 jusqu'à 08:00. Retirer D3 est juste. Il restait deux choses à corriger (non corrigées) :
- D1 (Displacement sur POUI22) est de trop : même épisode, POUI22 est derrière le véhicule ;
- D2 devrait finir à 08:00, la mesure d'après le dernier point touché, et non à 04:00.
**SUSTENHORN : la cadence en rafales et ce qu'elle fait aux détecteurs.** La station mesure par rafales : 3 mesures à 1 min d'intervalle (hh:00/01/02, :15/16/17…), toutes les 15 min. Le résumé dit « une mesure toutes les 1 min ». Effets sur les détecteurs :
- `no_data.py` : la cadence médiane vaut 1 min, donc chaque écart de 13 min entre rafales est un « trou » (plus de 3 pas manquants). D'où un No data continu sur tout l'historique : c'est D1.
- `visibility.py`, Brief obstruction : un instant n'est retenu que s'il dépasse 3 fois ses voisins, et ses voisins sont les mesures à 1 min de la même rafale. Un passage d'une seule mesure est vu (05:15, 05:31, 09:02, 09:32, 10:31, 15:02, 16:15, 17:15, 18:30, 19:30, 19:32, 20:32, 23:30). Un passage de deux mesures consécutives échoue au test de saillance et n'atteint pas `RUN_MIN` = 3 : il n'est vu nulle part (06:01-02, 07:31-32, 07:45-46, 08:31-32, 16:31-32, 17:00-01, 17:45-46, 18:01-02, 19:15-16, 20:00-01, 20:16-17, 23:15-16). Deux passages isolés (06:32 et 18:15) manquent aussi. Avec trois mesures rejetées (16:45-47, 18:45-47, 23:00-02), on atteint `RUN_MIN` : comme 10 cibles sur 18 sont rejetées, plus de la moitié, la règle des niveaux dit « none », d'où une Visibility, en double (une grisée, une gardée).
- Les bornes des passages d'une mesure tombent sur une seule minute (15:02→15:02), donc `debut` = `fin`, ce que les règles d'étiquetage interdisent.
- Le bruit propre de la figure est calculé surtout sur des paires à 1 min. Il est sous-estimé : le rapport médian au bruit sur des paires d'au moins 10 min vaut 1,5 (de 1,3 à 2,7). La bande ±5 vaut donc environ ±3,3 vrais bruits, et toute la figure paraît agitée.
**SUSTENHORN S1.** Le groupe rejeté est toujours le même, 51 fois dans la journée : les cibles en `*01`/`*02` (B15_B01, B16_A01, B16_A02, B16_B01, B17_A01, B17_B01, B18_A01, B18_B01, B19_A01, B19_B01) et REF07. Les cibles en `*11`/`*12` restent mesurées, et leur ev/seuil médian ne monte pas : 0,063 aux instants de rejet, contre 0,079 sans rejet. C'est une occultation localisée, la même que les Obstructions des détecteurs (D3, D4, D6, D7…) : la famille Obstruction est cohérente, cause déduite (pas de dossier `images/` pour cette station).
Ce que la figure appelle « pics » n'en est pas : pendant ces rejets, les cibles acceptées ne bougent pas (0/8 au-delà de 5 bruits à 07:31-32 ; B16_B11 et B18_B11 restent à leur niveau). C'est le défaut d'écrêtage de la figure (section 4).
Ce qui ne va pas dans S1 :
- sa description (« pics répétés de corr_x et corr_y ») est fausse ;
- elle fond 5 passages en une seule étiquette, alors que les règles demandent une étiquette par passage ;
- `debut` devrait être 06:00, la mesure d'avant le premier rejet de 06:01 ;
- les 10 passages du soir, aussi visibles dans le panneau des rejets, restent non couverts.
Une étiquette de 3 h apprendrait aux détecteurs à fusionner des passages, ce qui serait faux.
**LENZSPITZE S1.** Le script `agitation.py` compare le 05/11 avec la turbulence étiquetée par l'analyste le 19/10 (LENZSPITZE-18, 07:40→10:30). Le 05/11, de 07:20 à 09:35 :
- |Δcorr_x| médian de 2 à 10 bruits par pas (environ 1 la nuit) ;
- `error_value` de 0,74 à 1,06 fois son niveau de la nuit ;
- sharpness de 0,96 à 1,02 fois la nuit ;
- flux de 1,4 à 1,9 fois la nuit (le jour se lève) ;
- tilt de 0,006 à 0,013 puis 0,008.
Le 19/10, au contraire : `error_value` de 1,2 à 1,6 fois la nuit, sharpness de 0,86 à 0,90. Le 05/11 est donc la pose qui s'agite sans que l'`error_value` monte. Les familles le disent (« une agitation de jour, la pose qui s'agite sans que l'`error_value` monte, n'est pas une turbulence »), et les règles d'étiquetage aussi (« l'agitation d'une mesure à l'autre s'écrit dans l'étiquette thermique… elle ne fait pas une Visibility ») : c'est D1, déjà là.
À 09:05, quatre cibles font un pic d'une mesure et reviennent à 09:10-09:15 :
- 1013 (ev 0,07 → 0,42, corr_x +114 bruits) ;
- 1021 (0,23 → 0,59) ;
- 1023 (corr_y +192 bruits) ;
- 1019 (0,12 → 0,43, retour lent).
C'est un passage : Obstruction brève, de 09:00 à 09:10 ou 09:15, que les détecteurs ratent. Le scanner l'a noyé dans une Visibility.
## 2. Les doutes du scanner
| Doute | Ce que disent les données | Aurait-il dû corriger ? |
|---|---|---|
| BREITHORN 00:00–04:00, D1 Displacement ou D2 Obstruction | C'est un véhicule garé la nuit devant COLI22, COLI24 et POUI22 (12 nuits identiques étiquetées Obstruction par l'analyste). D1 est de trop ; D2 doit finir à 08:00. L'image de 00:00 existe, mais elle est très sombre et peu concluante. | Oui pour D1 : même épisode, la famille se décide par le précédent. Le scanner avait 5 images et n'en a regardé aucune. |
| CLARIDEN 10:00–11:30, bosse de ±6 | 7 à 11 cibles entre +5 et +7 bruits à 10:10 et de 10:50 à 11:00, sans rejet ; partout ailleurs, 0 ou 1 cible. | Non : c'est à la limite du seuil, s'abstenir était juste. |
| JUNGFRAU 10:00–24:00 | Voir « Ratés ». Le saut de 13:00 revient chaque jour de soleil, à la même heure ; la chute de 17:45 à 20:00 est couverte par D7 (Displacement), son palier ne demande pas d'étiquette. | Non, rien de sûr ; s'abstenir était juste. |
| LENZSPITZE 02:35–02:50 (D2, D3) | À 02:40, l'`error_value` de 1010, 7013B et 7013H est multipliée par 1,6 à 2,7 sur une mesure, sans effet sur leurs corr (1010 : −0,076 contre −0,073/−0,072). Les décalages des courbes sont ceux de toute la nuit. Selon les familles, cela ne s'étiquette pas : D2 et D3 sont de trop. | Pas avec cette figure : l'écart à la médiane du jour cache tout (section 4). |
| LENZSPITZE, pics de 18:10 et 20:05 | 18:05-18:10 : 1020 à −41 et −47 bruits, 1023 à +38 en corr_y, sans rejet (sous D1). 20:05 : **8003 et 8010 rejetées une mesure** (cibles du groupe des passages, cf. LENZSPITZE-48). | Oui pour 20:05 : un rejet que rien ne couvre est un raté sûr (Obstruction 20:00→20:10). 18:05 reste un doute. |
| MICHIGAN, NEBRASKA D1 (référence rejetée partout) | REFPOU22 et REFCOLH22 sont rejetées à 6 mesures sur 6 chaque jour, du 10/10 au 05/11, puis plus du tout à partir du 07/11. L'analyste les étiquette Target issue (09/10 → fin octobre). C'est Target issue, pas Obstruction. | Impossible sur un seul jour, sans historique : c'est un défaut de méthode, pas du scanner. |
| NADELHORN D7 (09:50, Displacement) | Le corr_y de ref1_mon, ref2_mon et ref3_mon fait un pas de −0,23 (environ 35 bruits) à 09:50 et y reste ; une partie des cibles bouge avec (c2_mon en x : +0,10 → +0,02). | Non : l'étiquette se défend. La figure ne trace pas les références, le pas y était invisible. |
| NORDEND « rien de sûr » | Faux : voir « Ratés ». | Oui. |
## 3. Les ratés du scanner
**NORDEND, face à la vérité de l'analyste (NORDEND-229 à 236), le plus grave.**
- **D2, Visibility 00:45→09:30.** Seuls trois instants sont touchés : 01:00, 01:15 et 03:30. À chacun, la référence CTR03 est rejetée et 17 ou 18 cibles sur 19 sautent ensemble (corr_y de −29 à −33 bruits, corr_x jusqu'à +23). Entre ces instants, et de 03:45 à 09:30, aucune cible ne dépasse 5 bruits, et l'`error_value` médiane reste plate (0,18 à 0,21). L'analyste pose deux Obstructions (231 : 00:45→01:30, fil de toile d'araignée sur CTR03, vu sur l'image de 01:00 ; 233 : 03:15→03:45), plus une troisième sur PR09 (232 : 03:00→09:45). Garder D2 apprendra aux détecteurs qu'une Visibility de 9 h est juste là où la vérité revue dit deux occultations d'une demi-heure.
- Était-ce visible ? La règle des bornes du scanner (plus d'une heure d'écart) suffisait : D2 finit près de 6 h après le dernier saut. Mais deux défauts de la figure trompaient la lecture. Les rejets de CTR01 et PR09 y sont tracés en plateaux à l'écrêtage (+19, +28) de 04:15 à 09:00, ce qui donne l'illusion d'une anomalie qui justifie D2. Et CTR03, une référence, n'est pas tracée : son rejet ne se voit nulle part.
- **D9, Displacement « Jump, not back yet » 23:15→23:45.** CTR03 est rejetée à 23:15 et à 23:45, et 17 cibles sur 19 sautent. Mais à 23:30, tout est revenu (1 cible sur 19 au-delà de 5 bruits), et la figure le montre. « Not back yet » vient de la coupure du batch : les détecteurs n'ont que les mesures d'avant minuit. L'analyste (236) pose une Obstruction de 23:00 au 06/11 10:00 (le fil est vu sur les images de 21:00 et de 23:00, qui existent). Le retour était visible ; la famille demandait l'image de 23:00.
- **D7, Visibility 13:30→15:00** sur CTR02, PR01, PR02 et PR09 : courbes calmes ; seuls CTR01 (rejet habituel) et PR09 à 15:00 sont rejetés. L'analyste pose une seule Obstruction, 235 (14:45→15:15, PR09). D7 est de trop, ou au moins douteuse.
- **D1, Obstruction « Target obscured » sur CTR01** : c'est Target issue selon l'analyste (230 ; CTR01 est rejetée une grande part du temps depuis le 16/10, à 124 mesures sur 260 du lot). Impossible à décider sans historique.
- **Le cycle thermique** : la fin du cycle de la veille (229, 00:00→06:30) n'a aucune étiquette, et D4 + D8 (07:00→20:00) découpent en deux ce que l'analyste pose en un seul cycle (234, jusqu'au lendemain 07:00). Ce n'est pas dans les consignes du scanner ; c'est une convention des détecteurs, à rediscuter.
**SUSTENHORN.**
- Dix passages du soir ne sont couverts par rien : 16:31-32, 17:00-01, 17:32, 17:45-46, 18:01-02, 18:15, 19:15-16, 20:00-01, 20:16-17, 23:15-16. Ce sont les mêmes 11 capteurs, et le panneau des rejets les montre.
- D9, D14 et D18 (Visibility) devraient être des Obstructions : même groupe de capteurs, le reste de la scène intact.
**LENZSPITZE.**
- Le rejet de 8003 et 8010 à 20:05 n'est pas étiqueté.
- **D8, Displacement « Jump, not back yet » 21:20→23:55, sur 16 capteurs** : à partir de 22:00, le flux tombe de 1,24 à 0,15-0,23 fois la nuit, la sharpness de 1,03 à 0,55, et l'`error_value` double. C'est la perte de visibilité de nuit que l'analyste étiquette Visibility à LENZSPITZE (« le flux baisse fortement sur presque toute la scène »). D8 a donc la mauvaise famille, et « not back yet » vient encore de la coupure à minuit. D9 (Visibility) devrait commencer vers 22:00, pas à 22:55. La montée de l'`error_value` se voyait dans le panneau 5.
**JUNGFRAU** : pas de vérité revue pour ce jour, et pas de pose de la caméra.
- **Le saut de 13:00** (BJ_G en corr_x : environ +0,14 entre 12:00 et 13:30, PM_D en corr_y : −0,08) revient chaque jour de soleil à la même heure (11-03 : +0,15 ; 11-07 : +0,30). Il se fait sans montée de l'`error_value` (0,82 à 0,87 fois la nuit) : c'est le soleil sur l'ouvrage, couvert par D4/D5. Pas un raté.
- **La chute de 17:45 à 20:00** (BJ_G en corr_x : −0,68 → −1,21, BJ_C en corr_y : +0,09 → −0,42) est bien plus forte que les autres soirs (11-03 : −0,05 ; 11-04 : à peu près rien). Elle n'est pas revenue le lendemain matin (06/11 00:00 : BJ_G à −1,28). Un Displacement se défend : c'est D7. Son palier, ce que le scanner appelle les « sauts qui restent », ne demande pas d'étiquette à part (le palier se dit dans la description de D7). Seule la fin de D7 est courte : le nouveau niveau est atteint vers 19:30-20:00, et D7 finit à 18:30, soit environ 1 h 30 trop tôt.
- D6 (Visibility 16:45→23:45) : l'`error_value` ne monte que de 1,0 à 1,24 fois la nuit. Douteuse, mais pas sûre.
Le scanner a eu raison de s'abstenir à JUNGFRAU.
## 4. Les défauts de méthode
1. **La figure trace les rejets comme des pics à l'écrêtage** (`batch.py`, l. 132 : `bride = lambda x: max(-lim, min(lim, x))`). `min(lim, nan)` rend `lim`, si bien qu'une mesure rejetée (NaN) est dessinée à +lim, dans corr_x comme dans corr_y. Les NaN que `coupe()` insère dans les trous aussi. C'est la cause de la description fausse de S1 à SUSTENHORN, et c'est ce qui fait paraître justifiée D2 à NORDEND (plateaux de CTR01 et PR09). Correction : `bride = lambda x: x if x != x else max(-lim, min(lim, x))`. Le script `figure_cases.py` refait le calcul de la figure : sans le défaut, il n'y a aucun pic à 06:00, 06:30, 07:30 ni 08:30.
2. Dans chaque pas de 15 min, un NaN qui vient après une valeur la remplace (`not abs(pire) >= abs(nan)` est vrai). Une seule mesure rejetée sur les 3 d'une rafale efface donc la case.
3. **L'écart à la médiane du jour** : un décalage thermique rend « non calme » toute une nuit (LENZSPITZE, NORDEND). Sur une telle courbe, on ne peut plus juger une étiquette brève de trop (LENZSPITZE D2/D3). Mieux : l'écart au niveau local (médiane glissante), comme le fait `non_couverts.py`.
4. **Le bruit propre** est calculé sur des paires de mesures consécutives : avec des rafales, il est sous-estimé d'un facteur 1,5 (jusqu'à 2,7). Mieux : seulement les paires espacées d'au moins un pas de figure.
5. **Les références ne sont pas tracées, et le panneau des rejets ne les distingue pas** : la signature « une référence rejetée, toutes les cibles sautent » (NORDEND, REF07 à SUSTENHORN) est invisible. Il faudrait au moins un marqueur « référence rejetée ».
6. **L'`error_value` médiane sur tous les capteurs** : quand la moitié des capteurs est rejetée (SUSTENHORN, 11 sur 22), la médiane passe de 0,08 à 0,8 et une occultation localisée prend l'air d'une perte de visibilité de toute la scène. Il faudrait la médiane des capteurs non rejetés, ou la part des capteurs au-dessus de leur niveau.
7. **Le batch coupe les détecteurs à minuit** : un événement de la fin du jour devient « not back yet » (NORDEND D9, LENZSPITZE D8), alors que les données du lendemain existent (jusqu'au 13/11). Il faudrait donner quelques heures après le jour, puis couper.
8. **`detecteurs.md`** :
- `courte()` imprime `fin[11:16]`, si bien qu'une étiquette qui finit à minuit le lendemain s'affiche « 00:00 → 00:00 » (SUSTENHORN D1, NIEDERHORN D1) ;
- « une mesure toutes les 1 min » cache la cadence en rafales ;
- rien ne dit quels capteurs sont des références, ni depuis quand une cible est rejetée (CTR01, REFPOU22, REFCOLH22), alors que c'est ce qui décide Target issue ;
- les doublons grisé/gardé ne se distinguent que par « grisé ».
9. **Les consignes du scanner** (`.claude/agents/scanner.md`) :
- « Raté : aucune étiquette ne couvre ce moment » : une étiquette longue (D1 thermique, D2 Visibility) masque tout, et le scanner l'applique de façon incohérente (S1 ajoutée à LENZSPITZE sous D1 ; les sauts de NORDEND tenus pour couverts par D2).
- L'aide-mémoire des familles (« toute la scène, error_value qui monte, beaucoup de rejets » contre « une ou quelques cibles ») omet trois signatures : l'agitation sans montée de l'`error_value`, qui est thermique ; la référence rejetée qui fait sauter toutes les cibles ; un passage qui cache la moitié des capteurs, qui reste une Obstruction.
- Il manque « un événement qui se répète : une étiquette par fois » : d'où S1 à SUSTENHORN.
- La tolérance d'une heure sur les bornes ne va ni aux cadences de 4 h (la fin de D2 à BREITHORN, décalée d'une mesure, soit 4 h, n'est pas une irrégularité selon cette règle) ni aux rafales d'une minute.
- Les 5 images n'ont pas servi : 0 regardée. NORDEND (01:00, 23:00) et BREITHORN se décidaient avec une image chacune. Le scan a duré 82 s en 27 tours, un seul regard par figure. Une consigne pourrait imposer une image pour chaque doute de famille.
- Pas d'historique ni de vérité de référence (`labeling/auto/`) : MICHIGAN, NEBRASKA et le CTR01 de NORDEND restaient indécidables.
## 5. Les scripts
Ceux qui servent encore sont dans `outils/` du dépôt (le jour : la variable `JOUR`, par défaut 2026-11-05) ; les autres, propres à cet audit ou périmés par la correction de la figure, n'ont pas été gardés :
| Script | Ce qu'il fait | À garder ? |
|---|---|---|
| `outils.py` | Fonctions communes : charge une station, bruit propre (option : paires d'au moins N min), écarts en bruits, événements des détecteurs comme `batch.py`. | Oui, les autres en dépendent. |
| `instants.py` | Instant par instant : capteurs, rejets (cibles, références), ev/seuil, cibles les plus écartées (`--pas` contre les rafales). | Oui, le plus utile. |
| `capteurs.py` | Séries brutes de quelques capteurs (corr_x, corr_y, ev/seuil, rejet) sur une plage. | Oui. |
| `agitation.py` | Par instant : agitation des corr, `error_value`, sharpness et flux face à la nuit, pose de la caméra. Sépare turbulence, thermique et perte de visibilité. | Oui. |
| `rejets_jour.py` | Rejets d'un capteur jour par jour sur tout l'historique (test de Target issue). | Oui. |
| `non_couverts.py` | Toutes stations : instants anormaux (rejets non habituels, sauts face au niveau local) qu'aucune étiquette de la vérité ne couvre (hors Thermal). | Oui : base possible d'un contrôle après le scan. |
| `figure_cases.py` | Refait le calcul des cases de la figure ; a montré que les « pics » de SUSTENHORN sont des NaN. | Jusqu'à la correction de `bride`. |
| `episodes_bruts.py` | Épisodes bruts de `visibility.episodes` sur le jour, avant `categories.py`. | Oui, pour déboguer les détecteurs. |
| `sustenhorn.py` | SUSTENHORN : rafales, groupe rejeté, couverture par les étiquettes, rapport des bruits, capteurs des Visibility. | Non, propre à cet audit. |
| `horaire.py` | Valeurs horaires sur plusieurs jours. La colonne de température reste vide (clés horaires qui ne correspondent pas). | Non. |
+129
View File
@@ -0,0 +1,129 @@
# Essai complet sur le batch du 2026-11-05
Premier passage de bout en bout, le 2026-11-14 : les détecteurs, le scanner, puis l'amélioration (`/detectors:wf-improve`),
orchestrés et surveillés par une session Claude Code (Opus) ; chaque agent contrôlé par un autre. Ce journal se remplit au fil
de l'exécution : ce qui a tourné, ce qui a cassé, ce qui a été corrigé, ce qui reste à décider.
## Le jour
2026-11-05 : les jours du 01 au 07 sont pompés en entier pour 11 stations ; du 11 au 13, seulement en partie (le 11, presque
vide). NIEDERHORN n'a plus rien depuis le 04 (un jour entier de `No data`) ; WILDSTRUBEL, rien en novembre (écartée par le
batch, « sans mesure »). Le 05 tombe aussi dans l'analyse ciblée de NORDEND (`labeling/auto/analyses/NORDEND_2026-11-04T2112_2026-11-07T1412`) :
la vérité du scanner s'y compare à celle d'un analyste.
## 1. Les détecteurs
`python3 batch.py --jour 2026-11-05 --sans-scan` : 1 min 22 s, 12 stations, 73 étiquettes.
- SUSTENHORN, `No data` sur tout le jour alors que les mesures sont là : la station mesure par rafales (3 mesures à 1 min
toutes les 15 min) ; `no_data.py` prend pour cadence l'écart médian (1 min) et voit un trou toutes les 15 min, que
`categories.py` fond en un seul événement. Le même défaut que le scanner avait vu le 12 (en « bornes »).
- SUSTENHORN, trois `Visibility` en double (l'une grisée, l'autre non) aux mêmes heures : déjà vu le 12.
- Le résumé `detecteurs.md` écrivait « 00:00 → 00:00 » pour une étiquette d'un jour entier (sa fin est minuit d'après) :
corrigé, « 24:00 ».
## 2. Le scan
`python3 batch.py --jour 2026-11-05` : 82 s, 27 tours, 0,37 $ en équivalent API (sur l'abonnement, `apiKeySource: none`,
Sonnet) ; 7 irrégularités sur 3 stations, contrôle de la vérité sans erreur ; aucune image de la caméra.
| Station | Étiquette | Cas | Correction du scanner |
|---|---|---|---|
| BREITHORN | D3 Displacement 08:00 | trop | retirée |
| SUSTENHORN | D1 No data, tout le jour | trop | retirée |
| SUSTENHORN | D8, D13, D17 Visibility grisées | trop (doublons) | retirées |
| SUSTENHORN | S1 05:45 → 08:45 | raté | Obstruction ajoutée |
| LENZSPITZE | S1 08:35 → 09:55 | raté | Visibility ajoutée |
Défaut trouvé dans le flux : les sessions `claude -p` du batch chargeaient les réglages personnels du poste (hooks des
plugins superpowers et ponytail, ~19 Ko de consignes injectées au démarrage ; tous les plugins et serveurs MCP de
l'utilisateur). Corrigé : `--setting-sources project,local --strict-mcp-config` (vérifié : plus de hook ni de plugin
utilisateur, toujours l'abonnement). `--bare` n'est pas possible : il impose une clé d'API.
## 3. L'amélioration
Pas encore branchée avant cet essai : `wf-improve` ne prenait qu'une station. Ajouté (detectors 887b313) :
- `DATA`, `STATIONS` et un dossier `LABELS` (un `<STATION>.jsonl` par station), une seule séance pour toutes ; la requête
d'une seule station (Diagnostic-App) ne change pas ;
- `regression.py --from/--to` : la même plage pour toutes les stations (sans, une station sans étiquette faisait planter
`label_range`) ;
- les scripts des agents gardés dans `<OUT>/tools/`, listés dans leurs sorties (`## Tools`) et dans le bilan, pour les
réutiliser (avant : un `mktemp -d` perdu).
`batch.py` lance l'étape 3 quand le scanner a corrigé une station et la vérité est sans erreur : une séance sur les stations
corrigées, sorties dans `batches/<jour>/improve/`, flux dans `improve.jsonl` (hors de git).
Lancée sur la vérité du scanner telle quelle (le test de la boucle autonome, sans retouche), sur BREITHORN, LENZSPITZE,
SUSTENHORN. Ouverture conforme : abonnement, Opus, plugin `detectors` chargé avec `detectors:upgrader` et
`detectors:validator` malgré `--setting-sources project,local`. Le flux contient aussi les messages des sous-agents ; il
n'arrivait que par blocs de 8 Ko (corrigé : écrit ligne à ligne).
L'upgrader (~10 min) :
- **S1** (`no_data.py`) : le pas est le plus grand de l'écart médian et du cycle horaire (une heure divisée par le nombre
médian d'instants par heure) : une station par rafales n'a plus un trou toutes les 15 min. Le `No data` de SUSTENHORN
disparaît.
- **S2** (`visibility.py`) : un épisode diffus (point 8) contenu dans un `Poor visibility` (point 3) n'est plus émis en
double. Les doublons de SUSTENHORN disparaissent.
- Benchmark identique sur toutes les lignes après chaque correctif.
- LENZSPITZE S1 (la correction fausse du scanner, voir l'audit) : écartée, « lecture défendable » des détecteurs, en
« Limits ». SUSTENHORN S1 : un essai de règle (deux mesures rejetées de suite = passage bref) fait passer Obstruction
« correct » de 81 à 46 % sur la plage ; abandonné. BREITHORN D3 : jugé « une règle de plus pour un instant », laissé.
- Il garde `tools/instants.py` (par instant : rejets, capteurs « hauts », `error_value` en MAD), comme demandé.
Le validator (~8 min) : **keep**. Benchmark refait à HEAD, identique à « après » ; aucune ligne ne bouge sur les 11
stations ; S1 sans constante ajoutée, S2 d'une ligne ; rien d'interdit. Sa réserve : le pas de `no_data` ne peut que
monter, une station aux heures à moitié remplies devra avoir un trou plus long pour qu'il se voie ; à surveiller.
Bilan (`batches/2026-11-05/improve/summary.md`) : **modification gardée** ; 29 min, 8 tours de l'orchestrateur, 0 refus de
permission, 2,80 $ en équivalent API (Opus, sur l'abonnement). Une seule erreur d'outil dans le flux : un `sleep 240`
bloqué (l'upgrader voulait attendre son benchmark). L'upgrader édite encore le code par des heredocs Python : ce sont des
modifications, pas des scripts d'analyse, la consigne `tools/` ne les vise pas.
**Ça généralise** : sur les 6 et 7 novembre, que la séance n'a pas vus, les détecteurs d'après (5438b0b) face à ceux
d'avant (887b313), toutes stations : le faux `No data` de SUSTENHORN disparaît aussi les deux jours (S1), ses doublons
`Poor visibility` aussi (S2) ; ailleurs, seules JUNGFRAU et LENZSPITZE bougent, à la marge (les épisodes absorbés d'une
`Poor visibility` de nuit).
## 4. L'audit du scanner
Un agent indépendant (Opus, ~70 min, lecture des données brutes que le scanner n'a pas le droit de lire) a refait le
travail du scanner ; son rapport complet est recopié dans [`2026-11-05-audit-scan.md`](2026-11-05-audit-scan.md), ses
scripts réutilisables dans [`outils/`](../../outils/) du dépôt.
- Les 7 corrections : **5 justes** (BREITHORN D3 ; SUSTENHORN D1, D8, D13, D17), **1 fausse** (LENZSPITZE S1 : une
agitation thermique sans montée de l'`error_value`, déjà sous D1 ; le seul événement distinct est un passage à 09:05),
**1 discutable** (SUSTENHORN S1 : des rejets réels et la bonne famille, mais 5 passages fondus en une étiquette de 3 h, et
10 passages du soir laissés).
- Le raté le plus lourd : NORDEND, face à la vérité de l'analyste. D2 (Visibility 00:45 → 09:30) ne couvre que trois
instants où la référence CTR03 est rejetée et toutes les cibles sautent (deux Obstructions d'une demi-heure pour
l'analyste) ; D9 (« Jump, not back yet » à 23:15) revient à 23:30 (Obstruction pour l'analyste).
- La cause principale n'est pas le scanner mais **la figure** : `min(lim, nan)` rend `lim`, donc chaque mesure rejetée était
dessinée en pic à l'écrêtage (les « pics répétés » de SUSTENHORN, les plateaux de NORDEND) ; et un NaN effaçait la vraie
valeur de son pas de 15 min. Les références ne sont pas tracées : « une référence rejetée, toutes les cibles sautent » était
invisible.
## 5. Les corrections d'Optimizer après l'audit
- **La figure** : un rejet interrompt la courbe (plus de pic) ; dans un pas, une vraie mesure l'emporte toujours sur un rejet ;
le panneau des rejets sépare les références (noir) des cibles (rouge). Vérifié sur le 05 : plus aucun pic à SUSTENHORN, et
à NORDEND les références rejetées tombent à 01:00, 03:30, 23:15 et 23:45, les passages de l'analyste.
- **Le résumé** `detecteurs.md` : les références nommées ; « par rafales » quand la station mesure ainsi (SUSTENHORN :
« une mesure toutes les 1 min » cachait la cadence).
- **Les bornes des étiquettes des détecteurs** : un événement va du premier au dernier point touché, une étiquette de la
mesure d'avant à celle d'après (règles d'étiquetage, `score.py`). Le batch reprenait les bornes des événements : des
étiquettes `debut` = `fin`, interdites, et un score de plage qui n'était pas à 100 % même sans aucune correction (NORDEND
Displacement 1/3, SUSTENHORN Visibility 3/9), du bruit pour l'upgrader. Maintenant élargies d'une mesure (sauf `No data`,
déjà d'une mesure à l'autre), et une étiquette commencée la veille part de la dernière mesure d'avant minuit. À vérité
intacte, le score est à 100 % sur toutes les familles de toutes les stations du 05, à un instant près (FLORIDA,
NADELHORN) : il ne montre plus que les corrections du scanner.
- **Essayé et retiré** : laisser les détecteurs lire 6 h après minuit (pour qu'un saut du soir trouve son retour). Leurs
statistiques portent sur toute la fenêtre lue : les étiquettes du matin changeaient aussi (NORDEND D2 coupée en trois),
et `score.py` (sans ces heures) aurait vu des écarts que personne n'a corrigés. La coupure à minuit reste une limite.
- **Les consignes du scanner** : la figure telle qu'elle est maintenant, les bornes « d'une mesure à l'autre » (à 4 h de
cadence, une anomalie d'une mesure couvre 8 h ; la tolérance des bornes devient « plus d'une heure et plus d'une mesure ») ;
un rejet ou un saut sous une étiquette longue d'une autre famille est un raté ; trois signatures trompeuses (une référence
rejetée quand toutes les cibles sautent : Obstruction ; un même groupe rejeté par moments : Obstruction ; une agitation de
jour sans montée de l'`error_value` : thermique) ; une étiquette par passage ; une image pour un doute de famille avant d'y
renoncer.
*(en cours)*
+37
View File
@@ -0,0 +1,37 @@
# Agitation d'une station sur un jour (STATION JOUR [HH HH]) : par instant, médiane sur les cibles du |Δcorr| d'un pas (en bruits), de l'error_value face à la nuit, de la sharpness et du flux face à la nuit ; pose de la caméra.
import statistics
import sys
from datetime import datetime, timedelta, timezone
from outils import RACINE, station, bruit
from data import load_camera
nom, jour = sys.argv[1:3]
h0, h1 = (int(x) for x in sys.argv[3:5]) if len(sys.argv) > 4 else (0, 24)
d = datetime.fromisoformat(jour).replace(tzinfo=timezone.utc)
m, refs = station(nom)
nuit = lambda x: d <= x["t"] < d + timedelta(hours=5) # noqa: E731 ponytail: nuit = 00-05 UTC, juste pour une base
cibles = [s for s in m if s not in refs]
base = {}
for s in cibles:
for c in ("error_value", "sharpness", "flux"):
v = [x[c] for x in m[s] if nuit(x) and x[c] is not None]
if v and statistics.median(v):
base[s, c] = statistics.median(v)
bx = {s: bruit(m[s], "corr_x") for s in cibles}
par = {}
for s in cibles:
ms = [x for x in m[s] if d + timedelta(hours=h0) <= x["t"] < d + timedelta(hours=h1)]
for a, b in zip(ms, ms[1:]):
r = par.setdefault(b["t"], {"d": [], "e": [], "sh": [], "fl": []})
if a["corr_x"] is not None and b["corr_x"] is not None and bx[s]:
r["d"].append(abs(b["corr_x"] - a["corr_x"]) / bx[s])
for c, k in (("error_value", "e"), ("sharpness", "sh"), ("flux", "fl")):
if b[c] is not None and (s, c) in base:
r[k].append(b[c] / base[s, c])
pose = {p["t"]: p for p in load_camera(str(RACINE / "data" / nom))}
med = lambda v: f"{statistics.median(v):5.2f}" if v else " - " # noqa: E731
print("t |Δx|/bruit ev/nuit sharp/nuit flux/nuit pan tilt")
for t in sorted(par):
r, p = par[t], pose.get(t, {})
print(t.strftime("%H:%M"), med(r["d"]), med(r["e"]), med(r["sh"]), med(r["fl"]),
f"{p.get('pan') or float('nan'):+.5f} {p.get('tilt') or float('nan'):+.5f}")
+16
View File
@@ -0,0 +1,16 @@
# Séries brutes de quelques capteurs : STATION CAPTEUR[,CAPTEUR…] DE A (AAAA-MM-JJTHH:MM) -> t, corr_x, corr_y, error_value/seuil, rejet ; bruit en tête.
import sys
from datetime import datetime, timezone
from outils import station, bruit, rejected
nom, noms, de, a = sys.argv[1], sys.argv[2].split(","), *sys.argv[3:5]
de, a = (datetime.fromisoformat(x).replace(tzinfo=timezone.utc) for x in (de, a))
m, refs = station(nom)
for s in noms:
ms = m[s]
print(f"== {s} {'(réf)' if s in refs else ''} bruit x={bruit(ms, 'corr_x'):.4g} y={bruit(ms, 'corr_y'):.4g}")
for x in ms:
if de <= x["t"] <= a:
ev = x["error_value"] / x["error_threshold"] if x["error_threshold"] and x["error_value"] is not None else float("nan")
f = lambda v: " None " if v is None else f"{v:+8.3f}" # noqa: E731
print(x["t"].strftime("%m-%d %H:%M"), f(x["corr_x"]), f(x["corr_y"]), f"{ev:.2f}", "REJ" if rejected(x) else "")
+10
View File
@@ -0,0 +1,10 @@
# Les épisodes bruts de visibility.episodes (avant categories.py) d'une station sur le jour, avec 3 jours d'historique : STATION.
import sys
from outils import D, B, H, station, iso
import visibility
m, _ = station(sys.argv[1])
morceau = {s: k for s, ms in m.items() if (k := [x for x in ms if H <= x["t"] < B])}
for e in visibility.episodes(morceau):
if e["end"] >= iso(D):
print(e["start"][11:], e["end"][11:], e["kind"], e["label"], len(e["sensors"]), e.get("level", ""))
+38
View File
@@ -0,0 +1,38 @@
# Instant par instant (STATION [HH:MM HH:MM] [--pas MIN]) : capteurs mesurés, rejetés (cibles, références), les cibles les plus écartées en bruits.
import argparse
import statistics
from outils import D, B, station, ecarts, hhmm, rejected
p = argparse.ArgumentParser()
p.add_argument("station")
p.add_argument("de", nargs="?", default="00:00")
p.add_argument("a", nargs="?", default="23:59")
p.add_argument("--pas", type=float, help="bruit sur les paires espacées d'au moins PAS minutes (rafales)")
p.add_argument("--k", type=int, default=4)
p.add_argument("--seuil", type=float, default=5, help="n'afficher que les cibles au-delà (bruits)")
a = p.parse_args()
m, refs = station(a.station)
ex = {s: ecarts(ms, "corr_x", a.pas) for s, ms in m.items() if s not in refs}
ey = {s: ecarts(ms, "corr_y", a.pas) for s, ms in m.items() if s not in refs}
par = {}
for s, ms in m.items():
for x in ms:
if D <= x["t"] < B:
par.setdefault(x["t"], {})[s] = x
for t in sorted(par):
if not (a.de <= hhmm(t) <= a.a):
continue
c = par[t]
rej = sorted(s for s, x in c.items() if rejected(x))
rr = [s for s in rej if s in refs]
rc = [s for s in rej if s not in refs]
ev = [x["error_value"] / x["error_threshold"] for x in c.values() if x["error_value"] is not None and x["error_threshold"]]
top = []
for nom, e in (("x", ex), ("y", ey)):
v = sorted(((abs(e[s][t]), s, e[s][t]) for s in e if e[s].get(t) is not None), reverse=True)
top += [f"{s}:{nom}{z:+.0f}" for _, s, z in v[:a.k] if abs(z) > a.seuil]
n = sum(1 for z, _, _ in v if z > a.seuil)
top.append(f"[{nom}>{a.seuil:g}: {n}/{len(v)}]")
print(f"{hhmm(t)} n={len(c):2d} ev/s={statistics.median(ev) if ev else float('nan'):.2f} "
f"rejC={len(rc)} rejR={rr} | {' '.join(top)}")
+44
View File
@@ -0,0 +1,44 @@
# Les instants anormaux qu'aucune étiquette de la vérité (hors Thermal) ne couvre, toutes stations : rejets non habituels, ou cibles qui sautent face à leur niveau local (±6 mesures), en bruits.
import json
import statistics
import sys
from pathlib import Path
from outils import D, B, RACINE, station, bruit, hhmm, rejected, iso
BATCH = RACINE / "batches" / iso(D)[:10]
K, N = 10, 3 # un saut : au moins N cibles à plus de K bruits de leur niveau local
stations = sys.argv[1:] or sorted(p.stem for p in (BATCH / "verite").glob("*.jsonl"))
for nom in stations:
labels = [json.loads(l) for l in open(BATCH / "verite" / f"{nom}.jsonl") if l.strip()]
labels = [e for e in labels if e["categorie"] not in ("Thermal displacement",)]
m, refs = station(nom)
jour = {s: [x for x in ms if D <= x["t"] < B] for s, ms in m.items()}
habituel = {s for s, ms in jour.items() if ms and sum(map(rejected, ms)) > 0.5 * len(ms)}
par = {}
for s, ms in jour.items():
if s in refs:
continue
for col in ("corr_x", "corr_y"):
b = bruit(m[s], col, 10)
if not b:
continue
for i, x in enumerate(ms):
voisins = [y[col] for y in ms[max(0, i - 6):i] + ms[i + 1:i + 7] if y[col] is not None]
if x[col] is not None and len(voisins) >= 4 and abs(x[col] - statistics.median(voisins)) > K * b:
par.setdefault(x["t"], set()).add(s)
rej = {}
for s, ms in jour.items():
for x in ms:
if rejected(x) and s not in habituel:
rej.setdefault(x["t"], set()).add(s)
sorties = []
for t in sorted(set(par) | set(rej)):
sauts, r = par.get(t, set()), rej.get(t, set())
if len(sauts) < N and not r:
continue
if any(e["debut"] <= iso(t) <= e["fin"] for e in labels):
continue
sorties.append(f"{hhmm(t)} sauts={len(sauts)} rejets={sorted(r)[:4]}{'…' if len(r) > 4 else ''}")
print(f"== {nom} (rejet habituel : {sorted(habituel)}) : {len(sorties)} instants non couverts")
for l in sorties[:80]:
print(" ", l)
+52
View File
@@ -0,0 +1,52 @@
# Outils communs de l'audit : charge une station (chargeur des détecteurs), écarts en bruits, événements des détecteurs.
# Le jour : la variable JOUR (AAAA-MM-JJ, UTC), par défaut 2026-11-05 (l'essai d'où viennent ces scripts).
import os
import statistics
import sys
from datetime import datetime, timedelta, timezone
from pathlib import Path
RACINE = Path(__file__).resolve().parents[1] # le dépôt Optimizer : data/, detectors/, batches/
sys.path.insert(0, str(RACINE / "detectors" / "scripts"))
from data import load, load_temperature, is_reference, rejected, iso # noqa: E402,F401
D = datetime.strptime(os.environ.get("JOUR", "2026-11-05"), "%Y-%m-%d").replace(tzinfo=timezone.utc)
B = D + timedelta(days=1)
H = D - timedelta(days=3)
def station(nom):
"""-> (mesures, refs) : {capteur: [mesure]} et l'ensemble des références."""
m = load(str(RACINE / "data" / nom))
return m, {s for s, ms in m.items() if is_reference(ms)}
def bruit(ms, col, pas_min=None):
"""Bruit propre : médiane des écarts entre deux mesures sur l'historique et le jour (comme batch.py) ;
pas_min (minutes) : ne garder que les paires espacées d'au moins pas_min (contre les rafales)."""
h = [(m["t"], m[col]) for m in ms if H <= m["t"] < B and m[col] is not None]
e = [abs(b - a) for (ta, a), (tb, b) in zip(h, h[1:])
if pas_min is None or (tb - ta).total_seconds() >= pas_min * 60]
return statistics.median(e) if len(e) > 1 else 0
def ecarts(ms, col, pas_min=None):
"""{t: écart à la médiane du jour en bruits} pour le jour ; None si rejetée."""
v = [m[col] for m in ms if D <= m["t"] < B and m[col] is not None]
b = bruit(ms, col, pas_min)
if not v or b <= 0:
return {}
med = statistics.median(v)
return {m["t"]: None if m[col] is None else (m[col] - med) / b for m in ms if D <= m["t"] < B}
def hhmm(t):
return t.strftime("%H:%M")
def evenements(nom):
"""Les événements des détecteurs comme batch.py les obtient (3 jours d'historique)."""
import categories
m = load(str(RACINE / "data" / nom))
morceau = {s: k for s, ms in m.items() if (k := [x for x in ms if H <= x["t"] < B])}
return [v for v in categories.events(morceau, B, str(RACINE / "data" / nom)) if v["end"] > iso(D)]
+13
View File
@@ -0,0 +1,13 @@
# Rejets d'un capteur jour par jour sur tout l'historique : STATION CAPTEUR -> jour, mesures, rejetées.
import sys
from collections import Counter
from outils import station, rejected
m, refs = station(sys.argv[1])
n, r = Counter(), Counter()
for x in m[sys.argv[2]]:
d = x["t"].date().isoformat()
n[d] += 1
r[d] += rejected(x)
print(sys.argv[2], "(réf)" if sys.argv[2] in refs else "(cible)")
print(" ".join(f"{d[5:]}:{r[d]}/{n[d]}" for d in sorted(n)))