numbas / Numbas

A completely browser-based e-assessment/e-learning system, with an emphasis on mathematics
http://www.numbas.org.uk
Apache License 2.0
202 stars 117 forks source link

Show errors produced when doing adaptive marking #826

Closed christianp closed 3 years ago

christianp commented 3 years ago

There was a question which used adaptive marking to replace a variable with the value of the student's answer to a gapfill part, instead of the gap. So the replaced value was a list instead of a number, and evaluating a dependent variable threw an error. That error was only logged to the console, so it just looked like the answer was marked as incorrect.

The part feedback should show the same kind of error message as if there's an error in the marking algorithm.