Repository Public MIT Research preview
1% MA01-F09 — Fan-out, barrière et fan-in : le comité de vérification sur la fiche piège du dossier de démonstration.2% Idée : la jonction (join) est une DÉCISION — attendre qui, combien de temps, puis quoi faire d'un désaccord.3% Ici les trois votes concordent... sur une valeur fausse : l'unanimité de trois lecteurs de la même source4% n'est pas une vérification indépendante. Votes et vérité : sortie réelle du laboratoire (MA01-donnees.tex).5\input{MA01-donnees.tex}%6\begin{tikzpicture}[x=1mm, y=1mm]7 \path (0,0) rectangle (142,54);8 \node[ma agent, text width=19mm] (sup) at (12.4,33) {\textbf{Superviseur}};9 \node[ma memoire] (src) at (52,6) {Fiche \MADemoPiege};10 \foreach \k/\y/\l in {1/45/a,2/33/b,3/21/c}{11 \node[ma sous agent, text width=20mm] (w\k) at (52,\y) {Travailleur\\ {\AtlasSizeTiny\color{maDiscret}vote \l}};12 \draw[atlas arrow] (sup.east) -- ++(6,0) |- (w\k.west);13 \draw[atlas arrow valid] (w\k.east) -- (84.6,\y) node[atlas note, above, pos=.48, text=maTexte, font=\AtlasTabularFont\AtlasSizeTiny] {\MADemoPiegeFaux};}14 \draw[atlas arrow muted] (src.north) -- (w3.south);15 \node[atlas note, anchor=east, align=right] at (42.6,5.6) {même source pour les trois,\\ donc même piège};16 \draw[maActeur, line width=2.6pt] (85.6,16) -- (85.6,50);17 \node[atlas note, anchor=south, text=maTexte, align=center] at (85.6,50.4) {\textbf{barrière}};18 \node[atlas note, anchor=north, align=center] at (85.6,15.4) {attendre 3 résultats, ou le délai};19 \node[ma decision] (vote) at (103,33) {majorité ?};20 \draw[atlas arrow] (86.6,33) -- (vote);21 \node[atlas block hazard, text width=21mm] (ret) at (128.6,45) {retenu : \MADemoPiegeFaux\\ {\AtlasSizeTiny vérité : \MADemoPiegeVerite}};22 \node[atlas block, text width=21mm] (esc) at (128.6,21) {escalade à une personne};23 \draw[atlas arrow] (vote.north) |- node[atlas note, above, pos=.76] {oui} (ret.west);24 \draw[atlas arrow optional] (vote.south) |- node[atlas note, below, pos=.76] {non} (esc.west);25 \node[atlas step] at (3,51.6) {1}; \node[atlas note, anchor=west, text=maTexte] at (6.4,51.6) {fan-out : 3 contrats identiques};26 \node[atlas step] at (97,53) {2}; \node[atlas note, anchor=west, text=maTexte] at (100.4,53) {fan-in : un vote};27 \node[atlas tag=maRisque, anchor=south east] at (141.6,.2) {UNANIMES ET FAUX : ERREUR DE CAUSE COMMUNE};28\end{tikzpicture}29