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
197 stars 118 forks source link

Submitting empty mathematical expression is considered "answered" #1093

Closed Spruce8913 closed 3 months ago

Spruce8913 commented 3 months ago

Minimal working example here

In a multipart question, students rely on the "Answered" or "Partially Answered" overview for the exam, to see what questions still need attention. When submitting an empty answer for a number entry, the part is marked as unanswered; when submitting an empty answer for a mathematical expression, the part is marked answered. image

Would it be possible to check for empty submissions of all part types, to make partially answered labels more reliable?

christianp commented 3 months ago

The difference isn't that part a is a mathematical expression part: it's because it's a gap-fill.

So gap-fill parts should not be marked "answered" if any of the gaps failed to be marked. (this is for me to fix)