# 2. Learning Preferences — Test Cases

User Type: **Student**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: learning_preferences.md — every feature, sub-feature, and rule covered

---

## Test Execution Policy
- Zero tolerance: any deviation from documented behavior = FAILED = bug
- Every bug is immediately logged/reported (Bug ID, feature, sub-feature, expected vs actual, severity) and fixed 100% before the group passes
- Feature group passes only at 100% test pass rate

## Coverage Matrix
| Feature | Sub-feature / Rule | Test IDs |
|---------|--------------------|----------|
| 2.1 Learning Style Preferences | Select preferred learning style: visual, auditory, kinesthetic, or mixed | TC-ST-02-02-001 |
| 2.1 Learning Style Preferences | Select preferred content formats (video, audio/podcast, text, interactive) | TC-ST-02-02-002 |
| 2.1 Learning Style Preferences | Preference drives content presentation order (e.g., video-first for visual learners) | TC-ST-02-02-003 |
| 2.1 Learning Style Preferences | Preference influences AI Study Companion responses and recommendations | TC-ST-02-02-004 |
| 2.1 Learning Style Preferences | Change learning style at any time from Profile | TC-ST-02-02-005 |
| 2.1 Learning Style Preferences | Preference applied to new content and recommendations after a change | TC-ST-02-02-006 |
| 2.1 Learning Style Preferences | Preference visibility in the profile summary | TC-ST-02-02-007 |
| 2.1 Learning Style Preferences | Preference change event logging | TC-ST-02-02-008 |
| 2.1 Learning Style Preferences | Audit logging of the learning style preferences | TC-ST-02-02-009 |
| 2.1 Learning Style Preferences | Rule: The learning style is one of: visual, auditory, kinesthetic, or mixed; exactly one must be selected. | TC-ST-02-02-001 |
| 2.1 Learning Style Preferences | Rule: At least one content format must be selected. | TC-ST-02-02-002 |
| 2.1 Learning Style Preferences | Rule: A preference change applies to new content and recommendations from the point of change; already-completed content is not re-rendered. | TC-ST-02-02-003 |
| 2.1 Learning Style Preferences | Rule: The preference is visible in the profile summary. | TC-ST-02-02-004 |
| 2.1 Learning Style Preferences | Rule: Preference changes are logged with the old and new values and the timestamp. | TC-ST-02-02-005 |
| 2.1 Learning Style Preferences | Rule: The learning style preferences are audit-logged with the account, the values, and the timestamp. | TC-ST-02-02-006 |
| 2.2 Subject and Topic Preferences | Select subjects needing the most help (multi-select from enrolled/available subjects) | TC-ST-02-02-010 |
| 2.2 Subject and Topic Preferences | Select priority topics within a subject | TC-ST-02-02-011 |
| 2.2 Subject and Topic Preferences | Mark topics to avoid (e.g., already mastered) | TC-ST-02-02-012 |
| 2.2 Subject and Topic Preferences | Preferences drive "Recommended for you" and "Continue learning" | TC-ST-02-02-013 |
| 2.2 Subject and Topic Preferences | Preferences feed the Smart Study Planner focus | TC-ST-02-02-014 |
| 2.2 Subject and Topic Preferences | Preferences influence the AI Study Companion's subject focus | TC-ST-02-02-015 |
| 2.2 Subject and Topic Preferences | Reorder or remove preferences at any time | TC-ST-02-02-016 |
| 2.2 Subject and Topic Preferences | Preference visibility in the profile summary | TC-ST-02-02-017 |
| 2.2 Subject and Topic Preferences | Preference change event logging | TC-ST-02-02-018 |
| 2.2 Subject and Topic Preferences | Audit logging of the subject and topic preferences | TC-ST-02-02-019 |
| 2.2 Subject and Topic Preferences | Rule: Subjects can only be selected from those available to the Student (enrolled or in their grade/board). | TC-ST-02-02-010 |
| 2.2 Subject and Topic Preferences | Rule: A topic to avoid is excluded from recommendations but not from assessments the Student must take. | TC-ST-02-02-011 |
| 2.2 Subject and Topic Preferences | Rule: Preference changes apply to recommendations and planning from the point of change. | TC-ST-02-02-012 |
| 2.2 Subject and Topic Preferences | Rule: The preferences are visible in the profile summary. | TC-ST-02-02-013 |
| 2.2 Subject and Topic Preferences | Rule: Preference changes are logged with the old and new values and the timestamp. | TC-ST-02-02-014 |
| 2.2 Subject and Topic Preferences | Rule: The subject and topic preferences are audit-logged with the account, the values, and the timestamp. | TC-ST-02-02-015 |
| 2.3 Study Time and Daily Study Time | Select preferred study time of day: morning, afternoon, evening, or late night | TC-ST-02-02-020 |
| 2.3 Study Time and Daily Study Time | Set daily study time available via a slider (e.g., 30 minutes to 4 hours) | TC-ST-02-02-021 |
| 2.3 Study Time and Daily Study Time | Preference drives Smart Study Planner session scheduling | TC-ST-02-02-022 |
| 2.3 Study Time and Daily Study Time | Preference drives "best time to study" insights | TC-ST-02-02-023 |
| 2.3 Study Time and Daily Study Time | Preference drives reminder and notification timing | TC-ST-02-02-024 |
| 2.3 Study Time and Daily Study Time | Change study time or daily study time at any time | TC-ST-02-02-025 |
| 2.3 Study Time and Daily Study Time | Preference visibility in the profile summary | TC-ST-02-02-026 |
| 2.3 Study Time and Daily Study Time | Preference change event logging | TC-ST-02-02-027 |
| 2.3 Study Time and Daily Study Time | Audit logging of the study time and daily study time | TC-ST-02-02-028 |
| 2.3 Study Time and Daily Study Time | Rule: The study time of day is one of: morning, afternoon, evening, or late night. | TC-ST-02-02-020 |
| 2.3 Study Time and Daily Study Time | Rule: The daily study time is within the slider's minimum and maximum bounds. | TC-ST-02-02-021 |
| 2.3 Study Time and Daily Study Time | Rule: A preference change applies to scheduling and reminders from the point of change. | TC-ST-02-02-022 |
| 2.3 Study Time and Daily Study Time | Rule: The "best time to study" insight blends the stated preference with actual activity data. | TC-ST-02-02-023 |
| 2.3 Study Time and Daily Study Time | Rule: Preference changes are logged with the old and new values and the timestamp. | TC-ST-02-02-024 |
| 2.3 Study Time and Daily Study Time | Rule: The study time and daily study time are audit-logged with the account, the values, and the timestamp. | TC-ST-02-02-025 |

