mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 14:59:51 +08:00
- Add stage_failure_counts/stage_failure_notes to LearningProgress for persistent failure tracking - Wrap RAG retrieval with 10s independent timeout in _call_llm_impl - Add _call_llm_with_timeout (default 60s) and _call_llm_with_degradation (bounded retry + skip) - Apply degradation to all 12 stage handlers with stage-specific fallback paths - Extract _run_interactive_quiz_loop shared helper for practice/practice_quiz - Extract StructuredStageContent component from page.tsx - Add TypeError to JSON parse except clauses across 7 files - Simplify _record_attempt_and_update_mastery to single save exit - Move import logging to module top in service.py