# 4. Peer Benchmarking & AI Summaries — Test Cases

User Type: **Student**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: peer_benchmarking_summaries.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 |
|---------|--------------------|----------|
| 4.1 Anonymous Peer Benchmarking | Compare progress with similar Students (anonymous) | TC-ST-14-04-001 |
| 4.1 Anonymous Peer Benchmarking | Percentile ranking | TC-ST-14-04-002 |
| 4.1 Anonymous Peer Benchmarking | Growth rate comparison | TC-ST-14-04-003 |
| 4.1 Anonymous Peer Benchmarking | Peer group defined by similar goals | TC-ST-14-04-004 |
| 4.1 Anonymous Peer Benchmarking | No individual peer identified | TC-ST-14-04-005 |
| 4.1 Anonymous Peer Benchmarking | Benchmarking available on web and mobile | TC-ST-14-04-006 |
| 4.1 Anonymous Peer Benchmarking | Benchmarking event logging (viewed) | TC-ST-14-04-007 |
| 4.1 Anonymous Peer Benchmarking | Audit logging of the anonymous peer benchmarking | TC-ST-14-04-008 |
| 4.1 Anonymous Peer Benchmarking | Rule: The benchmarking is anonymous; no individual peer is identified. | TC-ST-14-04-001 |
| 4.1 Anonymous Peer Benchmarking | Rule: The peer group is defined by similar goals. | TC-ST-14-04-002 |
| 4.1 Anonymous Peer Benchmarking | Rule: The percentile ranking is shown. | TC-ST-14-04-003 |
| 4.1 Anonymous Peer Benchmarking | Rule: Benchmarking events (viewed) are logged with the account and the timestamp. | TC-ST-14-04-004 |
| 4.1 Anonymous Peer Benchmarking | Rule: The anonymous peer benchmarking is audit-logged with the account and the timestamp. | TC-ST-14-04-005 |
| 4.2 Growth Rate and Success Stories | Growth rate over time | TC-ST-14-04-009 |
| 4.2 Growth Rate and Success Stories | Progress improvement view | TC-ST-14-04-010 |
| 4.2 Growth Rate and Success Stories | Inspiring success stories | TC-ST-14-04-011 |
| 4.2 Growth Rate and Success Stories | Success stories from similar Students | TC-ST-14-04-012 |
| 4.2 Growth Rate and Success Stories | Success story of the week | TC-ST-14-04-013 |
| 4.2 Growth Rate and Success Stories | Growth rate available on web and mobile | TC-ST-14-04-014 |
| 4.2 Growth Rate and Success Stories | Growth event logging (viewed) | TC-ST-14-04-015 |
| 4.2 Growth Rate and Success Stories | Audit logging of the growth rate and success stories | TC-ST-14-04-016 |
| 4.2 Growth Rate and Success Stories | Rule: The growth rate is computed over the selected period. | TC-ST-14-04-009 |
| 4.2 Growth Rate and Success Stories | Rule: Success stories are from similar Students. | TC-ST-14-04-010 |
| 4.2 Growth Rate and Success Stories | Rule: A success story of the week is featured. | TC-ST-14-04-011 |
| 4.2 Growth Rate and Success Stories | Rule: Growth events (viewed) are logged with the account and the timestamp. | TC-ST-14-04-012 |
| 4.2 Growth Rate and Success Stories | Rule: The growth rate and success stories is audit-logged with the account and the timestamp. | TC-ST-14-04-013 |
| 4.3 AI-Generated Chapter Summaries | AI summary of a chapter | TC-ST-14-04-017 |
| 4.3 AI-Generated Chapter Summaries | Key points in the summary | TC-ST-14-04-018 |
| 4.3 AI-Generated Chapter Summaries | Important formulas highlighted | TC-ST-14-04-019 |
| 4.3 AI-Generated Chapter Summaries | Common pitfalls noted | TC-ST-14-04-020 |
| 4.3 AI-Generated Chapter Summaries | Summary length (short, medium) | TC-ST-14-04-021 |
| 4.3 AI-Generated Chapter Summaries | Regenerate a summary | TC-ST-14-04-022 |
| 4.3 AI-Generated Chapter Summaries | Summary available on web and mobile | TC-ST-14-04-023 |
| 4.3 AI-Generated Chapter Summaries | Summary event logging (generated, viewed) | TC-ST-14-04-024 |
| 4.3 AI-Generated Chapter Summaries | Audit logging of the AI-generated chapter summaries | TC-ST-14-04-025 |
| 4.3 AI-Generated Chapter Summaries | Rule: A summary is generated for a chapter. | TC-ST-14-04-017 |
| 4.3 AI-Generated Chapter Summaries | Rule: The summary includes key points, formulas, and pitfalls. | TC-ST-14-04-018 |
| 4.3 AI-Generated Chapter Summaries | Rule: The summary length is selectable. | TC-ST-14-04-019 |
| 4.3 AI-Generated Chapter Summaries | Rule: A summary can be regenerated. | TC-ST-14-04-020 |
| 4.3 AI-Generated Chapter Summaries | Rule: Summary events (generated, viewed) are logged with the chapter and the timestamp. | TC-ST-14-04-021 |
| 4.3 AI-Generated Chapter Summaries | Rule: The AI-generated chapter summaries is audit-logged with the account, the chapter, and the timestamp. | TC-ST-14-04-022 |

