thresholds.md keeps only the remaining constants, with shortened history; CLAUDE.md and README.md describe the five modules, common.py, the families each gives, the reader of the tools repository and the event fields; the benchmark takes about 1 min. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3.8 KiB
3.8 KiB
Detector thresholds
Every threshold of the detectors (scripts/*.py) is provisional: tuned on the data sets of events E-001 to E-005 and NORDEND of October, then adjusted by wf-improve sessions. A constant added or changed updates this file in the same change; check with grep -nE "^[A-Z_0-9]+ = " scripts/*.py.
The detectors detect everything (the user, 2026-10-26, D-068): what is shown to the client is decided in a separate layer.
"wf-improve X, mod. 1, S2": suggestion S2 of modification 1 of the wf-improve run on X; "X, batch 01": first batch of the earlier loop on station X.
| Detector | Constant | Value | Tuned on |
|---|---|---|---|
visibility |
K_MAD |
10 MAD | E-001 (fog, 11 to 57 MAD), E-005 (rain, trains, 10 to 70 MAD) |
FACTOR |
2× the median | drops the sensors with a near-zero MAD (E-004, E-005); alone, something passing in front of one or two targets (wf-improve Obstruction, mod. 1, S3) | |
RUN_MIN |
3 | E-001, rain of E-005; also the diffuse nuisance | |
GAP_STEPS |
2.5 steps | timestamp jitter, a missing step | |
BRIEF_MIN |
3 sensors | trains of E-005 (5 to 17 sensors) | |
SALIENCE |
3 | trains (5 to 17) against the cobweb of E-002 (2 to 9) | |
HALF |
0.5 | level "none": NORDEND 09.10 23:00 (68 % rejected) against the rain of E-005 (24 to 33 %) | |
K_DIFFUSE |
2.5 MAD | diffuse nuisance: wf-improve Visibility, mod. 1, S2 (JUNGFRAU, FLORIDA, NORDEND) | |
visibility (heat shimmer) |
RATIO |
1.5× the calm | E-003 (corr ×1.7 to ×3, error_value ×1.7 to ×3.2 the night) |
SHARE |
0.5 | — | |
STRONG |
2× | E-003 (×2.3 to ×2.6) | |
target_issue |
SHARE |
0.25 | regularity rather than the share of the day: wf-improve Target issue, mod. 1, S1 (WILDSTRUBEL R3, rejected by day only) |
MIN_HOURS |
3 h | as hours at the station's cadence: wf-improve NEBRASKA, batch 01 (one measurement every 4 h) | |
BRIDGE |
1 day | wf-improve Obstruction, mod. 1, S1; Target issue, mod. 1, S1 (at 2, parked vehicles of BREITHORN made a week) | |
WEEK |
7 days | Degraded target against Target obscured: wf-improve NEBRASKA, batch 01 (lost references, 25 days; parked vehicles, 2 to 5 days) | |
MIN_DAYS |
2 days | NORDEND: isolated days on 16 sensors | |
displacement (jumps) |
K |
20 noises | E-001 (at 15, two healthy targets greyed); the trains of E-005 are left to visibility |
BASE |
4 measurements | 1 h at 15 min; the return is judged on an hour (wf-improve MICHIGAN, mod. 1) | |
BACK_H |
24 h | E-002 (plateaus up to 11.5 h) | |
displacement (slow drift) |
HOURS |
20 h out of 24 | as the Displacements tab (D-055), as a share of the hours measured (wf-improve MICHIGAN, mod. 1) |
DAYS |
5 days | D-055 | |
SIZE |
1 amplitude | D-055 | |
STEADY |
0.6 | D-055 (Kendall tau) | |
PIECE |
3.5 amplitudes | wf-improve Displacement, mod. 1, S1 (rows of CLARIDEN 3.8 to 8.3; thermal cycles of JUNGFRAU 3.1 at most) | |
thermal_displacement |
MIN_HOURS |
20 h | — |
REPRO |
0.6 | pure noise ≈ 0 | |
SHARE |
0.5 | NORDEND October just under (9/19) | |
R2_MIN |
0.3 | PS des Coudres 14 axes out of 22 above, CLARIDEN 0 out of 48 | |
NIGHT |
8 h | — | |
WARM |
0.3 | — | |
EDGE |
0.1 | wf-improve Thermal displacement, mod. 1, S1 (labelled evenings and nights) | |
RETURN |
0.05 | wf-improve NORDEND 2026-11-05, S1 (the cooling tail is slow) | |
SLIDE_K |
3 noises | wf-improve MICHIGAN, mod. 1 (at 2, Displacement instants of BREITHORN taken) | |
no_data |
MISSING |
2 steps | user's rule, 2026-10-23; also up to the end of the window (CLARIDEN, batch 01); the cadence of bursts (wf-improve, batch 2026-11-05, S1) |
categories |
MERGE |
1 h | rule validated by the user (2026-10-24); an Obstruction or a Target issue only with the same target (wf-improve Obstruction, mod. 1, S1; Target issue, mod. 1, S3) |