The maximum score available for any of the multiple choice part types is determined by looking at the marking matrix.
In real use, the maximum score should be the same for every student, so it should be possible to determine it from the question definition, without generating an instance of the question.
Fairly often, a multiple choice part has the "marks" field for each choice filled in with an expression like award(1, scenario=N). It's not straightforward to read the maximum possible value out of these expressions.
There is a maxMarks property of the m_n_2 and m_n_x part types which is unset by default. We could insist on this being set, but that would break a lot of existing questions.
I can't see a way of resolving this. It might just be a design mistake that we have to live with.
The maximum score available for any of the multiple choice part types is determined by looking at the marking matrix.
In real use, the maximum score should be the same for every student, so it should be possible to determine it from the question definition, without generating an instance of the question.
Fairly often, a multiple choice part has the "marks" field for each choice filled in with an expression like
award(1, scenario=N)
. It's not straightforward to read the maximum possible value out of these expressions.There is a
maxMarks
property of them_n_2
andm_n_x
part types which is unset by default. We could insist on this being set, but that would break a lot of existing questions.I can't see a way of resolving this. It might just be a design mistake that we have to live with.