## 4.1 Anonymous Peer Benchmarking

### TC-ST-14-04-001 — Compare progress with similar Students (anonymous)
**Type:** Positive
**Covers:** 4.1 → Compare progress with similar Students (anonymous); Rule: The benchmarking is anonymous; no individual peer is identified.
**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: Compare progress with similar Students (anonymous).
2. Observe the result and verify the full behavior: Compare progress with similar Students (anonymous).
**Expected Result:** Compare progress with similar Students (anonymous) — delivered exactly as documented.
**Priority:** Critical

### TC-ST-14-04-002 — Percentile ranking
**Type:** Positive
**Covers:** 4.1 → Percentile ranking; Rule: The peer group is defined by similar goals.
**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: Percentile ranking.
2. Observe the result and verify the full behavior: Percentile ranking.
**Expected Result:** Percentile ranking — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-003 — Growth rate comparison
**Type:** Positive
**Covers:** 4.1 → Growth rate comparison; Rule: The percentile ranking is shown.
**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: Growth rate comparison.
2. Observe the result and verify the full behavior: Growth rate comparison.
**Expected Result:** Growth rate comparison — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-004 — Peer group defined by similar goals
**Type:** Positive
**Covers:** 4.1 → Peer group defined by similar goals; Rule: Benchmarking events (viewed) are logged with the account 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: Peer group defined by similar goals.
2. Observe the result and verify the full behavior: Peer group defined by similar goals.
**Expected Result:** Peer group defined by similar goals — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-005 — No individual peer identified
**Type:** Positive
**Covers:** 4.1 → No individual peer identified; Rule: The anonymous peer benchmarking is audit-logged with the account 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: No individual peer identified.
2. Observe the result and verify the full behavior: No individual peer identified.
**Expected Result:** No individual peer identified — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-006 — Benchmarking available on web and mobile
**Type:** Positive
**Covers:** 4.1 → Benchmarking available on web and mobile
**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: Benchmarking available on web and mobile.
2. Observe the result and verify the full behavior: Benchmarking available on web and mobile.
**Expected Result:** Benchmarking available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-007 — Benchmarking event logging (viewed)
**Type:** Positive
**Covers:** 4.1 → Benchmarking event logging (viewed)
**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: Benchmarking event logging (viewed).
2. Observe the result and verify the full behavior: Benchmarking event logging (viewed).
**Expected Result:** Benchmarking event logging (viewed) — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-008 — Audit logging of the anonymous peer benchmarking
**Type:** Positive
**Covers:** 4.1 → Audit logging of the anonymous peer benchmarking
**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 anonymous peer benchmarking.
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

## 4.2 Growth Rate and Success Stories

### TC-ST-14-04-009 — Growth rate over time
**Type:** Positive
**Covers:** 4.2 → Growth rate over time; Rule: The growth rate is computed over the selected period.
**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: Growth rate over time.
2. Observe the result and verify the full behavior: Growth rate over time.
**Expected Result:** Growth rate over time — delivered exactly as documented.
**Priority:** Critical

