Auto labels reviewed per station and cross-reviewed; all labeling knowledge in labeling/ (D-130)
- Every station's auto labels reviewed by an analyst (/review-auto-labels), then a cross-review per family across all stations (new skill /cross-review-labels), a finishing pass, and descriptions rewritten in words (no numeric values). - The three never-labeled ranges (WILDSTRUBEL 07/09-01/10, NORDEND 16/08-01/10) labeled and reviewed: 991 auto labels on 11 stations, labeling/controle.py at 0 errors. - Labeling knowledge gathered in labeling/: regles-d-etiquetage.md (new), familles.md (settled boundaries), connaissances/ (notes moved from docs/, links updated), the label map rebuilt from reviewed labels, events and cases; events tied to their stations (PS_DES_COUDRES is JUNGFRAU). The labeler and reviewers read only labeling/. - labels-map reads auto labels and events; decision D-130; living plan points 73-75. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8e1cfc52c9
commit
35b5ed4d74
298 files changed
+30413
-960
No files matched your search
@@ -0,0 +1,15 @@
|
||||
"""Instants du lot où des capteurs sont rejetés (hors ceux de --sauf), avec leurs noms ; NORDEND 16/08-09/09.
|
||||
Usage : python3 labeling/auto/etiqueteur/NORDEND_2026-08-16/outils/rejets.py [SAUF=PR04] [MIN=1]"""
|
||||
import csv, glob, sys
|
||||
from collections import defaultdict
|
||||
sauf = set(sys.argv[1].split(",")) if len(sys.argv) > 1 else {"PR04"}
|
||||
mn = int(sys.argv[2]) if len(sys.argv) > 2 else 1
|
||||
R = defaultdict(list)
|
||||
for p in sorted(glob.glob("data/NORDEND/displacement/NORDEND_advanced_*.csv")):
|
||||
if "20260816" <= p[-12:-4] <= "20260909":
|
||||
for r in csv.DictReader(open(p)):
|
||||
if float(r["error_value"]) > float(r["error_threshold"]) and r["sensor_name"] not in sauf:
|
||||
R[r["time_utc"][:16]].append(r["sensor_name"])
|
||||
for t in sorted(R):
|
||||
if len(R[t]) >= mn:
|
||||
print(t, len(R[t]), ",".join(sorted(R[t])))
|
||||
Reference in new issue
Block a user