# 4. Path Analytics & Reporting — Test Cases

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

## Test Execution Policy

- Zero tolerance: any deviation from the documented behavior is a defect.
- Every failed test is logged with a Bug ID, the feature, the sub-feature, the expected vs actual result, and the severity; 100% of bugs are fixed before the group passes.
- 100% pass rate is required for the group to be marked complete.

## Coverage Matrix

| Feature | Sub-feature / Rule | Test IDs |
|---------|--------------------|----------|
| 4.1 | Completion rate per path | TC-TI-8-04-001 |
| 4.1 | Average time to complete | TC-TI-8-04-002 |
| 4.1 | Drop-off points shown | TC-TI-8-04-003 |
| 4.1 | Completion trend over time | TC-TI-8-04-004 |
| 4.1 | Path ranking by completion | TC-TI-8-04-005 |
| 4.1 | Analytics available on web and mobile | TC-TI-8-04-006 |
| 4.1 | Analytics event logging (viewed) | TC-TI-8-04-007 |
| 4.1 | Audit logging of the path completion analytics | TC-TI-8-04-008 |
| 4.1 | Rule: A drop-off point is the step with the highest abandonment. | TC-TI-8-04-001 |
| 4.1 | Rule: The trend is shown over the selected period. | TC-TI-8-04-002 |
| 4.1 | Rule: Analytics events (viewed) are logged with the account and the timestamp. | TC-TI-8-04-003 |
| 4.1 | Rule: The path completion analytics is audit-logged with the account and the timestamp. | TC-TI-8-04-004 |
| 4.2 | Path performance report | TC-TI-8-04-009 |
| 4.2 | Select path and period | TC-TI-8-04-010 |
| 4.2 | Enrolled students shown | TC-TI-8-04-011 |
| 4.2 | Completions shown | TC-TI-8-04-012 |
| 4.2 | Average scores shown | TC-TI-8-04-013 |
| 4.2 | Step-level performance | TC-TI-8-04-014 |
| 4.2 | Export the report | TC-TI-8-04-015 |
| 4.2 | Report available on web and mobile | TC-TI-8-04-016 |
| 4.2 | Report event logging (generated, exported) | TC-TI-8-04-017 |
| 4.2 | Audit logging of the path performance report | TC-TI-8-04-018 |
| 4.2 | Rule: The report is scoped to the selected path and period. | TC-TI-8-04-009 |
| 4.2 | Rule: The export is available in the standard formats. | TC-TI-8-04-010 |
| 4.2 | Rule: Report events (generated, exported) are logged with the account and the timestamp. | TC-TI-8-04-011 |
| 4.2 | Rule: The path performance report is audit-logged with the account and the timestamp. | TC-TI-8-04-012 |
| 4.3 | Compare two or more paths | TC-TI-8-04-019 |
| 4.3 | Completion rates side by side | TC-TI-8-04-020 |
| 4.3 | Average times side by side | TC-TI-8-04-021 |
| 4.3 | Engagement side by side | TC-TI-8-04-022 |
| 4.3 | Outcomes side by side | TC-TI-8-04-023 |
| 4.3 | Export the comparison | TC-TI-8-04-024 |
| 4.3 | Comparison available on web and mobile | TC-TI-8-04-025 |
| 4.3 | Comparison event logging (generated, exported) | TC-TI-8-04-026 |
| 4.3 | Audit logging of the path comparison | TC-TI-8-04-027 |
| 4.3 | Rule: The comparison is limited to the paths the Institute owns. | TC-TI-8-04-019 |
| 4.3 | Rule: The export is available in the standard formats. | TC-TI-8-04-020 |
| 4.3 | Rule: Comparison events (generated, exported) are logged with the account and the timestamp. | TC-TI-8-04-021 |
| 4.3 | Rule: The path comparison is audit-logged with the account and the timestamp. | TC-TI-8-04-022 |

## 4.1 Path Completion Analytics

