Repository Public MIT Research preview
1% S07-F05 — Fraîcheur et provenance : le passage le plus ressemblant n'est pas le plus à jour.2% Idée : la similarité ignore les dates. Deux versions de la même politique répondent à la même question ;3% la version remplacée ressemble davantage à la question. Ce sont les étiquettes de provenance (version,4% date, statut) qui permettent de trancher, puis de citer. Tous les nombres viennent du code.5% DONNÉES : S07-F05-donnees.tex, généré par demos/src/atlas_s07/exporter_donnees_figure.py.6\input{S07-F05-donnees.tex}%7\begin{tikzpicture}[x=1mm, y=1mm]8 % Question9 \node[draw=atlasUncertain, fill=atlasBg, line width=1.2pt, diamond, minimum size=3.6mm, inner sep=0pt] at (2.4,49.2) {};10 \node[atlas label, anchor=west] at (6,49.2) {\textbf{\SSval{F05-id}} « \SSval{F05-question} »};11 % ---------- Deux fiches de passage ----------12 \tikzset{fiche ancien/.style={dash pattern=on 4pt off 2.4pt}, fiche actuel/.style={}}13 \foreach \nom/\xx/\couleur in {ancien/0/atlasHazard, actuel/73.4/atlasValid} {14 \begin{scope}[shift={(\xx,0)}]15 \draw[draw=\couleur, fill=atlasPanel, line width=1.1pt, rounded corners=2.2pt, fiche \nom] (0,13.5) rectangle (68,44.5);16 \node[atlas tag=\couleur, anchor=west] (t1) at (3,44.5) {\SSval{F05-\nom-doc}};17 \node[atlas tag=\couleur, anchor=west] (t2) at ([xshift=1.6mm]t1.east) {\SSval{F05-\nom-date}};18 \node[atlas tag=\couleur, anchor=west] at ([xshift=1.6mm]t2.east) {\MakeUppercase{\SSval{F05-\nom-statut}}};19 \node[atlas label, anchor=north west, align=left, text width=62.5mm] at (2.6,40.4) {« \SSval{F05-\nom-phrase} »};20 \draw[atlasRule, line width=.5pt] (3,29.6) -- (65,29.6);21 \node[atlas note, anchor=west] at (3,26) {ressemblance avec la question (cosinus)};22 \node[atlas label, anchor=east, font=\AtlasTabularFont\AtlasSizeLabel\bfseries] at (65,26) {\SSval{F05-\nom-cos}};23 \node[atlas note, anchor=west] at (3,21.4) {rang, recherche hybride};24 \node[atlas label, anchor=east, font=\AtlasTabularFont\AtlasSizeLabel\bfseries] at (65,21.4) {\SSval{F05-\nom-rang-avant}};25 \node[atlas note, anchor=west] at (3,16.8) {rang après la règle de fraîcheur};26 \node[atlas label, anchor=east, font=\AtlasTabularFont\AtlasSizeLabel\bfseries, text=\couleur] at (65,16.8) {\SSval{F05-\nom-rang-apres}};27 \end{scope}28 }29 \pic[atlasHazard, scale=.34] at (64.6,40.6) {atlas cross};30 \pic[atlasValid, scale=.34] at (138,40.6) {atlas check};31 % ---------- Ligne du temps : 1 an = 26 mm ; abscisses en années écoulées depuis le 1er janvier 2023 ----------32 \begin{scope}[shift={(34,5)}, x=26mm]33 \draw[atlasRule, line width=.9pt] (-.25,0) -- (3.45,0);34 \foreach \an/\nom in {0/2023,1/2024,2/2025,3/2026} {35 \draw[atlasRule, line width=.9pt] (\an,-.9) -- (\an,.9);36 \node[atlas note, anchor=north] at (\an,-1.2) {\nom};37 }38 \def\ancien{\SSval{F05-ancien-annee}}39 \def\actuel{\SSval{F05-actuel-annee}}40 \draw[atlasHazard, line width=2.2pt, dash pattern=on 4pt off 2.4pt, line cap=butt] (\ancien,2.6) -- (\actuel,2.6);41 \draw[atlasValid, line width=2.2pt, -{Stealth[length=5.2pt,width=5pt]}] (\actuel,2.6) -- (3.45,2.6);42 \fill[atlasHazard] (\ancien,2.6) circle[radius=1.1mm];43 \fill[atlasValid] (\actuel,2.6) circle[radius=1.1mm];44 \node[atlas note, anchor=south, text=atlasHazard, font=\AtlasSizeTiny\bfseries] at ({(\ancien+\actuel)/2},3.4) {version 1 : remplacée};45 \node[atlas note, anchor=south, text=atlasValid, font=\AtlasSizeTiny\bfseries] at ({(\actuel+3.45)/2},3.4) {version 2 : en vigueur};46 \end{scope}47 \node[atlas note, anchor=west, align=left, text width=24mm] at (0,5.4) {\textbf{Validité}\\ des deux versions};48\end{tikzpicture}49