Commit Graph
62 Commits
Author SHA1 Message Date
maximeandClaude Opus 5.5 d1a372d3ea Detector-learner: detectors do their best, a coherent alternative reading is no regression; process fixes (D-135)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 10:54:04 +01:00
maximeandClaude Opus 5.5 eb61d12b82 Detectors read the camera pose and the station metrics when they declare them (D-134)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 10:43:35 +01:00
maximeandClaude Opus 5.5 be147e92df Detector-learner per family, on all stations, launched by Claude (D-132)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 09:13:48 +01:00
maximeandClaude Opus 5.5 c6e9df0e46 Stable ids for auto labels, a summary for the label map, reading tools improved (D-131)
- Every auto label carries an id (<STATION>-<n>, labeling/ids.py), kept on edit, given to
  new labels by labeling.py and by the reviews; controle.py requires it, unique. The
  cross-review matches labels by id, and an applied review is locked (applique.md).
- The label map starts with a summary (labels-map/sommaire.py): readers take the summary and
  sections 2-4 in full, then only the cards of the phenomena they meet.
- Tool-builder session on the reviewers' difficulties: jours.py --lissage/--fraction,
  ensemble.py --suivre and rejected measures left out of --rigide, --residus non, zero noise
  after a lost reference, new agent-tools/stations.py (several stations on one timeline),
  long outputs convention in lire-les-donnees.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 08:49:54 +01:00
maximeandClaude Opus 5.5 d55de98746 Labeling processes: lessons from the auto-label reviews (D-130)
- The labeler writes to its own folder (etiquettes.jsonl); labeling/auto/ only holds
  reviewed labels, merged by /review-auto-labels (new apply script: dated, sorted, checked).
- labeling/controle.py also checks a proposed file; the labeler and reviewers run it before
  handing back. Reviewers keep their measurements in revue.md, never in the labels.
- Reviewer instructions explicitly add their scripts, .venv/bin/python and for loops to the
  lire-les-donnees commands (the contradiction raised by 12 reviews).
- Expert validation optional in /review-auto-labels; an expert hint given to the labeler is
  written in the labels it touches. Cross-review ends with the releveur.
- docs/ameliorations-processus.md: 17 entries from this review, by the releveur.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 08:31:53 +01:00
maximeandClaude Opus 5.5 35b5ed4d74 Auto labels reviewed per station and cross-reviewed; all labeling knowledge in labeling/ (D-130)
- Every station's auto labels reviewed by an analyst (/review-auto-labels), then a
  cross-review per family across all stations (new skill /cross-review-labels),
  a finishing pass, and descriptions rewritten in words (no numeric values).
- The three never-labeled ranges (WILDSTRUBEL 07/09-01/10, NORDEND 16/08-01/10)
  labeled and reviewed: 991 auto labels on 11 stations, labeling/controle.py at 0 errors.
- Labeling knowledge gathered in labeling/: regles-d-etiquetage.md (new), familles.md
  (settled boundaries), connaissances/ (notes moved from docs/, links updated),
  the label map rebuilt from reviewed labels, events and cases; events tied to their
  stations (PS_DES_COUDRES is JUNGFRAU). The labeler and reviewers read only labeling/.
