SPB Git

Repository Public MIT Research preview

S13-F04-arbre-de-revue.tex 3.0 KB 42 lines latex

1% S13-F04 — Arbre de décision de la revue d'un changement proposé : accepter, refuser ou demander.2% Idée : quatre questions, de la moins coûteuse à la plus coûteuse. Une seule réponse « non » suffit à3% ne pas accepter. Les étiquettes « correctif 1, 2, 3 » renvoient aux trois correctifs écrits pour le4% cours ; leur classement est celui que calcule la démonstration (testé).5\begin{tikzpicture}[x=1mm, y=1mm]6  \node[atlas tag=atlasFlow, anchor=west] (d) at (1,50) {DIFF PROPOSÉ};7  \node[atlas gate, atlas nohyphen, text width=15.5mm] (g1) at (17,34) {Périmètre ?};8  \node[atlas gate, atlas nohyphen, text width=15.5mm] (g2) at (50,34) {Tests ?};9  \node[atlas gate, atlas nohyphen, text width=17mm] (g3) at (83,34) {Couverture ?};10  \node[atlas gate, atlas nohyphen, text width=15.5mm] (g4) at (116,34) {Compris ?};11  \node[atlas note, anchor=south west, align=center] at (6,42.6) {seuls les fichiers prévus};12  \node[atlas note, anchor=south, align=center] at (50,42.6) {la suite réussit};13  \node[atlas note, anchor=south, align=center] at (83,42.6) {chaque exigence est testée};14  \node[atlas note, anchor=south, align=center] at (116,42.6) {chaque ligne s'explique};15  \draw[atlas arrow] (3.5,48) |- (g1.west);16  \draw[atlas arrow] (g1) -- (g2);17  \draw[atlas arrow] (g2) -- (g3);18  \draw[atlas arrow] (g3) -- (g4);19  \foreach \x in {33.5,66.5,99.5}{\node[atlas note, anchor=south] at (\x,34.6) {oui};}20  \node[atlas block valid, text width=12.5mm, minimum height=12mm] (ok) at (131,11) {\textbf{Accepter}\\ puis commit};21  \draw[atlas arrow valid] (g4.east) -| (ok.north);22  \node[atlas note, anchor=south] at (129,34.6) {oui};23  % Issues « non »24  \node[atlas block hazard, text width=22mm, minimum height=12mm] (r1) at (17.5,11) {\textbf{Refuser}\\ refaire sans toucher au reste};25  \node[atlas block hazard, text width=20mm, minimum height=12mm] (r2) at (50,11) {\textbf{Refuser}\\ faire corriger, ou revenir};26  \node[atlas block uncertain, text width=20mm, minimum height=12mm] (r3) at (83,11) {\textbf{Demander}\\ le test qui manque};27  \node[atlas block uncertain, text width=16mm, minimum height=12mm] (r4) at (110,11) {\textbf{Demander}\\ une explication};28  \draw[atlas arrow hazard] (g1.south) -- node[atlas note, right] {non} (r1.north);29  \draw[atlas arrow hazard] (g2.south) -- node[atlas note, right] {non} (r2.north);30  \draw[atlas arrow, draw=atlasUncertain] (g3.south) -- node[atlas note, right] {non} (r3.north);31  \draw[atlas arrow, draw=atlasUncertain] (g4.south) -- node[atlas note, right] {non} (g4.south |- r4.north);32  % Numéros33  \node[atlas step=atlasUncertain] at (8,40.3) {1};34  \node[atlas step=atlasUncertain] at (41,40.3) {2};35  \node[atlas step=atlasUncertain] at (74,40.3) {3};36  \node[atlas step=atlasUncertain] at (107,40.3) {4};37  % Les trois correctifs de la démonstration38  \node[atlas tag=atlasHazard] at (17,1.2) {correctif 2};39  \node[atlas tag=atlasUncertain] at (83,1.2) {correctif 1};40  \node[atlas tag=atlasValid] at (131,1.2) {correctif 3};41\end{tikzpicture}42
Files main
Menu

Theme