Repository Public MIT Research preview
1% S08-F03 — L'entonnoir de validation : de la ligne lue au fait vérifié, avec sa provenance.2% Idée : valider, c'est faire passer chaque ligne par une suite de questions. À chaque question, une sortie3% est possible, et elle est étiquetée : « écartée » (avec le motif) ou « en attente » (une personne tranche).4% Rien ne disparaît en silence. Ce qui arrive au bout est un fait vérifié qui garde son repère dans le fichier.5% DONNÉES : S08-F03-donnees.tex, généré par demos/src/atlas_s08/exporter_donnees_figure.py (dossier FICTIF).6\input{S08-F03-donnees.tex}%7\begin{tikzpicture}[x=1mm, y=1mm]8 % ---------- Le flux principal ----------9 \node[atlas block flow, text width=19mm, minimum height=15mm] (a) at (12.5,36) {\textbf{\AtlasFigEntLues\ lignes}\\ lues dans le tableau};10 \node[atlas gate, minimum size=8.5mm] (g1) at (35,36) {\textbf{?}};11 \node[atlas block flow, text width=13mm, minimum height=13mm] (b) at (54,36) {\textbf{\AtlasFigEntSansDoublon\ lignes}};12 \node[atlas gate, minimum size=8.5mm] (g2) at (73,36) {\textbf{?}};13 \node[atlas block flow, text width=19mm, minimum height=11mm] (c) at (93.5,36) {\textbf{\AtlasFigEntDansPeriode\ distributions}};14 \node[atlas gate, minimum size=8.5mm] (g3) at (114,36) {\textbf{?}};15 \node[atlas block valid, text width=16mm, minimum height=15mm] (v) at (132,36)16 {\textbf{Faits vérifiés}\\ paniers : \AtlasFigEntPaniersVerifies\\ poids : \AtlasFigEntPoidsVerifies};17 \foreach \de/\vers in {a/g1, g1/b, b/g2, g2/c, c/g3}{\draw[atlas arrow] (\de) -- (\vers);}18 \draw[atlas arrow valid] (g3) -- (v);19 % ---------- Les questions ----------20 \node[atlas note, text=atlasUncertain, font=\AtlasSizeTiny\bfseries] at (35,45.8) {déjà lue ?};21 \node[atlas note, text=atlasUncertain, font=\AtlasSizeTiny\bfseries] at (73,45.8) {hors période ?};22 \node[atlas note, text=atlasUncertain, font=\AtlasSizeTiny\bfseries] at (114,48.6) {valeur manquante,};23 \node[atlas note, text=atlasUncertain, font=\AtlasSizeTiny\bfseries] at (114,45.4) {hors plage ?};24 % ---------- Les sorties étiquetées ----------25 \node[atlas block hazard, text width=20mm, minimum height=10.5mm] (e1) at (35,16) {\textbf{\AtlasFigEntDoublons\ écartée}\\ \AtlasFigEntLigneDoublon, doublon};26 \node[atlas block hazard, text width=23mm, minimum height=10.5mm] (e2) at (73,16) {\textbf{\AtlasFigEntHorsPeriode\ écartée}\\ \AtlasFigEntLigneHorsPeriode, hors période};27 \node[atlas block uncertain, text width=22mm, minimum height=10.5mm] (e3) at (110,16) {\textbf{\AtlasFigEntPoidsEnAttente\ en attente}\\ poids : \AtlasFigEntLignesEnAttente};28 \draw[atlas arrow hazard] (g1.south) -- node[atlas note, right] {oui} (e1.north);29 \draw[atlas arrow hazard] (g2.south) -- node[atlas note, right] {oui} (e2.north);30 \draw[atlas arrow, draw=atlasUncertain] (g3.south) -- node[atlas note, right, pos=.45] {oui} (114,21.3);31 % ---------- La provenance d'un fait vérifié ----------32 \node[atlas tag=atlasValid, font=\ttfamily\AtlasSizeTiny] (p) at (119.3,3.2) {\AtlasFigEntExempleProvenance};33 \node[atlas token valid, anchor=east] (f) at ([xshift=-2mm]p.west) {\AtlasFigEntExempleValeur\ paniers};34 \draw[atlas arrow valid] (v.south) -- (132,5.6);35 \node[atlas note, anchor=west] at (133,24) {avec};36 \node[atlas note, anchor=west] at (133,21) {repère};37 \node[atlas note, anchor=west] at (0,3.2) {Aucune ligne ne disparaît sans motif.};38\end{tikzpicture}39