Error in question labels in ODS file question statistics (Feature #984)


Added by Pierre Le Scornet about 1 month ago. Updated about 1 month ago.


Status:New Start date:10/20/2025
Priority:Low Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Hi !

When using an ODS export of a AMC exam, I found that the "question statistics" page identifies each question with letters A, B, C... This may not be very readable without information about which label correspond to each answer (for now, we only see the correct/incorrect answers).

Is this possible to change this behavior ? How I see it, you should be able to write a single-answer question with :

    \begin{choices}
      \bonne[correct]{\python{tuple, float, bool, list}}
      \mauvaise[err float]{\python{tuple, int, bool, list}}
      \mauvaise[err bool and list]{\python{list, int, int, str}}
      \mauvaise[err list and list]{\python{tuple, float, bool, str}}
    \end{choices}

and on the ods export you may have :

Box    Nb    /all    /expr
ALL    45        
NA    0    0%    
INVALID    0    0%    
correct    36    80%    80%
err float     5    11%    11%
err bool and list    0    0%    0%
err list and list    4    9%    9%

instead of :

Box    Nb    /all    /expr
ALL    45        
NA    0    0%    
INVALID    0    0%    
A    36    80%    80%
B    5    11%    11%
C    0    0%    0%
D    4    9%    9%

that we get right now.

I know that \bonne & \mauvaise commands may have optionnal arguments already, I can't find their documentation. Maybe there is a way to put it in a second one ?

Thanks for this wonderful software !


History

Also available in: Atom PDF