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>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-10-26 16:48:13 +01:00
1 parent 6b3d058a67
commit d5bae7a696
57 files changed
+1727 -157

No files matched your search

@@ -0,0 +1,66 @@
date,seance,etape,version,cas,categorie,etiquetees,signalees,les_deux
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-001,contraction_thermique,3696,715,286
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-001,dilatation_thermique,2079,1573,1562
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-001,prudence,80,62,62
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-001,saut_bref,14,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-001,toutes,5869,2350,1910
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-001,visibilite_reduite,80,62,62
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-001,à ignorer,14,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-002,a_verifier,17,65,13
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-002,cible_masquee,37,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-002,contraction_thermique,198,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-002,dilatation_thermique,55,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-002,prudence,4862,4395,4395
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-002,toutes,5191,4476,4424
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-002,visibilite_nulle,22,16,16
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-002,visibilite_reduite,4862,4395,4395
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-002,à ignorer,59,16,16
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-003,a_verifier,1,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-003,cible_masquee,217,57,30
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-003,passage,31,3,3
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-003,prudence,1556,1645,1257
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-003,saut_bref,215,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-003,toutes,2466,1763,1736
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-003,turbulence,2002,1703,1703
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-003,à ignorer,458,60,35
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-004,a_verifier,639,2035,163
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-004,cible_masquee,244,3,3
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-004,derive_lente,432,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-004,passage,194,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-004,toutes,1509,2038,166
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-004,à ignorer,438,3,3
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-005,a_verifier,9,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-005,cible_masquee,58,12,12
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-005,passage,53,46,44
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-005,prudence,325,160,153
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-005,saut_bref,88,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-005,toutes,537,220,209
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-005,visibilite_reduite,329,162,153
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-005,à ignorer,196,57,55
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-006,saut_bref,24,7,6
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-006,toutes,24,7,6
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-006,à ignorer,24,7,6
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-007,cible_masquee,78,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-007,contraction_thermique,50,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-007,dilatation_thermique,35,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-007,toutes,163,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-007,à ignorer,78,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-008,cible_masquee,78,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-008,contraction_thermique,50,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-008,dilatation_thermique,251,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-008,saut_bref,0,11,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-008,toutes,379,11,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,C-008,à ignorer,78,11,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,total,a_verifier,666,2100,176
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,total,cible_masquee,712,72,45
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,total,contraction_thermique,3994,715,286
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,total,derive_lente,432,0,0
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,total,dilatation_thermique,2420,1573,1562
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,total,passage,278,49,47
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,total,prudence,6823,6262,5867
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,total,saut_bref,341,18,6
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,total,toutes,16138,10865,8451
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,total,turbulence,2002,1703,1703
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,total,visibilite_nulle,22,16,16
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,total,visibilite_reduite,5271,4619,4610
2026-10-26T15:41Z,construction,"D-069, premier benchmark",c1ba46f+,total,à ignorer,1345,154,115
1 date seance etape version cas categorie etiquetees signalees les_deux
2 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-001 contraction_thermique 3696 715 286
3 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-001 dilatation_thermique 2079 1573 1562
4 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-001 prudence 80 62 62
5 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-001 saut_bref 14 0 0
6 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-001 toutes 5869 2350 1910
7 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-001 visibilite_reduite 80 62 62
8 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-001 à ignorer 14 0 0
9 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-002 a_verifier 17 65 13
10 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-002 cible_masquee 37 0 0
11 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-002 contraction_thermique 198 0 0
12 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-002 dilatation_thermique 55 0 0
13 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-002 prudence 4862 4395 4395
14 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-002 toutes 5191 4476 4424
15 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-002 visibilite_nulle 22 16 16
16 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-002 visibilite_reduite 4862 4395 4395
17 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-002 à ignorer 59 16 16
18 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-003 a_verifier 1 0 0
19 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-003 cible_masquee 217 57 30
20 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-003 passage 31 3 3
21 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-003 prudence 1556 1645 1257
22 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-003 saut_bref 215 0 0
23 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-003 toutes 2466 1763 1736
24 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-003 turbulence 2002 1703 1703
25 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-003 à ignorer 458 60 35
26 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-004 a_verifier 639 2035 163
27 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-004 cible_masquee 244 3 3
28 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-004 derive_lente 432 0 0
29 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-004 passage 194 0 0
30 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-004 toutes 1509 2038 166
31 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-004 à ignorer 438 3 3
32 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-005 a_verifier 9 0 0
33 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-005 cible_masquee 58 12 12
34 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-005 passage 53 46 44
35 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-005 prudence 325 160 153
36 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-005 saut_bref 88 0 0
37 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-005 toutes 537 220 209
38 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-005 visibilite_reduite 329 162 153
39 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-005 à ignorer 196 57 55
40 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-006 saut_bref 24 7 6
41 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-006 toutes 24 7 6
42 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-006 à ignorer 24 7 6
43 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-007 cible_masquee 78 0 0
44 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-007 contraction_thermique 50 0 0
45 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-007 dilatation_thermique 35 0 0
46 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-007 toutes 163 0 0
47 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-007 à ignorer 78 0 0
48 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-008 cible_masquee 78 0 0
49 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-008 contraction_thermique 50 0 0
50 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-008 dilatation_thermique 251 0 0
51 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-008 saut_bref 0 11 0
52 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-008 toutes 379 11 0
53 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ C-008 à ignorer 78 11 0
54 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ total a_verifier 666 2100 176
55 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ total cible_masquee 712 72 45
56 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ total contraction_thermique 3994 715 286
57 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ total derive_lente 432 0 0
58 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ total dilatation_thermique 2420 1573 1562
59 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ total passage 278 49 47
60 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ total prudence 6823 6262 5867
61 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ total saut_bref 341 18 6
62 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ total toutes 16138 10865 8451
63 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ total turbulence 2002 1703 1703
64 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ total visibilite_nulle 22 16 16
65 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ total visibilite_reduite 5271 4619 4610
66 2026-10-26T15:41Z construction D-069, premier benchmark c1ba46f+ total à ignorer 1345 154 115