# 3. AI-Generated Study Plan

User Type: **Student**
Source: *Mi Digital Academy - Education CRM Features Document*

---

## 3. AI-Generated Study Plan

### 3.1 Personalized Plan Creation
**What it does:** Generates a personalized study plan for each target exam based on the predicted score and the gap to the target. The plan prioritizes weak subjects and topics, balances the study load across the time remaining, includes revision cycles, and adapts to the Student's learning pace. The plan is the actionable path from the current prediction to the target.

**Sub-features:**
- Personalized plan based on predicted score and target gap
- Prioritizes weak subjects and topics
- Balances study load across the time remaining
- Includes revision cycles
- Adapts to the Student's learning pace
- Plan view by day and by week
- Regenerate the plan when the prediction changes
- Plan event logging (generated, regenerated)
- Audit logging of the personalized plan creation

**Student User Journey:**
1. Student opens a target exam and taps "Generate study plan".
2. The AI builds a plan that prioritizes Trigonometry (the weakest topic) and balances the load.
3. The plan includes revision cycles in the final two weeks.
4. Student views the plan by day and by week.
5. As the prediction improves, Student regenerates the plan; it re-balances.
6. The plan adapts as the Student's pace changes.
7. Student opens Profile → "Activity" and confirms the plan events are recorded.

**Rules & Edge Cases:**
- The plan is generated from the predicted score and the target gap.
- Weak subjects and topics are prioritized in the plan.
- The study load is balanced across the time remaining.
- Revision cycles are included before the exam date.
- Plan events (generated, regenerated) are logged with the exam and the timestamp.
- The personalized plan creation is audit-logged with the account, the exam, and the timestamp.

### 3.2 Study Plan Components
**What it does:** Breaks the study plan into concrete components: daily and weekly study targets, specific topics to cover, practice and revision blocks, and milestones. Each component is actionable and trackable, and the Student can mark components complete to drive the plan's progress.

**Sub-features:**
- Daily and weekly study targets
- Specific topics to cover per day/week
- Practice and revision blocks
- Milestones within the plan
- Mark a component complete
- Component progress (done vs planned)
- Components linked to the mapped topics
- Component event logging (completed)
- Audit logging of the study plan components

**Student User Journey:**
1. Student opens the study plan for the week and sees the daily targets.
2. Each day lists the topics to cover and a practice block.
3. Student completes a day's topics and marks the components done.
4. A revision block appears in the final week.
5. Milestones (e.g., "Finish Trigonometry") are shown with their status.
6. The component progress shows 70% of the plan complete.
7. Student opens Profile → "Activity" and confirms the component events are recorded.

**Rules & Edge Cases:**
- Daily and weekly targets are derived from the plan.
- A component is linked to a mapped topic.
- Marking a component complete updates the plan progress.
- Milestones are checkpoints within the plan.
- Component events (completed) are logged with the exam and the timestamp.
- The study plan components is audit-logged with the account, the exam, and the timestamp.

### 3.3 Plan Adaptation and Check-ins
**What it does:** Keeps the study plan on track with adaptation and check-ins. The plan adapts when the Student falls behind or ahead, and the platform sends check-in prompts to review progress. The Student can acknowledge a check-in, adjust the plan, or get a re-plan suggestion.

**Sub-features:**
- Plan adapts when the Student falls behind or ahead
- Check-in prompts to review progress
- Acknowledge a check-in
- Adjust the plan from a check-in
- Re-plan suggestion when behind
- Plan adherence metric (on-track vs behind)
- Check-in event logging (prompted, acknowledged, adjusted)
- Audit logging of the plan adaptation and check-ins

**Student User Journey:**
1. The platform sends a check-in: "You're 2 days behind on the plan."
2. Student opens the check-in and sees the re-plan suggestion.
3. Student acknowledges the check-in and accepts the re-plan.
4. The plan adapts, moving tasks to the coming days.
5. The plan adherence metric shows the Student is now on track.
6. Later, Student is ahead; the plan adapts to add a revision cycle.
7. Student opens Profile → "Activity" and confirms the check-in events are recorded.

**Rules & Edge Cases:**
- The plan adapts when the Student falls behind or ahead of schedule.
- A check-in prompt is sent when adherence drops below the threshold.
- A re-plan suggestion is offered when the Student is behind.
- The adherence metric is on-track vs behind.
- Check-in events (prompted, acknowledged, adjusted) are logged with the exam and the timestamp.
- The plan adaptation and check-ins is audit-logged with the account, the exam, and the timestamp.
