Skip to content

WF-12 — Parent Recommendation ​

Từ Learner Model của con + observations + mode → khuyến nghị hành động được cho Marlin, chống intervention error (SDD-002 §13).

mermaid
flowchart TD
  M[Learner Model: gaps, readiness] --> E[Parent Engine]
  O[Parent observations] --> E
  MODE[Study mode / lịch thi] --> E
  E --> H{Tình huống}
  H -- critical prereq gap --> R1["Giúp con xử lý gap gốc — CHƯA CẦN THÊM LỚP"]
  H -- gần kỳ thi --> R2["Ưu tiên luyện đề, giữ nhịp nghỉ"]
  H -- on-track --> R3["Duy trì, không tăng tải"]
  R1 --> D[+ support_actions + dont_do]
  R2 --> D
  R3 --> D

Logic (SDD-002 §13, REQ-PAR-04) ​

  • critical prereq gap → "Tuần này giúp con [gap gốc] — chưa cần đăng ký thêm lớp"; dont_do cảnh báo phản xạ "điểm thấp → học thêm".
  • exam_prep mode → ưu tiên luyện đề + ngủ đủ; tránh lớp cấp tốc quá tải.
  • on-track → duy trì, tránh thêm tài liệu không cần.
  • Luôn kèm support_actions (2-3 việc cụ thể) + dont_do (chống intervention error).

Observations (REQ-PAR-05, REQ-PAR-10) ​

Marlin ghi quan sát (category: focus/motivation/time/emotion/behavior) → learner_evidence (source parent_observation, reliability 0.6) + interaction (visibility learner_parent). Nuôi Parent Model + Learner Model.

Hiện thực ​

POST /v1/learners/:id/observations, GET .../observations, GET .../parent-recommendation?subject_id=. UI trong Marlin child report (tab Tổng quan). Verified: critical gap → "chưa cần thêm lớp"; exam mode → luyện đề.

Trace ​

REQ-PAR-02/04→recommendation+dont_do · REQ-PAR-05/10→observations.