Un exemple avec `\addpoints{...}` :
\documentclass[a4paper, 11pt]{article}
\usepackage[left=1cm,right=3cm,top=1cm, bottom=2cm, headsep=2mm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{xsim}
\begin{document}
\begin{exercise}[subtitle=pour continuer,points=0]
\begin{enumerate}
\item Q1 (\addpoints{2})
\item Q2 (\addpoints{2})
\item Q3 (\addpoints{1})
\item Q4 (\addpoints{2})
\end{enumerate}
\end{exercise}
\begin{solution}
\begin{enumerate}
\item R1
\item R2
\item R3
\item R4
\end{enumerate}
\end{solution}
\newpage
\printallsolutions
\begin{center}
\gradingtable[template=default*]
\end{center}
\end{document}\end{document}
![alt text][1]
[1]: https://texnique.fr/osqa/upfiles/Screenshot_2021-11-05_at_21.04.14.png