Files
aimsight-app/docs/architecture.drawio
T

345 lines
36 KiB
Plaintext

<mxfile host="Electron" pages="2">
<diagram name="1. Dépôts" id="dep">
<mxGraphModel dx="4158" dy="2560" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1720" pageHeight="1110" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="plat" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b&gt;Plateforme AIMsight&lt;/b&gt;&lt;br&gt;base et S3 de l&#39;appli" vertex="1">
<mxGeometry height="60" width="150" y="-260" as="geometry" />
</mxCell>
<mxCell id="expert" parent="1" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;fontSize=12;" value="L&#39;expert" vertex="1">
<mxGeometry height="55" width="30" x="800" y="-130" as="geometry" />
</mxCell>
<mxCell id="app" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;Diagnostic-App&lt;/b&gt;&lt;br&gt;&lt;i&gt;le poste de pilotage : voir, analyser, lancer&lt;/i&gt;&lt;br&gt;• app/ : serveur FastAPI, page Data (courbes, images, étiquettes, événements des détecteurs), onglet Analysis&lt;br&gt;• boutons « Analyser la plage », « Optimiser les détecteurs » : ils lancent des processus dont le code vit ailleurs&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; consignes/analyste.md : ce que l&#39;app demande à l&#39;analyste (dossier de sortie, rapport, dialogue)&lt;br&gt;&lt;font color=&quot;#c62828&quot;&gt;&lt;b&gt;→&lt;/b&gt;&lt;/font&gt; agent-tools/ et le skill lire-les-donnees (vers tools) ; analyste et tool-builder (vers agents)" vertex="1">
<mxGeometry height="110" width="610" x="510" y="70" as="geometry" />
</mxCell>
<mxCell id="agents" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;agents&lt;/b&gt;&lt;br&gt;&lt;i&gt;les agents génériques, un seul exemplaire de chacun&lt;/i&gt;&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; analyste : DETECTEURS oui/non, CONSIGNES (le fichier de l&#39;appelant)&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; tool-builder (de Diagnostic-App)&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; upgrader, validator (de detectors)&lt;br&gt;• un plugin Claude Code, chargé en lecture ; l&#39;appelant passe ses paramètres dans la requête&lt;br&gt;• Claude n&#39;écrit pas dans un plugin chargé : ce qui s&#39;écrit (outils, détecteurs, séances) vit ailleurs" vertex="1">
<mxGeometry height="130" width="540" x="-325" y="450" as="geometry" />
</mxCell>
<mxCell id="opt" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;Optimizer&lt;/b&gt;&lt;br&gt;&lt;i&gt;l&#39;optimisation des détecteurs, sur les étiquettes de labeling/auto&lt;/i&gt;&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; .claude/skills/improve/ : l&#39;orchestrateur (ex wf-improve de detectors)&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; seances/&amp;lt;analyse&amp;gt;_&amp;lt;heure&amp;gt;/ : mesures, modification, validation, bilan&lt;br&gt;• lancé par l&#39;app ou à la main&lt;br&gt;&lt;font color=&quot;#c62828&quot;&gt;&lt;b&gt;→&lt;/b&gt;&lt;/font&gt; archive/ : batch.py, scanner, batches/, outils/, essais et leur spec : l&#39;auto-étiquetage par les détecteurs, arrêté" vertex="1">
<mxGeometry height="130" width="440" x="510" y="660" as="geometry" />
</mxCell>
<mxCell id="data" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;aimsight-data&lt;/b&gt;&lt;br&gt;&lt;i&gt;les données : les pomper&lt;/i&gt;&lt;br&gt;• data/&amp;lt;STATION&amp;gt;/ : les mesures et les images (hors de git)&lt;br&gt;• extraction/ : le pompage, chaque nuit" vertex="1">
<mxGeometry height="95" width="590" x="-220" y="-80" as="geometry" />
</mxCell>
<mxCell id="tools" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#b0e3e6;strokeColor=#0e8088;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;tools&lt;/b&gt; (nouveau)&lt;br&gt;&lt;i&gt;le harnais de lecture : les méthodes données à l&#39;agent pour appréhender les données&lt;/i&gt;&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; les outils (de Diagnostic-App agent-tools/) : inventaire, resume, plages, jours, ensemble, metriques, qualite, stations, graphique, vignettes, gif&lt;br&gt;&lt;font color=&quot;#2e7d32&quot;&gt;&lt;b&gt;+&lt;/b&gt;&lt;/font&gt; donnees.py, la lecture commune (aussi pour l&#39;app) ; le guide, quel outil pour quelle question (ex skill lire-les-donnees)&lt;br&gt;• seul le tool-builder y écrit : il optimise ou ajoute, ne retire rien" vertex="1">
<mxGeometry height="165" width="470" x="-350" y="160" as="geometry" />
</mxCell>
<mxCell id="dep-t1" edge="1" parent="1" source="tools" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.398;entryY=1;entryDx=0;entryDy=0;" target="data" value="lit data/">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="dep-t2" edge="1" parent="1" source="app" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;" target="tools" value="importe donnees.py">
<mxGeometry relative="1" x="0.1383" as="geometry">
<Array as="points">
<mxPoint x="540.5" y="240" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="lab" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;labeling&lt;/b&gt; — inchangé&lt;br&gt;&lt;i&gt;la vérité : les étiquettes et le savoir pour les poser&lt;/i&gt;&lt;br&gt;• manual/ : l&#39;expert ; auto/ : les agents, la vérité de l&#39;entraînement des détecteurs&lt;br&gt;• auto/analyses/ : les analyses de l&#39;app (rapport, étiquettes, scripts)&lt;br&gt;• familles, règles d&#39;étiquetage, carte des étiquettes, connaissances&lt;br&gt;• controle.py, ids.py, precedents.py (le RAG, par Ollama)" vertex="1">
<mxGeometry height="110" width="460" x="500" y="460" as="geometry" />
</mxCell>
<mxCell id="det" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b style=&quot;font-size:14px&quot;&gt;detectors&lt;/b&gt;&lt;br&gt;&lt;i&gt;les détecteurs et leur benchmark&lt;/i&gt;&lt;br&gt;• scripts/ : un détecteur par famille, categories.py, data.py&lt;br&gt;• thresholds.md ; contrat lu par l&#39;app et l&#39;Optimizer : categories.events, data.py&lt;br&gt;• bench/ : score.py, regression.py, sensors.py (ex skills/wf-improve/scripts/)&lt;br&gt;&lt;font color=&quot;#c62828&quot;&gt;&lt;b&gt;→&lt;/b&gt;&lt;/font&gt; le plugin wf-improve : le skill vers Optimizer, les agents vers agents ; plus de plugin ici" vertex="1">
<mxGeometry height="120" width="440" x="1240" y="665" as="geometry" />
</mxCell>
<mxCell id="dep-e1" edge="1" parent="1" source="expert" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;" target="app" value="">
<mxGeometry relative="1" x="-0.0318" as="geometry" />
</mxCell>
<mxCell id="dep-e2" edge="1" parent="1" source="plat" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;" target="data" value="pompage, lecture seule">
<mxGeometry relative="1" x="-0.0857" as="geometry">
<mxPoint as="offset" />
<Array as="points" />
</mxGeometry>
</mxCell>
<mxCell id="dep-e3" edge="1" parent="1" source="app" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=classic;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;startArrow=none;startFill=0;" target="data" value="lit : données">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="dep-e4" edge="1" parent="1" source="app" style="rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;edgeStyle=orthogonalEdgeStyle;" target="agents" value="lance l&#39;analyste, le tool-builder">
<mxGeometry relative="1" x="-0.0392" y="-15" as="geometry">
<mxPoint as="offset" />
<Array as="points">
<mxPoint x="680" y="428" />
<mxPoint x="180" y="428" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="dep-e5" edge="1" parent="1" source="app" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;" target="lab" value="lit et écrit : étiquettes&lt;br&gt;de l&#39;expert, analyses">
<mxGeometry relative="1" x="0.0036" as="geometry">
<Array as="points">
<mxPoint x="815" y="400" />
<mxPoint x="815" y="400" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="dep-e6" edge="1" parent="1" source="app" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;" target="opt" value="lance l&#39;optimisation">
<mxGeometry relative="1" x="0.2034" as="geometry">
<Array as="points">
<mxPoint x="1050" y="695" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="dep-e7" edge="1" parent="1" source="app" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;" target="det" value="lit : événements des détecteurs">
<mxGeometry relative="1" x="-0.0172" as="geometry">
<Array as="points">
<mxPoint x="1500" y="125" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="dep-e8" edge="1" parent="1" source="opt" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=none;endFill=0;fontSize=11;labelBackgroundColor=#ffffff;" target="agents" value="lance l&#39;upgrader,&lt;br&gt;le validator">
<mxGeometry relative="1" x="-0.2105" y="-15" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="dep-e9" edge="1" parent="1" source="opt" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=none;endFill=0;fontSize=11;labelBackgroundColor=#ffffff;" target="det" value="lance le benchmark ;&lt;br&gt;ses agents commitent">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="dep-e10" edge="1" parent="1" source="opt" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=none;endFill=0;fontSize=11;labelBackgroundColor=#ffffff;" target="lab" value="lit auto/ : la vérité">
<mxGeometry relative="1" as="geometry">
<Array as="points" />
</mxGeometry>
</mxCell>
<mxCell id="dep-e11" edge="1" parent="1" source="agents" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=none;endFill=0;fontSize=11;labelBackgroundColor=#ffffff;" target="tools" value="lisent les données par les outils ;&lt;br&gt;le tool-builder y commite">
<mxGeometry relative="1" x="0.088" y="-5" as="geometry">
<mxPoint as="offset" />
<Array as="points">
<mxPoint x="-115" y="420" />
<mxPoint x="-115" y="420" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="dep-e12" edge="1" parent="1" source="agents" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=none;endFill=0;fontSize=11;labelBackgroundColor=#ffffff;" target="lab" value="l&#39;analyste écrit&lt;br&gt;analyses et étiquettes">
<mxGeometry relative="1" x="0.0175" as="geometry">
<Array as="points">
<mxPoint x="360" y="515" />
<mxPoint x="360" y="515" />
</Array>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram name="2. Processus" id="proc">
<mxGraphModel grid="1" page="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" pageScale="1" pageWidth="1720" pageHeight="1110" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="titre" parent="1" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=14;" value="&lt;b style=&quot;font-size:20px&quot;&gt;Les processus&lt;/b&gt; — chaque case a la couleur du dépôt qui la porte" vertex="1">
<mxGeometry height="30" width="740" x="40" y="16" as="geometry" />
</mxCell>
<mxCell id="leg0" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="Diagnostic-App" vertex="1">
<mxGeometry height="26" width="112" x="790" y="20" as="geometry" />
</mxCell>
<mxCell id="leg1" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="agents" vertex="1">
<mxGeometry height="26" width="112" x="905" y="20" as="geometry" />
</mxCell>
<mxCell id="leg2" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="Optimizer" vertex="1">
<mxGeometry height="26" width="112" x="1020" y="20" as="geometry" />
</mxCell>
<mxCell id="leg3" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="aimsight-data" vertex="1">
<mxGeometry height="26" width="112" x="1135" y="20" as="geometry" />
</mxCell>
<mxCell id="leg4" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="labeling" vertex="1">
<mxGeometry height="26" width="112" x="1250" y="20" as="geometry" />
</mxCell>
<mxCell id="leg5" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="detectors" vertex="1">
<mxGeometry height="26" width="112" x="1365" y="20" as="geometry" />
</mxCell>
<mxCell id="leg6" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="extérieur" vertex="1">
<mxGeometry height="26" width="112" x="1480" y="20" as="geometry" />
</mxCell>
<mxCell id="leg7" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#b0e3e6;strokeColor=#0e8088;fontSize=11;align=center;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="tools" vertex="1">
<mxGeometry height="26" width="112" x="1595" y="20" as="geometry" />
</mxCell>
<mxCell id="l1" parent="1" style="rounded=0;html=1;fillColor=#fafafa;strokeColor=#bbbbbb;" value="" vertex="1">
<mxGeometry height="165" width="1650" x="40" y="70" as="geometry" />
</mxCell>
<mxCell id="l1t" parent="1" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;" value="&lt;b&gt;1. Pomper&lt;/b&gt;&lt;br&gt;chaque nuit" vertex="1">
<mxGeometry height="149" width="115" x="48" y="78" as="geometry" />
</mxCell>
<mxCell id="s1a" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="Planificateur de Windows, chaque nuit ; ou à la main (tâches VS Code « pomper »)" vertex="1">
<mxGeometry height="60" width="230" x="170" y="85" as="geometry" />
</mxCell>
<mxCell id="s1c" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="Plateforme AIMsight : base et S3" vertex="1">
<mxGeometry height="60" width="230" x="170" y="160" as="geometry" />
</mxCell>
<mxCell id="s1b" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="extraction/pomper.sh → pomper.py, en lecture seule sur la plateforme" vertex="1">
<mxGeometry height="80" width="270" x="480" y="110" as="geometry" />
</mxCell>
<mxCell id="s1d" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="data/&amp;lt;STATION&amp;gt;/ : metrics, displacement, camera, images (hors de git)" vertex="1">
<mxGeometry height="80" width="300" x="840" y="110" as="geometry" />
</mxCell>
<mxCell id="proc-e1" edge="1" parent="1" source="s1a" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.3;entryDx=0;entryDy=0;" target="s1b" value="déclenche">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e2" edge="1" parent="1" source="s1c" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.7;entryDx=0;entryDy=0;" target="s1b" value="lit">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e3" edge="1" parent="1" source="s1b" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="s1d" value="écrit">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="l2" parent="1" style="rounded=0;html=1;fillColor=#fafafa;strokeColor=#bbbbbb;" value="" vertex="1">
<mxGeometry height="300" width="1650" x="40" y="255" as="geometry" />
</mxCell>
<mxCell id="l2t" parent="1" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;" value="&lt;b&gt;2. Analyser une plage&lt;/b&gt;&lt;br&gt;onglet Analysis" vertex="1">
<mxGeometry height="284" width="115" x="48" y="263" as="geometry" />
</mxCell>
<mxCell id="s2a" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="L&#39;expert choisit une plage dans la page Data, avec ses indices : « Analyser la plage »" vertex="1">
<mxGeometry height="90" width="230" x="170" y="320" as="geometry" />
</mxCell>
<mxCell id="s2b" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b&gt;analyste&lt;/b&gt;&lt;br&gt;DETECTEURS = non&lt;br&gt;CONSIGNES = Diagnostic-App/consignes/analyste.md" vertex="1">
<mxGeometry height="110" width="290" x="470" y="310" as="geometry" />
</mxCell>
<mxCell id="s2e" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="auto/analyses/&amp;lt;STATION&amp;gt;_&amp;lt;début&amp;gt;_&amp;lt;fin&amp;gt;/ : rapport, étiquettes, scripts outils/" vertex="1">
<mxGeometry height="90" width="270" x="840" y="320" as="geometry" />
</mxCell>
<mxCell id="s2f" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="étiquettes versées dans auto/&amp;lt;STATION&amp;gt;.jsonl (champ analyse), contrôlées par controle.py" vertex="1">
<mxGeometry height="90" width="250" x="1170" y="320" as="geometry" />
</mxCell>
<mxCell id="s2g" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="rapport affiché ; l&#39;expert répond, l&#39;analyste reprend (--resume)" vertex="1">
<mxGeometry height="90" width="205" x="1470" y="320" as="geometry" />
</mxCell>
<mxCell id="s2c" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#b0e3e6;strokeColor=#0e8088;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="tools : les outils et leur guide (courbes, images, qualité, métriques)" vertex="1">
<mxGeometry height="70" width="200" x="400" y="470" as="geometry" />
</mxCell>
<mxCell id="s2d" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="familles, règles, carte, connaissances ; precedents.py" vertex="1">
<mxGeometry height="70" width="230" x="630" y="470" as="geometry" />
</mxCell>
<mxCell id="proc-e4" edge="1" parent="1" source="s2a" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="s2b" value="lance">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e5" edge="1" parent="1" source="s2c" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;" target="s2b" value="lit">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="500" y="450" />
<mxPoint x="542" y="450" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="proc-e6" edge="1" parent="1" source="s2d" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.75;entryY=1;entryDx=0;entryDy=0;" target="s2b" value="lit">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="745" y="450" />
<mxPoint x="687" y="450" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="proc-e7" edge="1" parent="1" source="s2b" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="s2e" value="écrit">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e8" edge="1" parent="1" source="s2e" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="s2f" value="versées&lt;br&gt;par le serveur">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e9" edge="1" parent="1" source="s2f" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="s2g" value="">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e10" edge="1" parent="1" source="s2g" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" target="s2b" value="reprend la même session">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1572" y="280" />
<mxPoint x="615" y="280" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="l3" parent="1" style="rounded=0;html=1;fillColor=#fafafa;strokeColor=#bbbbbb;" value="" vertex="1">
<mxGeometry height="300" width="1650" x="40" y="575" as="geometry" />
</mxCell>
<mxCell id="l3t" parent="1" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;" value="&lt;b&gt;3. Optimiser les détecteurs&lt;/b&gt;&lt;br&gt;sur une analyse finie" vertex="1">
<mxGeometry height="284" width="115" x="48" y="583" as="geometry" />
</mxCell>
<mxCell id="s3a" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="« Optimiser les détecteurs » sur une analyse finie ; ou à la main depuis Optimizer" vertex="1">
<mxGeometry height="100" width="200" x="170" y="625" as="geometry" />
</mxCell>
<mxCell id="s3b" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b&gt;improve&lt;/b&gt;, l&#39;orchestrateur : la plage et les étiquettes de l&#39;analyse" vertex="1">
<mxGeometry height="100" width="210" x="400" y="625" as="geometry" />
</mxCell>
<mxCell id="s3c" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="mesures avant : bench/score.py sur la plage, bench/regression.py sur tout labeling/auto" vertex="1">
<mxGeometry height="100" width="230" x="640" y="625" as="geometry" />
</mxCell>
<mxCell id="s3d" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b&gt;upgrader&lt;/b&gt; : corrige les détecteurs, un commit par correction" vertex="1">
<mxGeometry height="100" width="210" x="900" y="625" as="geometry" />
</mxCell>
<mxCell id="s3e" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b&gt;validator&lt;/b&gt; : garde, fait retirer ou annule ; aucune station ne recule" vertex="1">
<mxGeometry height="100" width="230" x="1140" y="625" as="geometry" />
</mxCell>
<mxCell id="s3f" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#ffe6cc;strokeColor=#d79b00;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="seances/&amp;lt;analyse&amp;gt;_&amp;lt;heure&amp;gt;/ : mesures, modification, validation, bilan ; le bilan s&#39;affiche dans l&#39;app" vertex="1">
<mxGeometry height="100" width="275" x="1400" y="625" as="geometry" />
</mxCell>
<mxCell id="s3g" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="auto/ : la vérité, sur la plage et sur toutes les stations" vertex="1">
<mxGeometry height="70" width="250" x="400" y="785" as="geometry" />
</mxCell>
<mxCell id="s3h" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="scripts/, thresholds.md : les détecteurs (commits sur la branche courante, rien n&#39;est poussé)" vertex="1">
<mxGeometry height="70" width="330" x="960" y="785" as="geometry" />
</mxCell>
<mxCell id="proc-e11" edge="1" parent="1" source="s3a" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="s3b" value="lance">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e12" edge="1" parent="1" source="s3b" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="s3c" value="">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e13" edge="1" parent="1" source="s3c" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="s3d" value="">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e14" edge="1" parent="1" source="s3d" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="s3e" value="">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e15" edge="1" parent="1" source="s3e" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="s3f" value="">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e16" edge="1" parent="1" source="s3g" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=0.3;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" target="s3b" value="lit">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e17" edge="1" parent="1" source="s3g" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=0.8;exitY=0;exitDx=0;exitDy=0;entryX=0.3;entryY=1;entryDx=0;entryDy=0;" target="s3c" value="lit">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="600" y="755" />
<mxPoint x="709" y="755" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="proc-e18" edge="1" parent="1" source="s3d" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.2;entryY=0;entryDx=0;entryDy=0;" target="s3h" value="commite">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1005" y="755" />
<mxPoint x="1026" y="755" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="proc-e19" edge="1" parent="1" source="s3e" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.8;entryY=0;entryDx=0;entryDy=0;" target="s3h" value="retire ou annule">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1255" y="755" />
<mxPoint x="1224" y="755" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="l4" parent="1" style="rounded=0;html=1;fillColor=#fafafa;strokeColor=#bbbbbb;" value="" vertex="1">
<mxGeometry height="190" width="1650" x="40" y="895" as="geometry" />
</mxCell>
<mxCell id="l4t" parent="1" style="text;html=1;whiteSpace=wrap;align=left;verticalAlign=top;fontSize=13;" value="&lt;b&gt;4. Améliorer les outils&lt;/b&gt;&lt;br&gt;après l&#39;optimisation" vertex="1">
<mxGeometry height="174" width="115" x="48" y="903" as="geometry" />
</mxCell>
<mxCell id="s4a" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="à la fin de l&#39;optimisation (même bouton)" vertex="1">
<mxGeometry height="60" width="230" x="170" y="910" as="geometry" />
</mxCell>
<mxCell id="s4c" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="auto/analyses/&amp;lt;a&amp;gt;/ : rapport, analyse, scripts outils/ de l&#39;analyste" vertex="1">
<mxGeometry height="80" width="230" x="170" y="990" as="geometry" />
</mxCell>
<mxCell id="s4b" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#e1d5e7;strokeColor=#9673a6;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="&lt;b&gt;tool-builder&lt;/b&gt;&lt;br&gt;la requête de l&#39;app : l&#39;analyse et ses scripts" vertex="1">
<mxGeometry height="90" width="270" x="480" y="940" as="geometry" />
</mxCell>
<mxCell id="s4d" parent="1" style="rounded=1;arcSize=4;whiteSpace=wrap;html=1;fillColor=#b0e3e6;strokeColor=#0e8088;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingRight=8;spacingTop=4;" value="tools : les outils et leur guide ; optimise ou ajoute, ne retire rien ; commite" vertex="1">
<mxGeometry height="90" width="330" x="840" y="940" as="geometry" />
</mxCell>
<mxCell id="proc-e20" edge="1" parent="1" source="s4a" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.3;entryDx=0;entryDy=0;" target="s4b" value="lance">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e21" edge="1" parent="1" source="s4c" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;" target="s4b" value="lit">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="proc-e22" edge="1" parent="1" source="s4b" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;endFill=1;fontSize=11;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" target="s4d" value="commite">
<mxGeometry relative="1" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>