### TC-ST-14-04-010 — Progress improvement view
**Type:** Positive
**Covers:** 4.2 → Progress improvement view; Rule: Success stories are from similar Students.
**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: Progress improvement view.
2. Observe the result and verify the full behavior: Progress improvement view.
**Expected Result:** Progress improvement view — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-011 — Inspiring success stories
**Type:** Positive
**Covers:** 4.2 → Inspiring success stories; Rule: A success story of the week is featured.
**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: Inspiring success stories.
2. Observe the result and verify the full behavior: Inspiring success stories.
**Expected Result:** Inspiring success stories — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-012 — Success stories from similar Students
**Type:** Positive
**Covers:** 4.2 → Success stories from similar Students; Rule: Growth events (viewed) are logged with the account 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: Success stories from similar Students.
2. Observe the result and verify the full behavior: Success stories from similar Students.
**Expected Result:** Success stories from similar Students — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-013 — Success story of the week
**Type:** Positive
**Covers:** 4.2 → Success story of the week; Rule: The growth rate and success stories is audit-logged with the account 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: Success story of the week.
2. Observe the result and verify the full behavior: Success story of the week.
**Expected Result:** Success story of the week — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-014 — Growth rate available on web and mobile
**Type:** Positive
**Covers:** 4.2 → Growth rate available on web and mobile
**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: Growth rate available on web and mobile.
2. Observe the result and verify the full behavior: Growth rate available on web and mobile.
**Expected Result:** Growth rate available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-015 — Growth event logging (viewed)
**Type:** Positive
**Covers:** 4.2 → Growth event logging (viewed)
**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: Growth event logging (viewed).
2. Observe the result and verify the full behavior: Growth event logging (viewed).
**Expected Result:** Growth event logging (viewed) — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-016 — Audit logging of the growth rate and success stories
**Type:** Positive
**Covers:** 4.2 → Audit logging of the growth rate and success stories
**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 growth rate and success stories.
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

## 4.3 AI-Generated Chapter Summaries

### TC-ST-14-04-017 — AI summary of a chapter
**Type:** Positive
**Covers:** 4.3 → AI summary of a chapter; Rule: A summary is generated for a chapter.
**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: AI summary of a chapter.
2. Observe the result and verify the full behavior: AI summary of a chapter.
**Expected Result:** AI summary of a chapter — delivered exactly as documented.
**Priority:** Critical

### TC-ST-14-04-018 — Key points in the summary
**Type:** Positive
**Covers:** 4.3 → Key points in the summary; Rule: The summary includes key points, formulas, and pitfalls.
**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: Key points in the summary.
2. Observe the result and verify the full behavior: Key points in the summary.
**Expected Result:** Key points in the summary — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-019 — Important formulas highlighted
**Type:** Positive
**Covers:** 4.3 → Important formulas highlighted; Rule: The summary length is selectable.
**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: Important formulas highlighted.
2. Observe the result and verify the full behavior: Important formulas highlighted.
**Expected Result:** Important formulas highlighted — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-020 — Common pitfalls noted
**Type:** Positive
**Covers:** 4.3 → Common pitfalls noted; Rule: A summary can be regenerated.
**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: Common pitfalls noted.
2. Observe the result and verify the full behavior: Common pitfalls noted.
**Expected Result:** Common pitfalls noted — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-021 — Summary length (short, medium)
**Type:** Positive
**Covers:** 4.3 → Summary length (short, medium); Rule: Summary events (generated, viewed) are logged with the chapter 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: Summary length (short.
2. Observe the result and verify the full behavior: Summary length (short, medium).
**Expected Result:** Summary length (short, medium) — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-022 — Regenerate a summary
**Type:** Positive
**Covers:** 4.3 → Regenerate a summary; Rule: The AI-generated chapter summaries is audit-logged with the account, the chapter, 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: Regenerate a summary.
2. Observe the result and verify the full behavior: Regenerate a summary.
**Expected Result:** Regenerate a summary — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-023 — Summary available on web and mobile
**Type:** Positive
**Covers:** 4.3 → Summary available on web and mobile
**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: Summary available on web and mobile.
2. Observe the result and verify the full behavior: Summary available on web and mobile.
**Expected Result:** Summary available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-024 — Summary event logging (generated, viewed)
**Type:** Positive
**Covers:** 4.3 → Summary event logging (generated, viewed)
**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: Summary event logging (generated.
2. Observe the result and verify the full behavior: Summary event logging (generated, viewed).
**Expected Result:** Summary event logging (generated, viewed) — delivered exactly as documented.
**Priority:** High

### TC-ST-14-04-025 — Audit logging of the AI-generated chapter summaries
**Type:** Positive
**Covers:** 4.3 → Audit logging of the AI-generated chapter summaries
**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 AI-generated chapter summaries.
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
