Skip to content

It's annoying that a question's maximum score can't be determined without running it #1070

@christianp

Description

@christianp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficult!Issues that will take a long time to implement, or involve big breaking changesNeeds thinking about

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions