From 91cd39525ec0aa406f5b2d916e9a5b7db92eb227 Mon Sep 17 00:00:00 2001 From: maxime Date: Mon, 16 Nov 2026 13:20:31 +0100 Subject: [PATCH] The labeling scripts are in labeling/scripts/ Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- app/server/station.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 239fdc2..ddfaacf 100644 --- a/README.md +++ b/README.md @@ -50,5 +50,5 @@ The pumping is in the `~/aimsight-data` repository (`extraction/`, VS Code tasks ## Check - the app: `.venv/bin/python app/server/check.py`; -- the labels: `python3 labeling/validate.py` (the labels submitted by the app do not have `review` yet, which it requires: as many expected errors); +- the labels: `python3 labeling/scripts/validate.py` (the labels submitted by the app do not have `review` yet, which it requires: as many expected errors); - the detectors (benchmark, ~3 min): `python3 detectors/bench/regression.py --labels labeling/auto --data data`. diff --git a/app/server/station.py b/app/server/station.py index db06adb..35810e0 100644 --- a/app/server/station.py +++ b/app/server/station.py @@ -263,7 +263,7 @@ def read(station, source): def assign_ids(station, labels): - """As labeling/ids.py does (D-131): an id for the labels without one, the next of the station, as first field.""" + """As labeling/scripts/ids.py does (D-131): an id for the labels without one, the next of the station, as first field.""" n = max((int(e["id"].rsplit("-", 1)[1]) for e in labels if "id" in e), default=0) for e in labels: if "id" not in e: