enable Classe POV for evaluations

This commit is contained in:
Benjamin Bertrand 2017-04-01 13:35:50 +03:00
parent b607d64e3a
commit 738cf00655
2 changed files with 24 additions and 2 deletions

View File

@ -58,7 +58,7 @@ def eval_report(classe, evalname, path = Path('./'), template = "tpl_reports_eva
report_info = eval_info(classe, eval_df)
students = evaluation.students_pov(quest_df, exo_df, eval_df)
#class_pov = term.class_pov(quest_df, exo_df, eval_df)
class_pov = evaluation.class_pov(quest_df, exo_df, eval_df)
studs = {*this_df['Eleve']}
present = {*eval_df['Eleve']}
@ -66,7 +66,7 @@ def eval_report(classe, evalname, path = Path('./'), template = "tpl_reports_eva
datas = {"report_info": report_info,
"students":students,
#"classe": class_pov,
"classe": class_pov,
"absents": absents
}

View File

@ -6,6 +6,28 @@
\maketitle
%- if absents
Liste des élèves absents
\begin{itemize}
%- for e in absents
\item \Var{e}
%- endfor
\end{itemize}
%- endif
\Var{classe.level_heatmap | includegraphics(document_path=directory, scale=0.6)}
\Var{classe.hist_boxplot | includegraphics(document_path=directory, scale=0.6)}
Compétences
\Var{classe.pies_eff_pts_on_competence | includegraphics(document_path=directory, scale=0.5)}
Élements du programme
\Var{classe.pies_eff_pts_on_domaine | includegraphics(document_path=directory, scale=0.5)}
\vfill
%- endblock