SPB Git

Repository Public MIT Research preview

S15-F05-decision-de-revue.tex 2.5 KB 33 lines latex

1% S15-F05 — L'arbre de décision de la revue : quatre questions, dans l'ordre, avant d'accepter.2% Idée : « les essais passent » n'est que la deuxième question sur quatre. La portée se vérifie3% avant, la couverture des critères et la lecture du diff après. Chaque « non » a une issue précise.4% Les candidats de la séance sont placés là où la revue les arrête (résultats de la démonstration).5\begin{tikzpicture}[x=1mm, y=1mm]6  \foreach \x/\n/\q in {16/1/{Le changement reste dans\\ la portée demandée ?},7                        49/2/{Tous les essais\\ d'acceptation réussissent ?},8                        82/3/{Chaque situation des\\ critères a son essai ?},9                        115/4/{Le diff ne contient\\ rien d'inattendu ?}}{10    \node[atlas gate, minimum width=13mm, minimum height=9mm] (g\n) at (\x,29) {\textbf{\n}};11    \node[atlas label, align=center, font=\AtlasSizeTiny] at (\x,40.5) {\q};12  }13  \draw[atlas arrow] (0,29) -- (g1.west);14  \foreach \a/\b in {1/2,2/3,3/4}{\draw[atlas arrow valid] (g\a.east) -- node[atlas note, above] {oui} (g\b.west);}15  \node[atlas block valid, text width=11.5mm, minimum height=9mm] (ok) at (134.5,29) {\textbf{Accepter}\\ commit};16  \draw[atlas arrow valid] (g4.east) -- (ok.west);17  \node[atlas note] at (124.6,31.4) {oui};18  % ---------- Issues des « non » ----------19  \node[atlas block hazard, text width=25mm, minimum height=9mm] (n1) at (16,10) {\textbf{Rejeter}\\ revenir au dernier commit};20  \node[atlas block uncertain, text width=25mm, minimum height=9mm] (n2) at (49,10) {\textbf{Faire corriger}\\ demande plus petite};21  \node[atlas block uncertain, text width=25mm, minimum height=9mm] (n3) at (82,10) {\textbf{Ajouter l'essai}\\ puis relancer la suite};22  \node[atlas block hazard, text width=25mm, minimum height=9mm] (n4) at (115,10) {\textbf{Rejeter}\\ ou faire corriger};23  \draw[atlas arrow hazard] (g1.south) -- node[atlas note, right, pos=.4] {non} (n1.north);24  \draw[atlas arrow, draw=atlasUncertain] (g2.south) -- node[atlas note, right, pos=.4] {non} (n2.north);25  \draw[atlas arrow, draw=atlasUncertain] (g3.south) -- node[atlas note, right, pos=.4] {non} (n3.north);26  \draw[atlas arrow hazard] (g4.south) -- node[atlas note, right, pos=.4] {non} (n4.north);27  % ---------- Où s'arrêtent les candidats ----------28  \node[atlas note, anchor=west] at (0,-.5) {Démonstration :};29  \node[atlas tag=atlasHazard] at (49,-.5) {candidat C : CA-07};30  \node[atlas tag=atlasUncertain] at (82,-.5) {candidat B : CA-04};31  \node[atlas tag=atlasValid] at (134.5,19.5) {cand. A};32\end{tikzpicture}33
Files main
Menu

Theme