Files
DeepTutor/deeptutor
Benjamin Schwing 67db2e8dd7 fix(quiz): parse the last judge verdict block and tolerate contract slips
The splitter holds text from the first <verdict> tag and, at the end, takes
the last block as the verdict and releases the prose around it, so prose
that quotes the tag and text after </verdict> are no longer lost. Verdict
tags in learner-supplied prompt fields are neutralised so an echoed tag
cannot grade an answer. The parser case-folds result, truncates an
over-long summary, drops steps without a boolean ok, coerces non-list
steps to none, ignores text after the JSON object and rejects
NaN/Infinity, which browsers cannot parse.

Replace the per-language 'images unreadable' prompt variants with one
neutral system-prompt note; the user prompt only mentions images the
model receives, and the server still forces ungraded.

Signed-off-by: Benjamin Schwing <63053132+BenjiAvH@users.noreply.github.com>
2026-11-24 21:54:40 +00:00
..
2026-11-16 02:17:36 +08:00
2026-11-16 02:17:36 +08:00
…
2026-11-16 02:17:36 +08:00
2026-11-06 01:56:24 +08:00
2026-11-16 02:17:36 +08:00