mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 15:49:27 +08:00
mastery_build rejected everything that was not exactly
[{name, knowledge_points: [{name, type}]}]. Smaller and local models
routinely answer with 'objectives' instead of 'modules', 'title' or
'description' instead of 'name', bare strings instead of knowledge-point
objects, or a flat objective list with no module layer at all. Each of
those was dropped by a silent 'continue', so the path saved empty, never
appeared in Learning Space, and the learner saw no error (#1019).
Normalize the shape before validating it, and make the one remaining
failure state the expected schema instead of just refusing.