English: README, CLAUDE.md, archive note; sessions/ (ex seances); the session of the 2026-11-16 trial (NORDEND, S1 kept)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-16 12:40:03 +01:00
1 parent 2cb0c88a2b
commit 63bebbc415
19 files changed
+689 -39

No files matched your search

+21 -20
View File
@@ -1,41 +1,42 @@
# Optimizer
L'optimisation des détecteurs AIMsight, sur les étiquettes de `labeling/auto`, et rien d'autre. Sur la plage d'une analyse approfondie (faite dans l'app Diagnostic-App), ses étiquettes pour vérité, le skill `improve` :
The optimisation of the AIMsight detectors, on the labels of `labeling/auto`, and nothing else. On the range of an in-depth analysis (made in the Diagnostic-App app), its labels as the truth, the `improve` skill:
1. mesure le score des détecteurs sur la plage, et le benchmark sur toutes les étiquettes de `labeling/auto` ;
2. fait corriger les détecteurs par l'`upgrader`, une correction par commit dans `~/detectors` ;
3. les fait juger par le `validator`, qui garde, fait retirer ou annule : aucune station ne recule, pas de sur-apprentissage ;
4. écrit le bilan de la séance.
1. measures the detectors' score on the range, and the benchmark on every label of `labeling/auto`;
2. has the detectors fixed by the `upgrader`, one fix per commit in `~/detectors`;
3. has them judged by the `validator`, which keeps, has some removed, or cancels: no station goes back, no overfitting;
4. writes the summary of the session.
L'`upgrader` et le `validator` viennent du dépôt `agents` ; le benchmark (`bench/`), du dépôt `detectors`. Rien n'est poussé.
The `upgrader` and the `validator` come from the `agents` repository; the benchmark (`bench/`) from the `detectors` repository. Nothing is pushed.
## Installer
## Install
```bash
ln -s ~/detectors detectors # les détecteurs, partagés avec Diagnostic-App
ln -s ~/aimsight-data/data data # les données pompées, hors de git
ln -s ~/labeling labeling # les étiquettes : la vérité et les familles
ln -s ~/agents agents # les agents génériques (plugin Claude Code)
ln -s ~/detectors detectors # the detectors, shared with Diagnostic-App
ln -s ~/aimsight-data/data data # the pumped data, out of git
ln -s ~/labeling labeling # the labels: the truth and the families
ln -s ~/agents agents # the generic agents (Claude Code plugin)
```
`claude` (Claude Code) doit être sur le `PATH`, connecté à l'abonnement Claude (`/login`), jamais à une clé d'API.
`claude` (Claude Code) must be on the `PATH`, logged in to the Claude subscription (`/login`), never to an API key.
## Lancer
## Run
Par le bouton « Optimiser les détecteurs » de Diagnostic-App, sur une analyse finie ; ou à la main, depuis la racine d'Optimizer :
From the "Optimize the detectors" button of Diagnostic-App, on a finished analysis; or by hand, from the root of Optimizer:
```bash
env -u ANTHROPIC_API_KEY claude -p "/improve DETECTORS: detectors/. STATION: data/NORDEND. FROM: 2026-11-04. TO: 2026-11-08. \
LABELS: labeling/auto/NORDEND.jsonl. REFERENCE: --labels labeling/auto --data data. FAMILIES: labeling/familles.md. \
CONTEXT: labeling/auto/analyses/<analyse>/rapport.md. OUT: seances/<analyse>_<AAAAMMJJTHHMMZ>/." \
LABELS: labeling/auto/NORDEND.jsonl. REFERENCE: --labels labeling/auto --data data. FAMILIES: labeling/families.md. \
CONTEXT: labeling/auto/analyses/<analysis>/report.md. OUT: sessions/<analysis>_<YYYYMMDDTHHMMZ>/." \
--plugin-dir agents --add-dir ~/detectors --add-dir ~/labeling --add-dir ~/aimsight-data/data \
--setting-sources project,local --strict-mcp-config \
--allowedTools Read,Write,Edit,Bash,Agent --permission-mode acceptEdits
```
`TO` est exclu. Plusieurs stations sur la même plage : `DATA: data. STATIONS: A,B. LABELS: <dossier de <STATION>.jsonl>` à la place de `STATION` et d'un fichier d'étiquettes.
`TO` is excluded. Several stations on the same range: `DATA: data. STATIONS: A,B. LABELS: <folder of <STATION>.jsonl>` instead of `STATION` and a labels file.
## Ce qu'une séance laisse
## What a session leaves
`seances/<analyse>_<heure>/` (non commité par la séance) : les mesures avant et après (`range-*.txt`, `benchmark-*.txt`), `modification.md` (l'upgrader), `validation.md` (le validator), `summary.md` (le bilan, que l'app affiche sous le rapport de l'analyse), `tools/` (les scripts que les agents ont écrits). Les corrections : des commits `improve: S<n>` dans `~/detectors`, sur sa branche courante.
`sessions/<analysis>_<time>/`: the measures before and after (`range-*.txt`, `benchmark-*.txt`), `modification.md` (the upgrader), `validation.md` (the validator), `summary.md` (the summary, shown by the app under the analysis report), `tools/` (the scripts the agents wrote). The fixes: `improve: S<n>` commits in `~/detectors`, on its current branch.
`archive/` : l'ancien batch quotidien et son scanner (l'auto-étiquetage par les détecteurs), arrêtés le 2026-11-16. L'architecture des dépôts : `~/Diagnostic-App/docs/architecture.drawio`.
`archive/`: the former daily batch and its scanner (auto-labeling by the detectors), stopped on 2026-11-16. The architecture of the repositories: `~/Diagnostic-App/docs/architecture.drawio`.