Commit Graph
11 Commits
Author SHA1 Message Date
maximeandClaude Opus 5.5 63d954a126 episodes.py, not common.py: the tools repository has its own common.py on the same sys.path in the app
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 17:43:12 +01:00
maximeandClaude Opus 5.5 9d4cd722f4 categories: the reader also from the caller's tools/ link, for a copy outside the home directory
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 17:34:59 +01:00
maximeandClaude Opus 5.5 8b5f8a34b9 visibility: Target obscured left to target_issue; categories no longer imports a detector
Removed: the repeated rejections of a target in visibility.py with K_TARGET, TARGET_MIN, TARGET_GAP (Obstruction found
-5, correct +3: found -14 at SNCF01, 3 instants, and -10 at WILDSTRUBEL); Target obscured now comes from target_issue
only. categories.py keeps its own JUMP_BACK so that a broken displacement.py does not block it.

Benchmark Totals (from the previous commit): Obstruction found 45 -> 40 %, correct 31 -> 34 %; the other families
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 17:32:00 +01:00
maximeandClaude Opus 5.5 4188efe201 categories: plain absorption and merge rules, the event text is its first episode's
A jump back joins an overlapping Visibility episode, or an Obstruction or Target issue episode holding all its targets;
a slow drift, a Target issue episode holding its targets. Removed (their benchmark contribution, each alone): heat
shimmer dropped next to a shift of several targets (Visibility found +1), HOSTS with the thermal wave (none), the
special cases of a Brief obstruction, of heat shimmer and of the thermal wave as hosts (one jump back at WILDSTRUBEL,
already lost), SHIFTS, variety() reduced to (label, level). sentence() removed: each detector writes the text of its
episodes; the event adds one sentence for the jumps it absorbed. events() no longer takes anything from the folder.

Benchmark Totals (from the previous commit): Visibility found 54 -> 55 %, correct 71 -> 72 %; the other families
unchanged. regression.py now runs in about 1 min (was 3.5).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 17:28:04 +01:00
maximeandClaude Opus 5.5 fe1adac89a thermal_displacement: the camera moving with the cold, partial days, DAY_MATCH and MIN_WARM_HOURS removed
Removed (their benchmark contribution, each alone): the cold rule with COLD, which needed the station temperature and
camera pose (Thermal found -64 at CLARIDEN and -19 at BREITHORN, 27 and 4 instants; Totals unchanged), so categories.py
no longer reads them; PARTIAL days (Thermal found -1, correct -1); DAY_MATCH, every day of a cycle gets its episodes
(Thermal found +8, correct -2); MIN_WARM_HOURS (none). The 24 h sinusoid by projection instead of least squares (same
figures). The event sentences of the thermal varieties are now the episodes' texts.

Benchmark Totals (from the previous commit): Thermal displacement found 74 -> 80 %, correct 75 -> 72 %; the other
families unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 17:23:53 +01:00
maximeandClaude Opus 5.5 5f085bf5ff One computation per module, an explicit list of detectors; obstruction.py removed
Each module returns every family it finds (kind); categories.py imports DETECTORS by name (no introspection, no
CONTEXT) and drops from Obstruction the sensors already in an overlapping Target issue episode (formerly
obstruction.py). No detector computed twice. Benchmark identical to the baseline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 16:06:24 +01:00
maximeandClaude Opus 5.5 5e9a7aa9d1 The single reader: data.py of the tools repository (sibling ~/aimsight-tools), located once in categories.py
scripts/data.py removed; the detectors' standalone CLIs go (categories.py runs them).
Benchmark identical to the baseline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 15:25:01 +01:00
maximeandClaude Opus 5.5 388619685a Review fixes; README and CLAUDE.md finalised
- cancel reverts only the run's commits (base..HEAD), never the caller's edits
- validator diffs base..HEAD, not the working tree
- fix commits carry their Co-Authored-By line; no redundant end benchmark
- score.py: clear error on a missing labels file; docstring says end is not passed
- usage lines; README and CLAUDE.md for the generic workflow

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 12:45:14 +01:00
maximeandClaude Opus 5.5 0de006bcb2 wf-improve generic: the caller gives the range, labels, reference truth, families, context and output folder
Skill and agents no longer name Diagnostic-app paths (analyses, labeling/auto,
demande.json, summary location, git rules of the working repository).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 12:40:30 +01:00
maximeandClaude Opus 5.5 6df274f580 Skill learner -> wf-improve (/detectors:wf-improve); scripts/wf-improve/, sessions in wf-improve/
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 12:26:02 +01:00
maximeandClaude Opus 5.5 969637499f Detectors in English, under scripts/; learner tools under scripts/learner/
- data.py (was donnees.py): unused filtrer, heure_image and image sorting removed
- score.py: dead functions (validite, marquer, detectes, score, familles) and the
  validity levels removed; --from/--to
- regression.py: history.csv and --seance/--etape removed
- categories.py: --from/--to/--chunk/--history; process values images/none/check
- benchmark on all stations unchanged (same 132 figures)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 12:19:52 +01:00