Files
DeepTutor/web
Benjamin Schwing 73835e9c37 fix(quiz): keep re-judged notebook entries consistent
A re-judge that lowers a verdict now replaces the stored result instead
of leaving result=correct behind an is_correct=0 row: the client always
sends an explicit result and the entry PATCH derives result and resolved
from is_correct with the upsert's rules. Invalid step entries are
trimmed or dropped rather than voiding a clear verdict, and the verdict
is saved even when the submit upsert lands after the judge starts.

Signed-off-by: Benjamin Schwing <63053132+BenjiAvH@users.noreply.github.com>
2026-11-24 18:51:55 +00:00
..
…