English: tools renamed and translated (same numbers as before), options and printed names in English; the guide translated

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 67c88625c5
commit f28bd19e04
25 files changed
+2764 -2762

No files matched your search

+11 -11
View File
@@ -1,15 +1,15 @@
# CLAUDE.md
tools : le harnais de lecture des agents AIMsight (`README.md`), et rien d'autre. Le mode d'emploi est `GUIDE.md` ; un outil nouveau ou une option nouvelle y entre dans le même changement.
tools: the reading harness of the AIMsight agents (`README.md`), and nothing else. The user guide is `GUIDE.md`; a new tool or a new option goes into it in the same change.
- **Vérifier un changement** : relancer l'outil touché depuis un dépôt appelant (Diagnostic-App : `python3 tools/scripts/<outil>.py data/<STATION> --debut … --fin …`), et les commandes du guide qui l'emploient ; `python3 scripts/qualite.py --essai`.
- **Checking a change**: rerun the touched tool from a calling repository (Diagnostic-App: `python3 tools/scripts/<tool>.py data/<STATION> --start … --end …`), and the commands of the guide that use it; `python3 scripts/quality.py --self-test`.
Règles :
- Un outil rend des valeurs : ni seuil, ni catégorie, ni « anomalie », ni « normal » ; l'analyste juge.
- Rien de propre à une station, un capteur ou une date.
- Aucun import des détecteurs (`detectors/`).
- Bibliothèque standard ; matplotlib, par `.venv/bin/python` de l'appelant, pour les figures seulement.
- Jamais une valeur de `metrics/` qui soit un identifiant (`SIM_CCID`, `ip*`) ; lecture seule sur `data/` ; ne jamais lire `.env`.
- Ne rien casser : les options et les sorties existantes restent, les rapports des analyses citent des commandes qui doivent toujours marcher.
- `scripts/donnees.py` est la lecture commune de l'app et des outils : on n'y touche que pour corriger une erreur de lecture. L'app passe ces mesures aux détecteurs (les événements de la page Data), qui lisent par ailleurs avec `detectors/scripts/data.py` (benchmark, Optimizer) : une correction de lecture ici se reporte là-bas, sinon la page et le benchmark divergent sans bruit.
- Toute heure est en UTC. Commits par chemin, jamais `git add -A`. Langue : français.
Rules:
- A tool returns values: no threshold, no category, no "anomaly", no "normal"; the analyst judges.
- Nothing specific to a station, a sensor or a date.
- No import from the detectors (`detectors/`).
- Standard library; matplotlib, through the caller's `.venv/bin/python`, for the figures only.
- Never a value from `metrics/` that is an identifier (`SIM_CCID`, `ip*`); read-only on `data/`; never read `.env`.
- Break nothing: existing options and outputs stay, the analyses' reports cite commands that must keep working.
- `scripts/data.py` is the common reader of the app and the tools: touch it only to fix a reading error. The app passes these measurements to the detectors (the events of the Data page), which otherwise read with `detectors/scripts/data.py` (benchmark, Optimizer): a reading fix here is carried over there, otherwise the page and the benchmark diverge silently.
- Every time is in UTC. Commits by path, never `git add -A`. Language: English.