You are viewing this question as it will appear in the manual grading interface. Return to the normal view when you are done.

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.

Demo: Custom grading for a question with many correct answers

Give an example of a $2\times 2$ matrix $A$ such that $\det(A) = -9$.

Correct answer

This question has many correct answers; the answer shown here is just one example.

$A = $ $\begin{bmatrix} -9 & 0\\ 0 & 1\\\end{bmatrix}$

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-04 22:47:35 (CDT)
Duration:
0s
Show/Hide answer
{
  "A": {
    "_type": "ndarray",
    "_dtype": "int64",
    "_value": [
      [
        -9,
        0
      ],
      [
        0,
        1
      ]
    ]
  }
}
History
dec frac
rad deg