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 @@
|
||||
"""NIEDERHORN : pour chaque étiquette de la plante dont l'image n'a pas été regardée,
|
||||
les heures où PWD_IMP_B07_016_C09 est rejetée (error_value > seuil) dans la plage."""
|
||||
import csv, glob, json
|
||||
from datetime import datetime
|
||||
def t(s): return datetime.fromisoformat(s.replace('Z', '+00:00'))
|
||||
ev = {}
|
||||
for p in glob.glob('data/NIEDERHORN/displacement/NIEDERHORN_advanced_*.csv'):
|
||||
for r in csv.DictReader(open(p)):
|
||||
if r['sensor_name'].strip() == 'PWD_IMP_B07_016_C09':
|
||||
ev[datetime.fromisoformat(r['time_utc']).replace(minute=0, second=0, microsecond=0)] = float(r['error_value']) > float(r['error_threshold'])
|
||||
for n, l in enumerate(open('labeling/auto/NIEDERHORN.jsonl'), 1):
|
||||
e = json.loads(l)
|
||||
if e['categorie'] == 'Obstruction' and "n'a pas été regardée" in e['description']:
|
||||
d0, d1 = t(e['debut']), t(e['fin'])
|
||||
print(f"NIEDERHORN#{n}", e['debut'], e['fin'], [f'{i:%dT%H}' for i in sorted(ev) if d0 < i < d1 and ev[i]])
|
||||
Reference in new issue
Block a user