- labels-map reads auto labels and events; decision D-130; living plan points 73-75.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 08:21:57 +01:00
maximeandClaude Opus 5.5 a2b1f2ed14 Image quality metrics in labeling: qualite.py, LENZSPITZE October labels reviewed with them (D-129)
Definitions of peak, flux, sharpness, fwhm, dominance and snr in docs/domaine;
agent-tools/qualite.py (ratio to a calm reference, per label, outside labels,
figures), inventaire/graphique/resume aware of the six columns, lire-les-donnees
and the labeler's instructions updated. LENZSPITZE 16.10-01.11 relabeled: 67
labels, 4 found by the metrics.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:34:04 +01:00
maximeandClaude Opus 5.5 208db519ab Labeler: lessons from the three October reviews (BREITHORN, MICHIGAN, NEBRASKA)
Bounds checked target by target on both columns; a slowing drift stays one event; a phenomenon found once is searched over the whole batch; "the camera, not the targets" checked with ensemble.py --rigide; housing temperature, "d'après l'expert" in words. familles.md: a small error_value rise at the housing temperature trough, nothing on the images, is Thermal displacement, not Visibility. Map lessons left to the next /labels-map.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 09:06:44 +01:00
maximeandClaude Opus 5.5 6fbd7510b7 Etiqueteur: October labels for 8 stations; its folder moves to labeling/auto/etiqueteur/, analyses and scripts versioned (D-126)
Labels for CLARIDEN, FLORIDA, JUNGFRAU (gaps 06-20.10, 26.10-01.11), LENZSPITZE,
NIEDERHORN, NORDEND, SNCF01, WILDSTRUBEL. Figures and tool outputs stay out of git.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 16:33:41 +01:00
maximeandClaude Opus 5.5 2bba388290 Detectors receive the station temperature; ISO dates accepted (D-124)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:56:30 +01:00
maximeandClaude Opus 5.5 daa1fd989d Detector-learner: label bounds excluded, false positives as a regression, control watches the session station (D-123)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:45:13 +01:00
maximeandClaude Opus 5.5 e39531fd33 Detector-learner: user decisions apart in the bilan, process agents without events-learner (D-122)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:21:29 +01:00
maximeandClaude Opus 5.5 6d78bac736 Detector-learner: one commit per suggestion, retirer verdict, measured regression (D-121)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:19:23 +01:00
maximeandClaude Opus 5.5 98c3308ca7 Detector-learner: one benchmark, scripts moved, critic with realistic suggestions (D-120)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 15:12:24 +01:00
maximeandClaude Opus 5.5 98be20a2bc One detector per family, family keys equal to their names (D-119)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:57:52 +01:00
maximeandClaude Opus 5.5 0666d59e7d Detector agents aligned on all labels of labeling/auto/, without events (D-118)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:43:22 +01:00
maximeandClaude Opus 5.5 8ddf539a9f Detector-learner BREITHORN: process fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:41:00 +01:00
maximeandClaude Opus 5.5 516b538cf7 Labels: the trou family and corr_x/corr_y as the anomaly (D-111); thermal movement is always labeled, the camera's included even when compensated (D-117)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:13:15 +01:00
maximeandClaude Opus 5.5 9df0cde364 Detector-learner NEBRASKA: process fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 14:07:37 +01:00
maximeandClaude Opus 5.5 2a8d3da49d Detector-learner: --ameliorer, the improver after the releveur as in /events-learner (D-071); the improver covers both processes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 13:47:44 +01:00
maximeandClaude Opus 5.5 0537f4ddeb Detector-learner (D-116): the detectors learn from the labeler's labels alone, without events; critic, upgrader and control, the control guarded by the score on the other labeled stations (regression.py); NEBRASKA and NORDEND labels
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 13:46:36 +01:00
maximeandClaude Opus 5.5 f0ba5b9fcf Labels and journal: "Faulty target" renamed "Target issue" everywhere (user: the name was not clear), key cible_degradee -> cible_a_probleme; labels, events, detectors, Status page, labeling tool, documentation and history (D-109)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-03 09:31:18 +01:00
maximeandClaude Opus 5.5 bc984a86d3 Events-learner on the labeler's labels: the session reads the lot's labels in labeling/auto/ instead of having the analyst read the lot; the detectors-critic judges the detectors against them, family by family (correspondence of labeling/familles.md); score.py --du --au scores by family and by instant, the session page shows labels and detectors on one row per family; analyst, tool-builder and event-builder leave the session (D-112, point 72)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 16:25:44 +01:00
maximeandClaude Opus 5.5 5adb711ce0 Label families: five families for labels, documented in labeling/familles.md and read by the labeler (Visibility, Obstruction, Thermal displacement, Displacement, Faulty target; turbulence merged into Visibility) (D-109, D-110); the labeler keeps only its labels, its work folder goes to out/ (D-106); third trial on WILDSTRUBEL 01-06.09, 30 labels; the labeling tool shows one-measurement labels
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 15:40:35 +01:00
maximeandClaude Opus 5.5 8266293ed3 Labeler agent: an analyst that only produces labels (etiqueteur, D-106), one category per label (D-107), anomalies only and one Thermal displacement category (D-108); second trial on JUNGFRAU 30.09-05.10, 15 labels; the labeling tool gets a Category box above the text, to add and to edit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 14:44:08 +01:00
maximeandClaude Opus 5.5 7ca701e502 Label review as the /review-labels skill, one label at a time with the expert, a qualitative text proposed for each, no review file (D-103); NIEDERHORN reviewed: 5 labels kept, 3 train passages removed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 11:26:34 +01:00
maximeandClaude Opus 5.5 3a07d45ffe Labels in two folders: manual/ (by hand, checked with the label-reviewer, the tool's) and auto/ (what the analyst will find alone, empty) (D-102)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 10:27:32 +01:00
maximeandClaude Opus 5.5 713bb80aa3 Label-reviewer: an agent checks the expert's labels against the data and asks before any change (D-101); labels as the knowledge base, validated events get theirs (D-100)
The labeling tool now accepts event folders (Add, Save), and a Save of a label's text drops its "revue" mark.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:35:28 +01:00
maximeandClaude Opus 5.5 d1fd7f6bdd Labels-learner: the analyst measures the expert's labels and asks until it understands, a documentaliste writes its conclusions into the docs (D-099, point 69)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 09:12:53 +01:00
maximeandClaude Opus 5.5 7fb176cf0a Events-learner: the analyst writes its own tools, a tool-builder brings them into agent-tools; /aiguiser retired (D-097)
- inventaire.py: what each source contains on the window (filled or empty columns, metric names, images), names and counts only
- analyser-lot: step 0 on the data, own scripts in <lot>/outils/, section 3 "Outils"
- tool-builder (the optimiser, rewritten): after the analyst, optimises or adds reading tools, never removes; no control yet
- /aiguiser skill, reader, corrector and voir.py removed; its sessions and spec stay as history
- docs: D-097, specs, CLAUDE.md, run.md, README, plan point 56; the shared files also carry another session's pending edits (D-096 entry, plan points 57 to 67)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 17:10:17 +01:00
maximeandClaude Opus 5.5 10e122067a Detectors page moves to detectors-view/ with its display helpers (D-093)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 10:37:37 +01:00
maximeandClaude Opus 5.5 3b732adc52 Loop renamed events-learner; end benchmark on the same events; spec reduced to the why (D-092)
- /boucle becomes /events-learner: skill and scripts in
  .claude/skills/events-learner/, sessions in events-learner/, spec
  vues-deplacements/contexte/events-learner.md, end page
  out/events-learner_<session>.html, commits "Learn <STATION> ...";
  history keeps /boucle, the review page reads both.
- No benchmark-fin.txt: the end benchmark is the last kept
  modification's, on the same events as the start.
- The spec keeps only the why; the how lives in the skill and agents.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 10:27:05 +01:00
maximeandClaude Opus 5.5 79d83be3ff Loop: the builder becomes the event-builder, called every batch (D-091)
- event-builder: called at every batch, reads the whole analysis and
  decides on its own, against the event base, what is new; an event
  keeps the bounds of the event, not of the batch (plus 6 h).
- the "Nouveautés" section leaves the analysis and the upgrader's
  output; the summary lists contradictions with the base.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 10:17:54 +01:00
maximeandClaude Opus 5.5 c763cda5c3 Loop: the analyst analyses, a new detectors-critic critiques (D-090)
- analyste: the most precise analysis of the batch, detectors allowed as
  a tool; reading, labels, known events, novelties in analyse.md; skill
  critiquer-lot renamed analyser-lot.
- detectors-critic: compares the detectors to the analysis event by
  event, without looking at the data; verdict and at most two
  suggestions in critique.md, read by the detectors-upgrader.
- /boucle step 2, builder, review page, /new-event and score.py import
  follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 09:58:48 +01:00
maximeandClaude Opus 5.5 21f8cd1db6 Loop: upgrader and validator become detectors-upgrader and detectors-control (D-089)
- detectors-upgrader: makes the detectors better on the batch from the
  analyst's critique; adds, removes or modifies, removing first; targets
  the significant events missed or badly bounded, not a perfect match.
- detectors-control: the guard against overfitting; never looks at the
  batch, judges the diff and the benchmark on the event base, decides,
  and sends its remarks back to the upgrader.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 08:45:57 +01:00
maximeandClaude Opus 5.5 c481323dc5 Event map: learns from each validated event, shown with the fiche (D-087)
- Catch-up: E-004, E-006, E-007, E-008, E-010, E-011 in the map; new
  section 5 "Faux amis"; rejected E-009 no longer cited.
- /review-event and /new-event: what the event teaches goes into the
  map at validation, shown to the expert with the fiche.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 07:44:26 +01:00
maximeandClaude Opus 5.5 446fde3192 Events: read-event skill to consult the base (D-085), cases renamed events E-xxx (D-086)
- read-event: map and index first, then the card of close events only,
  then their data with the reading tools; never all cards at once.
  Diagnostic agent, critiquer-lot and builder point to it; the index
  header too. Signature length: about 250 characters, a guideline.
- "Cas" becomes "event": events/E-xxx/event.md, skills new-event,
  review-event, anonymize-event.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 07:25:29 +01:00
maximeandClaude Opus 5.5 4d99585474 Detectors, loop and sharpening sessions moved to the repo root (D-084)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 17:19:51 +01:00
maxime be8897e38e clean-up 2026-10-28 17:02:17 +01:00
maximeandClaude Opus 5.5 0df340231a Diagnostic agent: agents/diagnostic/ renamed agent-diagnostic/ (D-082)
The diagnostic agent is kept in case it is needed again, under a name that
says what it is; entry point still .claude/agents/diagnostic.md; paths updated
in skills, agents, spec, contexts, the living plan and CLAUDE.md; reports and
history keep old paths. Also: two stale tool paths in the living plan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 16:45:02 +01:00
maximeandClaude Opus 5.5 56b93e9b82 Agent tools: reading tools moved to agent-tools/ (D-081)
The reading tools leave agents/diagnostic/outils/ for a root folder of their
own; paths updated in skills, agents, detectors, scripts, case fiches,
support/, contexts and CLAUDE.md; graphique, vignettes and gif find the repo
root one level up; history keeps old paths.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 16:36:45 +01:00
maximeandClaude Opus 5.5 cb98818712 Events: cases, event map and eventualities graph moved to events/ (D-080)
The case base leaves agents/diagnostic/cas/ for a root folder of its own,
with the event map and its graph; paths updated in skills, agents, scripts,
case fiches, contexts, the living plan and CLAUDE.md; history keeps old paths.
Also: plan point 51, an analyst that improves from session to session.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 16:32:06 +01:00
maximeandClaude Opus 5.5 127892b5af revue-cas: the detectors' page is no longer opened during a review (--sans-ouvrir), the review page already shows it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 16:02:27 +01:00
maxime b7f489b539 changes 2026-10-27 10:32:46 +01:00
maximeandClaude Opus 5.5 2d89c21df1 Add --ameliorer to /aiguiser, like /boucle (D-076)
The same ameliorateur agent runs after the releveur; its scope now depends
on the process named in its request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 09:46:11 +01:00
maximeandClaude Opus 5.5 9392f2ed8d Loop FLORIDA: process fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 18:26:11 +01:00
maximeandClaude Opus 5.5 6ea82ca918 Loop CLARIDEN: process fixes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:32:31 +01:00
maximeandClaude Opus 5.5 55519e53b3 Loop: --ameliorer runs an improver after the releveur (D-071)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:11:31 +01:00
maximeandClaude Opus 5.5 5ff342a7f2 Keep each case's labeling record in its own folder
- etiquetage.md sits next to etiquettes.json in every case: C-001..C-005
  moved from vues-deplacements/benchmark/etiquetage/, C-006..C-008 written
  from lot 01 (source and table of moments, coded names)
- anonymiser.py --etiquettes now writes etiquetage.md too (with its test);
  builder, /nouveau-cas, anonymiser-cas, agent spec and D-069 follow
- vues-deplacements/benchmark/ keeps only the history

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:54:37 +01:00
maximeandClaude Opus 5.5 d5bae7a696 Add the loop's end-of-session page and a detector benchmark on the case base
- End-of-session page for /boucle: the session's curves, the analyst's
  labels against the detectors' events per category, a plain score table
  and the benchmark (comparaison.py, D-066)
- Detectors moved to vues-deplacements/detectors/ (D-067)
- Detectors must detect everything; what the client sees is a separate
  layer (D-068)
- Benchmark: each case keeps its labels from creation (etiquettes.json),
  benchmark.py scores the detectors on every case, history in
  vues-deplacements/benchmark/historique.csv; run by /boucle at each lot,
  after each change and at the end, read by the upgrader and validator;
  labels for C-001..C-005 from one analyst pass corrected by their files,
  C-006..C-008 from lot 01 (D-069)
- Fixes from the releveur's notes: /boucle arguments and other sessions,
  branch name in the spec, detector name in categories.py output, learned
  case header, anonymiser.py (camera/, no empty CSVs, --etiquettes),
  ensemble.py (clock-aligned steps, title), plages.py (same-sign merge),
  labeling request written into /nouveau-cas
- Also carries the other session's uncommitted D-065 edits in the same
  files; data/, .gitignore, pomper.py and stations.py are left out

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:48:13 +01:00