README (not visible to students)
This question has many correct answers. Instead of comparing the submission against a fixed correct answer, the grade() function in server.py checks whether the submitted matrix satisfies the required property (a determinant equal to a randomly chosen value). The stored correct answer is only one example of a valid answer, which is shown to students in the answer panel.
Correct answer
Student view placeholder
In student views this area is used for assessment and score info.
Tools
Staff information
Question
Title:
Demo: Custom grading for a question with many correct answers
Variant
Started at:
2026-08-05 00:45:48 (CDT)
Duration:
0s
Show/Hide answer
{
"A": {
"_type": "ndarray",
"_dtype": "int64",
"_value": [
[
4,
0
],
[
0,
1
]
]
}
}