Gives the grader a chance to do any one-time preparation depending on
the exam and question it is being used for. Generally, this is used to
process manual grading results, which are loaded externally and provided
as a parameter when prepare()
is called.
Grades the given assigned question and returns the grading result. This function does not itself modify the assigned question to contain the result (just returns it).
Computes the number of points earned for the given grading result. Heads up! This could be negative or more than the number of points a question is worth, depending on the type of grader. That's not the concern of the grader, and it's presumed to be handled elsewhere (e.g. by clamping the value between 0 and max points possible on a question).
Renders a report of how an individual question was graded to an HTML string.
Renders an overview of the results on all graded questions to an HTML string.
Generated using TypeDoc
Returns whether or not this grader can be used for the given response kind