Commit Graph
324 Commits
Author SHA1 Message Date
maximeandClaude Opus 5.5 7924997b73 Status page: status ranges passed to plotly at once
add_vrect revalidated every previous shape on each call: on NIEDERHORN over two weeks, 132 ranges
took most of the run. The ranges are now built as plain shapes and set in one update_layout; the
generated page is byte-identical, and the run (so the data loader's Analyse) drops from ~10 s to ~2 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 13:18:35 +01:00
maximeandClaude Opus 5.5 aa2578873d Status page: data loader (station, dates, Analyse)
A form at the top of the Status page: station dropdown (folders of data/), start and end dates
(end excluded, as --au), and an Analyse button that builds the page for that selection and opens it.
The code is in detectors-view/data-loader/chargeur.py: the form, and its local server (port 8766)
that serves out/ and data/ like the common one, plus /analyse, which runs status.py each time.

python3 detectors-view/status.py without arguments, or detectors-view/status.sh, opens the form
alone; with a station folder it builds the page as before, now opened through the loader server.
common.page.open_served takes another port and server script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 13:07:13 +01:00
maximeandClaude Opus 5.5 3678997321 Timelapse: larger circles coloured by each sensor's error_value
Circles are 1.5 times larger and take the sensor's error_value at the image time (nearest
measurement within half a step), green to red from 0 to 1 as the Error rate line, grey without
a measurement; references are dashed, as their curves, instead of the former yellow/blue split.
Shared player: both the detectors page and the Status page.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 12:45:08 +01:00
maximeandClaude Opus 5.5 d008e85c64 Status page: details load through a Load details button
Selecting a status no longer shows its details: the Load details button at the bottom of the page
does, for the selected status; a new selection clears them, a click elsewhere disables the button.

Fixes a bug of the previous commit: clearing the details detached the player from the page, and
the next load failed on joue(); the player now goes back to the hidden overlay (ferme()).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 12:39:55 +01:00
maximeandClaude Opus 5.5 0544956c87 Status page: details and timelapse of the selected status below the plots
A click on a status label shows, below the figure, its details (name, times, sensors, sentence,
then References and Targets per sensor) and, on the right, the timelapse of its camera images,
as in detecteurs.py. Clicks in the details keep the selection; a click elsewhere clears them.

detecteurs.py shares its pieces instead of status.py copying them: the timelapse JavaScript
(TIMELAPSE_JS, the image slider stays in IMAGES_JS), the player HTML and CSS, camera() for the
images and sensor positions, and groupes() with French or English texts. The player's few
messages are now in English (before / DURING / after, no image, GIF export error).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 12:14:18 +01:00
maximeandClaude Opus 5.5 80b55a9c96 Status page: a click outside the labels and legends cancels the selection
All bands come back according to the plotted targets, which stay as they are. A flag set by the
label click and cleared on each mousedown tells the two apart: with a time window, the first
selection took longer than the window and the same click cancelled it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 11:56:39 +01:00
maximeandClaude Opus 5.5 5b16354776 Status page: clicking a status no longer zooms
The click keeps only the status's sensors and highlights its bands; the time range, including a
zoom made by hand, stays as it is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 11:49:57 +01:00
maximeandClaude Opus 5.5 d62017e060 Status page: thermal merge suspended, expansion and contraction shown separately again
Merging the two thermal phases into Thermal movements only holds for phases on the same targets;
the user has not decided yet. hierarchie-des-status.md keeps the merge; status.py, CLAUDE.md and
D-095 say it is suspended. Occultation and the target filter are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 11:47:11 +01:00
maximeandClaude Opus 5.5 dcbffeaa71 Status page: status hierarchy and filter by visible targets (D-095)
detectors-view/hierarchie-des-status.md, validated by the user: No visibility hides Reduced
visibility, Faulty target hides Target hidden, No data hides everything, No visibility hides Target
hidden; the two thermal phases form one status, Thermal movements. A hidden status is cut, not
removed, and only when the stronger one covers all its sensors. status.py transcribes it.

