Learner plugin in English: upgrader (with the critic merged in) and validator

- skill detector-learner -> learner; agents detectors-upgrader -> upgrader,
  detectors-control -> validator; detectors-critic merged into the upgrader
- releveur and ameliorations-processus.md removed; history.csv removed
- archive/visibilite_simple.py removed (kept in the history of Support-Agent)
- seuils-du-journal.md -> thresholds.md, in English, constants renamed
- "journal du matin" dropped; README, plugin.json in English; CLAUDE.md added

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-13 12:22:44 +01:00
1 parent 969637499f
commit b9595d6011
16 files changed
+342 -2043

No files matched your search

+17 -15
View File
@@ -1,30 +1,32 @@
# detectors
Les détecteurs du journal du matin AIMsight, et leur amélioration. Un détecteur par famille d'anomalie des déplacements (`visibility.py`, `obstruction.py`, `target_issue.py`, `thermal_displacement.py`, `no_data.py`, `displacement.py`), classés en événements par `categories.py` ; `donnees.py`, la lecture des données qu'ils utilisent. Bibliothèque standard seulement (Python 3).
The AIMsight anomaly detectors, and their improvement. One detector per anomaly family of the displacements, classified into events by `scripts/categories.py`; `scripts/data.py` reads a station folder. Standard library only (Python 3).
```bash
python3 categories.py <dossier de station> --du AAAA-MM-JJ --au AAAA-MM-JJ
python3 scripts/categories.py <station folder> --from YYYY-MM-DD --to YYYY-MM-DD
```
Le dossier de station : `displacement/`, `metrics/`, `camera/` (le format de `data/<STATION>/`).
The station folder: `displacement/`, `metrics/`, `camera/` (the format of `data/<STATION>/` in Diagnostic-app).
## L'amélioration : un plugin Claude Code
- `scripts/`: the detectors (`visibility.py`, `obstruction.py`, `target_issue.py`, `thermal_displacement.py`, `no_data.py`, `displacement.py`), `categories.py`, `data.py`.
- `scripts/learner/`: the learner's tools, run from the working repository: `regression.py` (the benchmark, all labels of `labeling/auto/`), `score.py` (the score of a range), `sensors.py` (the sensors of each event).
- `thresholds.md`: the registry of the detectors' thresholds.
Le dépôt est aussi un plugin Claude Code (`.claude-plugin/plugin.json`), à monter en `detectors/` d'un dépôt de travail qui a `labeling/` (les étiquettes, `labeling/auto/<STATION>.jsonl` ; les analyses, `labeling/auto/analyses/`), `data/` et `agent-tools/` : Diagnostic-app, où il est un sous-module.
## The learner: a Claude Code plugin
- `skills/detector-learner/` : `/detectors:detector-learner <analyse>`, la séance qui améliore les détecteurs depuis une analyse de la page Data, sans sur-apprentissage (`SKILL.md`) ; ses scripts, lancés depuis le dépôt de travail : `regression.py` (le benchmark, toutes les étiquettes de `labeling/auto/`), `score.py` (le score d'une plage), `capteurs.py`.
- `agents/` : `detectors-critic`, `detectors-upgrader`, `detectors-control`, `releveur` (appelés `detectors:<nom>`).
- `detector-learner/` : les séances, une par dossier `<séance>_<analyse>/`, et `historique.csv`, le benchmark séance après séance.
- `seuils-du-journal.md` : le registre des seuils des détecteurs.
- `ameliorations-processus.md` : les difficultés des séances, tenu par le `releveur`.
The repository is also a Claude Code plugin (`.claude-plugin/plugin.json`), to be mounted as `detectors/` in a working repository that has `labeling/` (the labels, `labeling/auto/<STATION>.jsonl`; the analyses, `labeling/auto/analyses/`), `data/` and `agent-tools/`: Diagnostic-app, where it is a submodule.
Depuis le dépôt de travail :
- `skills/learner/SKILL.md`: `/detectors:learner <analysis>`, the session that improves the detectors from an analysis of the Data page, without overfitting.
- `agents/`: `upgrader` (diagnoses and fixes the detectors) and `validator` (LLM-as-judge: keeps, removes or cancels the fixes), called `detectors:<name>`.
- `learner/`: the sessions, one folder `<session>_<analysis>/` each, written by the skill.
From the working repository:
```bash
claude --plugin-dir detectors # puis /detectors:detector-learner <analyse>
python3 detectors/skills/detector-learner/regression.py # le benchmark
claude --plugin-dir detectors # then /detectors:learner <analysis>
python3 detectors/scripts/learner/regression.py # the benchmark
```
La séance commite les détecteurs ici, sur `main`, sans pousser : pousser `detectors` pour que tous aient les détecteurs à jour.
The session commits the detectors here, on `main`, without pushing: push `detectors` so that everyone has the updated detectors.
Copié de Support-Agent le 2026-11-13 (commit 48a3092) ; c'est désormais ici que les détecteurs évoluent.
Copied from Support-Agent on 2026-11-13 (commit 48a3092); the detectors now evolve here.