Files
DeepTutor/deeptutor/api
Benjamin Schwing 9c5db755bb feat(quiz): emit a structured verdict frame from the AI judge
The judge now ends its reply with a <verdict> JSON trailer that the
server strips from the streamed prose, validates against the learning
Verdict model (same result vocabulary and 0.8 confidence gate) and sends
as a separate "verdict" frame before "done". Missing or invalid
trailers, low confidence and vision-incapable models yield "ungraded";
points are only kept when the question states them and they are
consistent. Clients that ignore unknown frames see unchanged prose.

Signed-off-by: Benjamin Schwing <63053132+BenjiAvH@users.noreply.github.com>
2026-11-24 18:15:29 +00:00
..
fix
2026-10-28 12:28:20 +08:00