## 2.1 Learning Style Preferences

### TC-ST-02-02-001 — Select preferred learning style: visual, auditory, kinesthetic, or mixed
**Type:** Positive
**Covers:** 2.1 → Select preferred learning style: visual, auditory, kinesthetic, or mixed; Rule: The learning style is one of: visual, auditory, kinesthetic, or mixed; exactly one must be selected.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, perform the action associated with: Select preferred learning style: visual, auditory, kinesthetic, or mixed.
2. Open the relevant activity / audit log and verify the event is recorded with the account, the action, and the timestamp.
**Expected Result:** The action is audit-logged — the account, the action, and the timestamp are recorded.
**Priority:** Critical

### TC-ST-02-02-002 — Select preferred content formats (video, audio/podcast, text, interactive)
**Type:** Positive
**Covers:** 2.1 → Select preferred content formats (video, audio/podcast, text, interactive); Rule: At least one content format must be selected.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Select preferred content formats (video.
2. Observe the result and verify the full behavior: Select preferred content formats (video, audio/podcast, text, interactive).
**Expected Result:** Select preferred content formats (video, audio/podcast, text, interactive) — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-003 — Preference drives content presentation order (e.g., video-first for visual learners)
**Type:** Positive
**Covers:** 2.1 → Preference drives content presentation order (e.g., video-first for visual learners); Rule: A preference change applies to new content and recommendations from the point of change; already-completed content is not re-rendered.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preference drives content presentation order (e.g..
2. Observe the result and verify the full behavior: Preference drives content presentation order (e.g., video-first for visual learners).
**Expected Result:** Preference drives content presentation order (e.g., video-first for visual learners) — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-004 — Preference influences AI Study Companion responses and recommendations
**Type:** Positive
**Covers:** 2.1 → Preference influences AI Study Companion responses and recommendations; Rule: The preference is visible in the profile summary.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preference influences AI Study Companion responses and recommendations.
2. Observe the result and verify the full behavior: Preference influences AI Study Companion responses and recommendations.
**Expected Result:** Preference influences AI Study Companion responses and recommendations — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-005 — Change learning style at any time from Profile
**Type:** Positive
**Covers:** 2.1 → Change learning style at any time from Profile; Rule: Preference changes are logged with the old and new values and the timestamp.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Change learning style at any time from Profile.
2. Observe the result and verify the full behavior: Change learning style at any time from Profile.
**Expected Result:** Change learning style at any time from Profile — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-006 — Preference applied to new content and recommendations after a change
**Type:** Positive
**Covers:** 2.1 → Preference applied to new content and recommendations after a change; Rule: The learning style preferences are audit-logged with the account, the values, and the timestamp.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preference applied to new content and recommendations after a change.
2. Observe the result and verify the full behavior: Preference applied to new content and recommendations after a change.
**Expected Result:** Preference applied to new content and recommendations after a change — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-007 — Preference visibility in the profile summary
**Type:** Positive
**Covers:** 2.1 → Preference visibility in the profile summary
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preference visibility in the profile summary.
2. Observe the result and verify the full behavior: Preference visibility in the profile summary.
**Expected Result:** Preference visibility in the profile summary — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-008 — Preference change event logging
**Type:** Positive
**Covers:** 2.1 → Preference change event logging
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preference change event logging.
2. Observe the result and verify the full behavior: Preference change event logging.
**Expected Result:** Preference change event logging — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-009 — Audit logging of the learning style preferences
**Type:** Positive
**Covers:** 2.1 → Audit logging of the learning style preferences
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, perform the action associated with: Audit logging of the learning style preferences.
2. Open the relevant activity / audit log and verify the event is recorded with the account, the action, and the timestamp.
**Expected Result:** The action is audit-logged — the account, the action, and the timestamp are recorded.
**Priority:** Critical

## 2.2 Subject and Topic Preferences

### TC-ST-02-02-010 — Select subjects needing the most help (multi-select from enrolled/available subjects)
**Type:** Positive
**Covers:** 2.2 → Select subjects needing the most help (multi-select from enrolled/available subjects); Rule: Subjects can only be selected from those available to the Student (enrolled or in their grade/board).
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Select subjects needing the most help (multi-select from enrolled/available subjects).
2. Observe the result and verify the full behavior: Select subjects needing the most help (multi-select from enrolled/available subjects).
**Expected Result:** Select subjects needing the most help (multi-select from enrolled/available subjects) — delivered exactly as documented.
**Priority:** Critical

### TC-ST-02-02-011 — Select priority topics within a subject
**Type:** Positive
**Covers:** 2.2 → Select priority topics within a subject; Rule: A topic to avoid is excluded from recommendations but not from assessments the Student must take.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Select priority topics within a subject.
2. Observe the result and verify the full behavior: Select priority topics within a subject.
**Expected Result:** Select priority topics within a subject — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-012 — Mark topics to avoid (e.g., already mastered)
**Type:** Positive
**Covers:** 2.2 → Mark topics to avoid (e.g., already mastered); Rule: Preference changes apply to recommendations and planning from the point of change.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Mark topics to avoid (e.g..
2. Observe the result and verify the full behavior: Mark topics to avoid (e.g., already mastered).
**Expected Result:** Mark topics to avoid (e.g., already mastered) — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-013 — Preferences drive "Recommended for you" and "Continue learning"
**Type:** Positive
**Covers:** 2.2 → Preferences drive "Recommended for you" and "Continue learning"; Rule: The preferences are visible in the profile summary.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preferences drive "Recommended for you" and "Continue learning".
2. Observe the result and verify the full behavior: Preferences drive "Recommended for you" and "Continue learning".
**Expected Result:** Preferences drive "Recommended for you" and "Continue learning" — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-014 — Preferences feed the Smart Study Planner focus
**Type:** Positive
**Covers:** 2.2 → Preferences feed the Smart Study Planner focus; Rule: Preference changes are logged with the old and new values and the timestamp.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preferences feed the Smart Study Planner focus.
2. Observe the result and verify the full behavior: Preferences feed the Smart Study Planner focus.
**Expected Result:** Preferences feed the Smart Study Planner focus — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-015 — Preferences influence the AI Study Companion's subject focus
**Type:** Positive
**Covers:** 2.2 → Preferences influence the AI Study Companion's subject focus; Rule: The subject and topic preferences are audit-logged with the account, the values, and the timestamp.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preferences influence the AI Study Companion's subject focus.
2. Observe the result and verify the full behavior: Preferences influence the AI Study Companion's subject focus.
**Expected Result:** Preferences influence the AI Study Companion's subject focus — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-016 — Reorder or remove preferences at any time
**Type:** Positive
**Covers:** 2.2 → Reorder or remove preferences at any time
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Reorder or remove preferences at any time.
2. Observe the result and verify the full behavior: Reorder or remove preferences at any time.
**Expected Result:** Reorder or remove preferences at any time — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-017 — Preference visibility in the profile summary
**Type:** Positive
**Covers:** 2.2 → Preference visibility in the profile summary
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preference visibility in the profile summary.
2. Observe the result and verify the full behavior: Preference visibility in the profile summary.
**Expected Result:** Preference visibility in the profile summary — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-018 — Preference change event logging
**Type:** Positive
**Covers:** 2.2 → Preference change event logging
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preference change event logging.
2. Observe the result and verify the full behavior: Preference change event logging.
**Expected Result:** Preference change event logging — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-019 — Audit logging of the subject and topic preferences
**Type:** Positive
**Covers:** 2.2 → Audit logging of the subject and topic preferences
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, perform the action associated with: Audit logging of the subject and topic preferences.
2. Open the relevant activity / audit log and verify the event is recorded with the account, the action, and the timestamp.
**Expected Result:** The action is audit-logged — the account, the action, and the timestamp are recorded.
**Priority:** Critical

## 2.3 Study Time and Daily Study Time

### TC-ST-02-02-020 — Select preferred study time of day: morning, afternoon, evening, or late night
**Type:** Positive
**Covers:** 2.3 → Select preferred study time of day: morning, afternoon, evening, or late night; Rule: The study time of day is one of: morning, afternoon, evening, or late night.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Select preferred study time of day: morning.
2. Observe the result and verify the full behavior: Select preferred study time of day: morning, afternoon, evening, or late night.
**Expected Result:** Select preferred study time of day: morning, afternoon, evening, or late night — delivered exactly as documented.
**Priority:** Critical

### TC-ST-02-02-021 — Set daily study time available via a slider (e.g., 30 minutes to 4 hours)
**Type:** Positive
**Covers:** 2.3 → Set daily study time available via a slider (e.g., 30 minutes to 4 hours); Rule: The daily study time is within the slider's minimum and maximum bounds.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Set daily study time available via a slider (e.g..
2. Observe the result and verify the full behavior: Set daily study time available via a slider (e.g., 30 minutes to 4 hours).
**Expected Result:** Set daily study time available via a slider (e.g., 30 minutes to 4 hours) — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-022 — Preference drives Smart Study Planner session scheduling
**Type:** Positive
**Covers:** 2.3 → Preference drives Smart Study Planner session scheduling; Rule: A preference change applies to scheduling and reminders from the point of change.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preference drives Smart Study Planner session scheduling.
2. Observe the result and verify the full behavior: Preference drives Smart Study Planner session scheduling.
**Expected Result:** Preference drives Smart Study Planner session scheduling — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-023 — Preference drives "best time to study" insights
**Type:** Positive
**Covers:** 2.3 → Preference drives "best time to study" insights; Rule: The "best time to study" insight blends the stated preference with actual activity data.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preference drives "best time to study" insights.
2. Observe the result and verify the full behavior: Preference drives "best time to study" insights.
**Expected Result:** Preference drives "best time to study" insights — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-024 — Preference drives reminder and notification timing
**Type:** Positive
**Covers:** 2.3 → Preference drives reminder and notification timing; Rule: Preference changes are logged with the old and new values and the timestamp.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preference drives reminder and notification timing.
2. Observe the result and verify the full behavior: Preference drives reminder and notification timing.
**Expected Result:** Preference drives reminder and notification timing — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-025 — Change study time or daily study time at any time
**Type:** Positive
**Covers:** 2.3 → Change study time or daily study time at any time; Rule: The study time and daily study time are audit-logged with the account, the values, and the timestamp.
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Change study time or daily study time at any time.
2. Observe the result and verify the full behavior: Change study time or daily study time at any time.
**Expected Result:** Change study time or daily study time at any time — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-026 — Preference visibility in the profile summary
**Type:** Positive
**Covers:** 2.3 → Preference visibility in the profile summary
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preference visibility in the profile summary.
2. Observe the result and verify the full behavior: Preference visibility in the profile summary.
**Expected Result:** Preference visibility in the profile summary — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-027 — Preference change event logging
**Type:** Positive
**Covers:** 2.3 → Preference change event logging
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, set up the precondition and perform: Preference change event logging.
2. Observe the result and verify the full behavior: Preference change event logging.
**Expected Result:** Preference change event logging — delivered exactly as documented.
**Priority:** High

### TC-ST-02-02-028 — Audit logging of the study time and daily study time
**Type:** Positive
**Covers:** 2.3 → Audit logging of the study time and daily study time
**Preconditions:** A Student account is active and the Student is in the state required for this behavior.
**Steps:**
1. As a Student, perform the action associated with: Audit logging of the study time and daily study time.
2. Open the relevant activity / audit log and verify the event is recorded with the account, the action, and the timestamp.
**Expected Result:** The action is audit-logged — the account, the action, and the timestamp are recorded.
**Priority:** Critical