Hiding or isolating targets in the sensor legend keeps only the statuses that touch a visible
target, or all sensors. Discarded labels become transparent, without text, hover or click:
restyling x or base of the label row made Plotly retype its axis as linear.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 11:42:18 +01:00
maximeandClaude Opus 5.5 71111b9f29 Status page: clickable event labels above the curves select an event
One label per detector event at its time, in its category colour, overlapping events on lower rows.
A click zooms on the event (half its duration on each side, 1 h to 6 h), keeps only its sensors and
highlights its band; a second click shows everything again. The range is set on every x axis: in
the same relayout as the band opacities, the axes matching the bottom one did not follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 11:17:15 +01:00
maximeandClaude Opus 5.5 88b9551d9d Status page: corr_x, corr_y, camera movement and detector events as colored bands (D-094)
detectors-view/status.py, a pseudo-final version of the site's Explore page: the curves with the
legend on the right, each detector event as a transparent band over them (one colour per category,
legend above), without Shift to check and Slow drift as in the Status line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 11:10:29 +01:00
maximeandClaude Opus 5.5 e3150cf96c Reading tools: quality/ files are no longer read as displacement exports; run-detectors.sh runs the detectors page on every station
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 10:42:21 +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 3d989b93ef CLAUDE.md: state at 2026-10-29, events-learner roles, skill list and sizes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 10:31:53 +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 ba2e9da3ab Analyst: consults the event base whenever it wants (D-088)
The event base is the analyst's knowledge base, read before or during
its reading; a known event is a lead to check on the data, not a
conclusion. No measurement of the analyst's progress.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 08:02:25 +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 cbdf91068b Docs: handoff moved to docs/aimsight/, CLAUDE.md and README.md rewritten (D-083)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 16:54:37 +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 4bdbab2976 Pump: say why a day yields no image (none in base, never reached S3, not returned by S3); LENZSPITZE has no DIFF images
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 14:23:54 +01:00
maximeandClaude Opus 5.5 55ada2c57b Detectors page: event details grouped into References and Targets, references found by reproj_err
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:48:12 +01:00
maximeandClaude Opus 5.5 052e72c682 Support: rejected measures are still delivered to the client, not removed by the camera
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:42:37 +01:00
maximeandClaude Opus 5.5 24b459fb6c Support: LENZSPITZE, activite-voies ready to send; /support writing rules and comparison-instrument check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:34:19 +01:00
maximeandClaude Opus 5.5 02f2bf5369 Support-agent: /support skill answers a client's question, GIF tool, first case LENZSPITZE (draft)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:12:28 +01:00
maximeandClaude Opus 5.5 425acbbad4 Detectors page: a click on an event bar acts like a click on a Status block
It zooms on the event, shows its details and its timelapse under the figure,
and keeps only its sensors on the curves (no second click). Bar dates are
given without the trailing Z, which Plotly does not parse.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 09:17:48 +01:00
maximeandClaude Opus 5.5 75e7963ca2 Detectors page: GIF without red border, date and time bottom right, up to 150 frames
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 08:54:46 +01:00
maximeandClaude Opus 5.5 55fbe2bf77 Detectors page: ⤓ GIF button exports the timelapse to the browser's downloads
The GIF is the timelapse as shown (focused or global, sensors circled and
labelled), 1000 px wide at most, red border during the event, time at the
bottom. In file:// the browser cannot read the images' pixels, so the
detectors, end-of-session and case-review pages now open through a local
server (open_served, 127.0.0.1:8765, started in the background, serving
out/ and data/ only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 08:49:51 +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
maximeandClaude Opus 5.5 1f4b0fc229 Validate case C-011 with the expert's corrections
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 16:02:27 +01:00
maximeandClaude Opus 5.5 87039c6844 Detectors page: time under each curve, focused or global timelapse
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 15:50:42 +01:00
maximeandClaude Opus 5.5 69cf05235f Validate case C-010 with the expert's corrections
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 15:43:57 +01:00
maximeandClaude Opus 5.5 4f8e8a27f7 Remove learned case C-009 rejected by the expert
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 15:25:22 +01:00
maximeandClaude Opus 5.5 5f6a4395fb Validate case C-008
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 14:46:43 +01:00
maximeandClaude Opus 5.5 b20596ed8b Validate case C-007 with the expert's corrections
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 14:33:33 +01:00
maximeandClaude Opus 5.5 124f1db045 Validate case C-006 with the expert's corrections
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 14:10:29 +01:00
maximeandClaude Opus 5.5 c5c2836148 Loop NIEDERHORN lot 01: cas C-013, C-014 (fiches et index du builder interrompu)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:55:42 +01:00
maxime d019beade5 just data 2026-10-27 13:34:27 +01:00
maximeandClaude Opus 5.5 1ad8e74e8e detecteurs.py: the timelapse circles the event's sensors at their median position (targets yellow, references blue), when x, y are positions in the image
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 13:27:42 +01:00
maximeandClaude Opus 5.5 040b69e3f3 detecteurs.py: Details in two columns, the block's events on the left, its timelapse on the right, started by the click on the block
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:31:53 +01:00
maximeandClaude Opus 5.5 367bc5d563 detecteurs.py: a click on a Status block fills a Details section under the figure (its events, sensors, sentences) with a ▶ Images button, the block's timelapse with a margin before and after
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:23:18 +01:00
maximeandClaude Opus 5.5 03b5d3fd59 detecteurs.py: a click on a Status block zooms the page on its range
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:14:20 +01:00
maximeandClaude Opus 5.5 d7fb8e41d0 detecteurs.py: the Status row right under the curves, the categories below it in a fold (click on ▾ Status), open by default, without their title
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:10:43 +01:00