### TC-TI-8-04-001 — Completion rate per path
**Type:** Positive
**Covers:** 4.1 → Completion rate per path; Rule: A drop-off point is the step with the highest abandonment.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Completion rate per path.
2. Observe the result and verify the full behavior: Completion rate per path.
**Expected Result:** Completion rate per path — delivered exactly as documented.
**Priority:** Critical

### TC-TI-8-04-002 — Average time to complete
**Type:** Positive
**Covers:** 4.1 → Average time to complete; Rule: The trend is shown over the selected period.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Average time to complete.
2. Observe the result and verify the full behavior: Average time to complete.
**Expected Result:** Average time to complete — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-003 — Drop-off points shown
**Type:** Positive
**Covers:** 4.1 → Drop-off points shown; Rule: Analytics events (viewed) are logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Drop-off points shown.
2. Observe the result and verify the full behavior: Drop-off points shown.
**Expected Result:** Drop-off points shown — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-004 — Completion trend over time
**Type:** Positive
**Covers:** 4.1 → Completion trend over time; Rule: The path completion analytics is audit-logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Completion trend over time.
2. Observe the result and verify the full behavior: Completion trend over time.
**Expected Result:** Completion trend over time — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-005 — Path ranking by completion
**Type:** Positive
**Covers:** 4.1 → Path ranking by completion
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Path ranking by completion.
2. Observe the result and verify the full behavior: Path ranking by completion.
**Expected Result:** Path ranking by completion — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-006 — Analytics available on web and mobile
**Type:** Positive
**Covers:** 4.1 → Analytics available on web and mobile
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Analytics available on web and mobile.
2. Observe the result and verify the full behavior: Analytics available on web and mobile.
**Expected Result:** Analytics available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-007 — Analytics event logging (viewed)
**Type:** Positive
**Covers:** 4.1 → Analytics event logging (viewed)
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Analytics event logging (viewed).
2. Observe the result and verify the full behavior: Analytics event logging (viewed).
**Expected Result:** Analytics event logging (viewed) — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-008 — Audit logging of the path completion analytics
**Type:** Positive
**Covers:** 4.1 → Audit logging of the path completion analytics
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, perform the path completion analytics action.
2. Open the audit log and verify the entry for the action.
**Expected Result:** The path completion analytics action is recorded in the audit log with the account and the timestamp.
**Priority:** Critical


## 4.2 Path Performance Report

### TC-TI-8-04-009 — Path performance report
**Type:** Positive
**Covers:** 4.2 → Path performance report; Rule: The report is scoped to the selected path and period.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Path performance report.
2. Observe the result and verify the full behavior: Path performance report.
**Expected Result:** Path performance report — delivered exactly as documented.
**Priority:** Critical

### TC-TI-8-04-010 — Select path and period
**Type:** Positive
**Covers:** 4.2 → Select path and period; Rule: The export is available in the standard formats.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Select path and period.
2. Observe the result and verify the full behavior: Select path and period.
**Expected Result:** Select path and period — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-011 — Enrolled students shown
**Type:** Positive
**Covers:** 4.2 → Enrolled students shown; Rule: Report events (generated, exported) are logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Enrolled students shown.
2. Observe the result and verify the full behavior: Enrolled students shown.
**Expected Result:** Enrolled students shown — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-012 — Completions shown
**Type:** Positive
**Covers:** 4.2 → Completions shown; Rule: The path performance report is audit-logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Completions shown.
2. Observe the result and verify the full behavior: Completions shown.
**Expected Result:** Completions shown — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-013 — Average scores shown
**Type:** Positive
**Covers:** 4.2 → Average scores shown
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Average scores shown.
2. Observe the result and verify the full behavior: Average scores shown.
**Expected Result:** Average scores shown — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-014 — Step-level performance
**Type:** Positive
**Covers:** 4.2 → Step-level performance
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Step-level performance.
2. Observe the result and verify the full behavior: Step-level performance.
**Expected Result:** Step-level performance — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-015 — Export the report
**Type:** Positive
**Covers:** 4.2 → Export the report
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Export the report.
2. Observe the result and verify the full behavior: Export the report.
**Expected Result:** Export the report — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-016 — Report available on web and mobile
**Type:** Positive
**Covers:** 4.2 → Report available on web and mobile
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Report available on web and mobile.
2. Observe the result and verify the full behavior: Report available on web and mobile.
**Expected Result:** Report available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-017 — Report event logging (generated, exported)
**Type:** Positive
**Covers:** 4.2 → Report event logging (generated, exported)
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Report event logging (generated, exported).
2. Observe the result and verify the full behavior: Report event logging (generated, exported).
**Expected Result:** Report event logging (generated, exported) — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-018 — Audit logging of the path performance report
**Type:** Positive
**Covers:** 4.2 → Audit logging of the path performance report
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, perform the path performance report action.
2. Open the audit log and verify the entry for the action.
**Expected Result:** The path performance report action is recorded in the audit log with the account and the timestamp.
**Priority:** Critical


