English: label map, families, labeling rules, knowledge/, validate.py (ex controle.py), ids.py, precedents.py; the labels of auto/ translated, keys start/end/family/review/analysis (manual/: keys only); analysis folders renamed; the 2026-11-16 trial analysis (NORDEND-243)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4d926ecddc
commit
68a0eefd8b
79 files changed
+2789
-2652
No files matched your search
@@ -1,15 +1,15 @@
|
||||
# labeling
|
||||
|
||||
Les étiquettes des déplacements AIMsight et toute la connaissance métier pour les poser, en un seul exemplaire sur le poste.
|
||||
The AIMsight displacement labels and all the domain knowledge to place them, in a single copy on the workstation.
|
||||
|
||||
- `manual/<STATION>.jsonl` : les étiquettes de l'expert, pour lui seul : aucun processus ni aucun agent ne s'en sert ; `auto/<STATION>.jsonl` : celles de l'`etiqueteur` de Support-Agent, relues (`revue`), et celles que verse l'`analyste` de Diagnostic-App, sans `revue` tant qu'elles ne sont pas relues ; une étiquette par ligne, `{"id", "debut", "fin", "categorie", "description", ...}`, heures UTC, `categorie` = la famille.
|
||||
- `auto/analyses/<STATION>_<début>_<fin>/` : les analyses lancées depuis la page Data de Diagnostic-App (`travail/` hors de git).
|
||||
- `familles.md`, `regles-d-etiquetage.md`, `carte-des-etiquettes.md`, `connaissances/` : comment étiqueter, ce que les étiquettes ont appris.
|
||||
- `controle.py` (les étiquettes face aux règles), `ids.py` (l'id stable de chacune).
|
||||
- `precedents.py` : le RAG des étiquettes. Les étiquettes de `auto/` les plus proches d'un texte par le sens, avec leur provenance (relue ou non) ; `--exclure STATION DEBUT FIN` écarte la plage analysée. Modèle bge-m3 du conteneur Ollama `ollama-bge-m3` (`docker start ollama-bge-m3`, port 11435) ; l'index `.index/`, hors de git, se met à jour seul à chaque appel (seules les étiquettes nouvelles ou modifiées passent par le modèle ; ~8 min pour tout refaire sur CPU).
|
||||
- `manual/<STATION>.jsonl`: the expert's labels, for him alone: no process and no agent uses them; `auto/<STATION>.jsonl`: those of the Support-Agent `etiqueteur`, reviewed (`review`), and those submitted by the Diagnostic-App `analyst`, without `review` until they are reviewed; one label per line, `{"id", "start", "end", "family", "description", ...}`, UTC times, `family` = the family.
|
||||
- `auto/analyses/<STATION>_<start>_<end>/`: the analyses launched from the Data page of Diagnostic-App (`work/` outside git).
|
||||
- `families.md`, `labeling-rules.md`, `label-map.md`, `knowledge/`: how to label, what the labels have taught.
|
||||
- `validate.py` (the labels against the rules), `ids.py` (the stable id of each).
|
||||
- `precedents.py`: the RAG of the labels. The labels of `auto/` closest in meaning to a text, with their provenance (reviewed or not); `--exclude STATION START END` leaves out the analyzed range. bge-m3 model of the Ollama container `ollama-bge-m3` (started by the script itself if it does not answer; port 11435); the `.index/` index, outside git, updates itself at every call (only new or modified labels go through the model; ~8 min to redo everything on CPU).
|
||||
|
||||
Diagnostic-App et Optimizer y accèdent par un lien `labeling -> ~/labeling`, ignoré par git : Diagnostic-App y lit et écrit (étiquettes, analyses), Optimizer y lit seulement ; on commite ici. `controle.py` et `ids.py` se lancent d'ici ou par le lien (`python3 labeling/controle.py`).
|
||||
Diagnostic-App and Optimizer reach it through a link `labeling -> ~/labeling`, ignored by git: Diagnostic-App reads and writes there (labels, analyses), Optimizer only reads; commits are made here. `validate.py` and `ids.py` run from here or through the link (`python3 labeling/validate.py`). Descriptions are written in English from now on.
|
||||
|
||||
Historique repris de Support-Agent (le dossier `labeling/`, jusqu'au commit 48a3092), puis l'état de Diagnostic-App au 2026-11-13 (462ba9e) : les archives de l'etiqueteur et des revues (`auto/etiqueteur/`, `auto/revue/`, `auto/revue-croisee/`) et l'ancien outil `labeling.py` restent dans l'historique. Les notes citent leurs sources telles qu'elles étaient dans Support-Agent (`docs/…`, `events/`, `run.md`, `agent-diagnostic/`, les skills `/labels-map`, `/review-auto-labels`, `/review-event`…) : des chemins de ce dépôt-là, obsolète, gardé en lecture.
|
||||
History taken from Support-Agent (the `labeling/` folder, up to commit 48a3092), then the state of Diagnostic-App on 2026-11-13 (462ba9e): the archives of the etiqueteur and of the reviews (`auto/etiqueteur/`, `auto/revue/`, `auto/revue-croisee/`) and the old `labeling.py` tool remain in the history. The notes cite their sources as they were in Support-Agent (`docs/…`, `events/`, `run.md`, `agent-diagnostic/`, the skills `/labels-map`, `/review-auto-labels`, `/review-event`…): paths of that repository, obsolete, kept read-only.
|
||||
|
||||
`docs/archive/` : la conception et le plan du labeler, archivés le 2026-11-16 (non construit).
|
||||
`docs/archive/`: the design and plan of the labeler, archived on 2026-11-16 (not built).
|
||||
Reference in new issue
Block a user