Repository Public MIT Research preview
1% S04-F03 — Décomposer une tâche en étapes vérifiables : le bilan hebdomadaire de la ligne citoyenne.2% DONNÉES : S04-F03-donnees.tex, généré par demos/src/atlas_s04/exporter_donnees_figure.py.3% Idée : les mêmes réponses du modèle simulé, avec ou sans points de contrôle. Sans contrôle, une réponse4% illisible disparaît sans bruit. En étapes, chaque produit intermédiaire a un contrôle et un responsable5% (modèle, code ou personne), et ce qui échoue est mis de côté au lieu d'être perdu.6\input{S04-F03-donnees.tex}7\begin{tikzpicture}[x=1mm, y=1mm]8 % ---------- Sans contrôle ----------9 \node[atlas tag=atlasHazard, anchor=west] at (0,49.5) {TOUT D'UN TRAIT};10 \pic[atlasFlow, scale=.44] at (5,41) {atlas doc};11 \node[atlas label, anchor=west] at (8.4,41) {\AtlasFigRecues\ messages};12 \node[atlas block, text width=46mm, minimum height=8mm] (mono) at (62,41) {Une seule étape : « Fais le bilan de la semaine. »};13 \node[atlas block hazard, text width=27mm, minimum height=8mm] (bilan) at (120,41) {Bilan sur \AtlasFigSansControle\ fiches};14 \draw[atlas arrow] (31,41) -- (mono.west);15 \draw[atlas arrow hazard] (mono.east) -- (bilan.west);16 \node[atlas note, anchor=north east, align=right] at (135.5,36)17 {aucun contrôle : rien ne signale le message manquant ni l'urgence faussée};18 % ---------- En étapes vérifiables ----------19 \node[atlas tag=atlasValid, anchor=west] at (0,31) {EN ÉTAPES VÉRIFIABLES};20 \node[atlas block flow, text width=19mm, minimum height=12mm] (a) at (14.2,15) {\textbf{Produire} une fiche par message};21 \node[atlas gate, text width=11.5mm] (b) at (39.5,15) {Schéma valide ?};22 \node[atlas block flow, text width=17mm, minimum height=12mm] (c) at (65,15) {\textbf{Compter} par catégorie};23 \node[atlas gate, text width=10mm] (d) at (89.5,15) {Total exact ?};24 \node[atlas block uncertain, text width=18mm, minimum height=12mm] (e) at (114,15) {\textbf{Relire} les urgences élevées};25 \node[atlas block valid, text width=9.5mm, minimum height=12mm] (f) at (135,15) {Bilan vérifié};26 \foreach \de/\vers in {a/b, b/c, c/d, d/e}{\draw[atlas arrow] (\de) -- (\vers);}27 \draw[atlas arrow valid] (e) -- (f);28 \node[atlas step] at (a.north west) {1};29 \node[atlas step=atlasUncertain] at (30.6,20.6) {2};30 \node[atlas step] at (c.north west) {3};31 \node[atlas step=atlasUncertain] at (81.2,20.6) {4};32 \node[atlas step=atlasUncertain] at (e.north west) {5};33 % Qui fait quoi, et ce qui a été mesuré34 \node[atlas note, anchor=north, align=center] at (14.2,7.6) {modèle simulé\\ \AtlasFigRecues\ réponses};35 \node[atlas note, anchor=north, align=center] at (65,7.6) {code};36 \node[atlas note, anchor=north, align=center] at (114,7.6) {une personne\\ \AtlasFigARelire\ fiches};37 \node[atlas note, anchor=south, align=center] at (39.5,24.4) {code : \AtlasFigConformes\ conformes};38 \node[atlas note, anchor=south, align=center] at (89.5,24.4) {code : \AtlasFigConformes\ + \AtlasFigRejetees\ = \AtlasFigRecues};39 \draw[atlas arrow hazard] (b.south) -- (39.5,2.4) -- (44.5,2.4);40 \node[atlas note, anchor=west, text=atlasFg] at (45,2.4) {non : \AtlasFigRejetees\ rejetée (\AtlasFigRejeteesIds), remise à une personne};41\end{tikzpicture}42