mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 04:20:04 +08:00
The quiz step asks for one JSON object out of a budget that reasoning tokens also draw on, so a thinking model can spend the whole budget thinking and leave nothing to parse. The repair round that exists to rescue it is itself an LLM round and starves the same way, with nothing after it left to ask again -- the learner got a "[Generation failed]" placeholder, which is #1508's probabilistic missing question. Give that round the retry _plan already has. The envelope then hid the failure: `successful` counted metadata["error"], a key the pipeline never writes, so an all-placeholder quiz reported success=True / failed=0 to book blocks and exam_mimic. Count `issues` instead -- it is recomputed after the repair attempt, so what survives it is the question the learner actually got.