mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 22:20:31 +08:00
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>