mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 04:49:39 +08:00
- Add PRACTICE_QUIZ stage between Feynman Check and Error Diagnosis - Generate 5-10 practice questions per module, record attempts but don't gate mastery - Fix auto-advance race: move stagesRef updates outside React setState callbacks - Fix stale handleStreamEvent closure via ref pattern - Fix PLAN stage permanent deadlock when modules not initialized - Clear error state unconditionally on new stage_start - Add cancelStreamingTurn to sidebar and chat page for proper cleanup - Fix cancelStreamingTurn to handle missing turnId gracefully - Keep empty page_ids refs for whole-book resolution in guided learning