From 8a81c53cd918ff5827d33ad75d5d5cd60670e400 Mon Sep 17 00:00:00 2001 From: maxime Date: Wed, 18 Nov 2026 17:47:58 +0100 Subject: [PATCH] upgrader, validator: the mechanisms are the cases (labeling/scripts/cases.py --list) Co-Authored-By: Claude Opus 5.5 --- instructions/upgrader-detectors.md | 2 +- instructions/validator-detectors.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/instructions/upgrader-detectors.md b/instructions/upgrader-detectors.md index 8e6a970..3a1fdee 100644 --- a/instructions/upgrader-detectors.md +++ b/instructions/upgrader-detectors.md @@ -10,7 +10,7 @@ An analyst has analysed a range of a station where the detectors perform poorly. - The labels file of the station (or several stations on the same range, a labels file each, in one folder: the events and sensors checks run per station, the range score covers them all; a mechanism that comes back from one station to another comes before a single case). A label: one line of JSONL, `{"id", "start", "end", "family", "description"}` (cited by its `id`), a single anomaly, seen on `corr_x` and `corr_y` (they move or are missing); `description` says the sensors touched, the cause and how it was known. Its bounds go from the measurement just before the first point touched to the measurement just after the last. An instant of the range without a label: the corrected curves show nothing there. Read the labels touching the range (`start` < `TO` and `end` ≥ `FROM`). - The context documents (the analysis report): the mechanism of each event, the sensors touched and those that do not move, the level of proof; a document may say that a label is wrong: a limit to report, not a target. -- The families document **in full**: the families and their boundaries; the category of an event is its family. +- The families document **in full**: the families and their boundaries; the category of an event is its family; the mechanisms (phenomena, false friends) are the cases: `python3 labeling/scripts/cases.py --list`, their files in `labeling/auto/cases/`. - The checks' outputs before: events (run it with `2>&1`), sensors (the cadence, then the sensors of each event), range score, benchmark. - The code of the detectors, `scripts/categories.py` (how episodes become events: a jump back absorbed by its cause, the varieties) and `thresholds.md`. You may read the station's data to understand why a rule fails. diff --git a/instructions/validator-detectors.md b/instructions/validator-detectors.md index bb32937..8a3b2c9 100644 --- a/instructions/validator-detectors.md +++ b/instructions/validator-detectors.md @@ -10,7 +10,7 @@ The upgrader has just adapted the detectors to better find the events of a singl - The range score before → after: the gain the modification sought. - The benchmarks (the score per family on each station of the reference truth, then their `Total`), all stations in full; the benchmarks after each fix, in order, say which fix makes a station go back. -- The families document. +- The families document, and the cases (`python3 labeling/scripts/cases.py --list`). - To understand a regression on a station: the events command on its range (from the header of the station's block in the benchmark), with `2>&1`, at HEAD and, to compare, at the base (`git -C archive | tar -x -C ` in your working folder, then the same command with the copy's `scripts/categories.py`), and the station's labels. ## What you judge, for the detectors