MC Score Types

For an answer of type mc.matrix or mc.multiple (and partially mc.yesno) you can not only set the score factor with \score but also choose between different manners for computing the score:

a) Type AllMustBeCorrect If you want the students only geting points if all choices are correct, use \allMustBeCorrect. (works for type mc.yesno)
b) For other Types use the command: \MCScoreType{<score type>} (does not yet work for type mc.yesno)

score type How the score is computed mc.multiple mc.yesno mc.matrix
1 (default) (TP - (FP / (N + 1) ) ) / T ✔️ ✔️
2 (TP + TN) / (P + N) ✔️ ✔️
3 (TP - FP) / P ✔️ ✔️
4 column-wise ✔️
5 1 if FP + FN = 0; 0.5 if FP + FN = 1; 0 otherwise (Kprim) ✔️ ✔️ ✔️
6 TP/T if FP = 0; 0 otherwise ✔️ ✔️
7 max(0, (T - F) / (P + N)) ✔️ ✔️ ✔️
8 row-wise ✔️
??? further types will be available in the future

TP: true positive, FP: false positive, TN: true negative, FN: false negative, T: all true, P: all positive, N: all negative

Remark: The commands \score and \MCScoreType are only available within an answer, but not on question level.

Example: Select all true statements

Type 1 Type 2 Type 3 \allMustBeCorrect
4r 100% 100% 100% 100%
3r 83,33333% 75% 50% 0%
2r 66,66667% 50% 0% 0%
1r 16,666667% 25% 0% 0%
0r 0% 0% 0% 0%
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
\begin{answer}
 
      \type{mc.matrix}
        \text{...}
        \tasks{...}
 
        \score{6}
        \MCScoreType{2}
 
        \begin{row}
        % ...
        \end{row}
 
        \begin{row}
            % ...
        \end{row}
 
\end{answer}
 
\begin{answer}
 
      \type{mc.matrix}
        \text{...}
        \tasks{...}
 
        \score{6}
        \allMustBeCorrect
 
        \begin{row}
        % ...
        \end{row}
 
        \begin{row}
            % ...
        \end{row}
 
\end{answer}
 
\begin{answer}
 
      \type{mc.multiple}
        \text{...}
 
        \score{4}
        \MCScoreType{3}
      % ...
 
\end{answer}
 
\begin{answer}
 
      \type{mc.multiple}
        \text{...}
 
        \score{4}
        \allMustBeCorrect
      % ...
 
\end{answer}