You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\newcommand{\problemletter}{} % Empty to hide activity chart
% If solve_stats/activity/A.tex exists, define the \activitychart command
\IfFileExists{./solve_stats/activity/A.tex}{
\newcommand{\activitychart}{
\ifdefempty{\problemletter}{}{
\includestandalone[width=\textwidth]{solve_stats/activity/\problemletter}
}
}
}{
\newcommand{\activitychart}{}
}
\newcommand{\printsolvestats}[3]{%
\vfill
\onslide<+->
Statistics: #1 submissions, #2 accepted, #3 unknown%
}
% Define \solvestats for the current problem if the file exists.
\IfFileExists{./solve_stats/problem_stats.tex}{
\newcommand{\solvestats}{\csname solvestats\problemletter \endcsname}
\input{./solve_stats/problem_stats.tex}
}{
\newcommand{\solvestats}{}
}
It might be nice to generate this as a separate file as well so users of the tool don't have to remember/copy this or figure it out otherwise.
\printsolvestats is the only customization punt here, so maybe that one should be user defined and the rest can be generated. (But then add a latex comment about this in the generated file anyway maybe.)
For BAPC I created a
run.sh
script as follows (login params omitted)It would be really nice to directly create the
problem_stats.tex
(or probablysolve_stats.tex
) when runninganalysis:activity
. The output I used was:The text was updated successfully, but these errors were encountered: