%- extends "tpl_reports.tex" % FILENAME: "tpl_reports_eval.tex %- block classPOV \maketitle Devoir sur \Var{eval_df["Bareme"].iloc[0]} \vfill \Var{eval_df.describe()[["Mark"]].T.to_latex()} \vfill \Var{eval_df| marks_hist | includegraphics(document_path=directory, scale=0.5)} %- endblock %-block students %- for e in students \maketitle \begin{minipage}{0.5\linewidth} \large \Var{e["Nom"]} \end{minipage} \begin{minipage}{0.3\linewidth} \begin{flushright} \Large \Var{e["Total"]["Mark"]} / \Var{e["Total"]["Bareme"]} \end{flushright} \end{minipage} \vfill \begin{minipage}{0.6\linewidth} \fbox{% \begin{minipage}{0.9\linewidth} \hfill \vspace{2cm} \end{minipage} } \end{minipage} \begin{minipage}{0.4\linewidth} \Var{e["quest"] | radar_on("Competence") | includegraphics(document_path=directory, scale=0.4)} \end{minipage} \vfill \scriptsize \begin{multicols}{3} %- for exo in e["Exercices"] \begin{tabular}{|p{2cm}|c|} %- if exo["Nom"] in ["Bonus", "Malus", "Presentation"] %- for _,q in exo["Questions"].iterrows() %- if q["Mark"] \hline \rowcolor{highlightbg} \Var{exo["Nom"]} (\Var{q["Question"]}) & \Var{q["Latex_rep"]} \\ %- endif %- endfor %- else \hline \rowcolor{highlightbg} Exerice \Var{exo["Nom"]} & \Var{exo["Total"]["Mark"]} / \Var{exo["Total"]["Bareme"]} \\ %- for _,q in exo["Questions"].iterrows() \hline \Var{q["Question"]} \newline \Var{q["Commentaire"]} & \Var{q["Latex_rep"]} \\ %- endfor %- endif \hline \end{tabular} %- endfor \end{multicols} \vfill \begin{center} Pas de réponse \NoRep \hfill Tout faux \RepZ \hfill Beaucoup d'erreurs \RepU \hfill Quelques erreurs \RepD \hfill Juste \RepT \hfill \end{center} \normalsize \pagebreak %- endfor %- endblock