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