## 4.3 Path Comparison

### TC-TI-8-04-019 — Compare two or more paths
**Type:** Positive
**Covers:** 4.3 → Compare two or more paths; Rule: The comparison is limited to the paths the Institute owns.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Compare two or more paths.
2. Observe the result and verify the full behavior: Compare two or more paths.
**Expected Result:** Compare two or more paths — delivered exactly as documented.
**Priority:** Critical

### TC-TI-8-04-020 — Completion rates side by side
**Type:** Positive
**Covers:** 4.3 → Completion rates side by side; Rule: The export is available in the standard formats.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Completion rates side by side.
2. Observe the result and verify the full behavior: Completion rates side by side.
**Expected Result:** Completion rates side by side — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-021 — Average times side by side
**Type:** Positive
**Covers:** 4.3 → Average times side by side; Rule: Comparison events (generated, exported) are logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Average times side by side.
2. Observe the result and verify the full behavior: Average times side by side.
**Expected Result:** Average times side by side — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-022 — Engagement side by side
**Type:** Positive
**Covers:** 4.3 → Engagement side by side; Rule: The path comparison is audit-logged with the account and the timestamp.
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Engagement side by side.
2. Observe the result and verify the full behavior: Engagement side by side.
**Expected Result:** Engagement side by side — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-023 — Outcomes side by side
**Type:** Positive
**Covers:** 4.3 → Outcomes side by side
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Outcomes side by side.
2. Observe the result and verify the full behavior: Outcomes side by side.
**Expected Result:** Outcomes side by side — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-024 — Export the comparison
**Type:** Positive
**Covers:** 4.3 → Export the comparison
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Export the comparison.
2. Observe the result and verify the full behavior: Export the comparison.
**Expected Result:** Export the comparison — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-025 — Comparison available on web and mobile
**Type:** Positive
**Covers:** 4.3 → Comparison available on web and mobile
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Comparison available on web and mobile.
2. Observe the result and verify the full behavior: Comparison available on web and mobile.
**Expected Result:** Comparison available on web and mobile — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-026 — Comparison event logging (generated, exported)
**Type:** Positive
**Covers:** 4.3 → Comparison event logging (generated, exported)
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, set up the precondition and perform: Comparison event logging (generated, exported).
2. Observe the result and verify the full behavior: Comparison event logging (generated, exported).
**Expected Result:** Comparison event logging (generated, exported) — delivered exactly as documented.
**Priority:** High

### TC-TI-8-04-027 — Audit logging of the path comparison
**Type:** Positive
**Covers:** 4.3 → Audit logging of the path comparison
**Preconditions:** A Training Institute account is active and the Training Institute is in the state required for this behavior.
**Steps:**
1. As a Training Institute, perform the path comparison action.
2. Open the audit log and verify the entry for the action.
**Expected Result:** The path comparison action is recorded in the audit log with the account and the timestamp.
**Priority:** Critical
