# 3. Assessment Configuration — Test Cases

User Type: **Super Administrator**
Source: *Mi Digital Academy - Education CRM Features Document*
Spec: assessment_configuration.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 |
|---------|--------------------|----------|
| 3.1 Passing Score Settings | Passing score: the minimum score to pass the assessment | TC-SA-08-03-001 |
| 3.1 Passing Score Settings | Per-assessment setting: the passing score set for each assessment | TC-SA-08-03-002 |
| 3.1 Passing Score Settings | Default setting: a default passing score for a type of assessment | TC-SA-08-03-003 |
| 3.1 Passing Score Settings | Score basis: the passing score as a percentage or a mark threshold | TC-SA-08-03-004 |
| 3.1 Passing Score Settings | Outcome application: the pass/fail determined against the passing score | TC-SA-08-03-005 |
| 3.1 Passing Score Settings | Learner visibility: the passing score shown to the learner (where appropriate) | TC-SA-08-03-006 |
| 3.1 Passing Score Settings | Audit logging of passing score changes | TC-SA-08-03-007 |
| 3.1 Passing Score Settings | Rule: the passing score is the minimum to pass; it is set per assessment or as a default per type | TC-SA-08-03-002 |
| 3.1 Passing Score Settings | Rule: the score basis is explicit (a percentage or a mark threshold); the pass/fail is determined against it | TC-SA-08-03-004 |
| 3.1 Passing Score Settings | Rule: a change to the passing score applies to future attempts; a recorded outcome is not retroactively changed | TC-SA-08-03-008 |
| 3.1 Passing Score Settings | Rule: the learner visibility is set (the passing score shown where appropriate); the bar is known | TC-SA-08-03-006 |
| 3.1 Passing Score Settings | Rule: a fail triggers the retake rule (if set); the outcome and the retake are consistent | TC-SA-08-03-009 |
| 3.1 Passing Score Settings | Rule: passing score changes are audit-logged with the assessment, score, and timestamp | TC-SA-08-03-007 |
| 3.2 Retake Rules | Retake allowance: whether a retake is permitted | TC-SA-08-03-010 |
| 3.2 Retake Rules | Retake limit: the maximum number of retakes | TC-SA-08-03-011 |
| 3.2 Retake Rules | Retake conditions: the conditions for a retake (a cooldown period, a prerequisite) | TC-SA-08-03-012 |
| 3.2 Retake Rules | Score recording: how the retake result is recorded (best score, last score) | TC-SA-08-03-013 |
| 3.2 Retake Rules | Retake tracking: a learner's retakes tracked (the count, the scores) | TC-SA-08-03-014 |
| 3.2 Retake Rules | Exhaustion: the behavior when the retake limit is reached | TC-SA-08-03-015 |
| 3.2 Retake Rules | Audit logging of retake rule changes | TC-SA-08-03-016 |
| 3.2 Retake Rules | Rule: the retake allowance, limit, and conditions are explicit; the retry policy is defined, not ad hoc | TC-SA-08-03-010 |
| 3.2 Retake Rules | Rule: the score recording rule (best or last) is set; it is applied consistently to the retake results | TC-SA-08-03-013 |
| 3.2 Retake Rules | Rule: a retake is tracked (the count, the scores); the learner's retry history is visible | TC-SA-08-03-014 |
| 3.2 Retake Rules | Rule: the exhaustion behavior is defined (the limit reached); it is not an ambiguous dead end | TC-SA-08-03-015 |
| 3.2 Retake Rules | Rule: a high retake rate is a signal (a difficulty issue); it is reviewed, not ignored | TC-SA-08-03-017 |
| 3.2 Retake Rules | Rule: retake rule changes are audit-logged with the assessment, rules, and timestamp | TC-SA-08-03-016 |
| 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment) | Adaptive enablement: the adaptive behavior enabled per assessment | TC-SA-08-03-018 |
| 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment) | Adjustment logic: the difficulty adjusted in real time based on the responses | TC-SA-08-03-019 |
| 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment) | Difficulty bounds: the minimum and maximum difficulty the test can reach | TC-SA-08-03-020 |
| 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment) | Calibration: the test calibrates to the learner's demonstrated level | TC-SA-08-03-021 |
| 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment) | Question selection: the next question selected per the current difficulty level | TC-SA-08-03-022 |
| 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment) | Result interpretation: the adaptive result interpreted as a level estimate | TC-SA-08-03-023 |
| 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment) | Audit logging of adaptive configuration changes | TC-SA-08-03-024 |
| 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment) | Rule: the adaptive behavior is enabled per assessment; it is not the default for all assessments | TC-SA-08-03-018 |
| 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment) | Rule: the adjustment logic is explicit (the calibration rule); the difficulty moves in response to the responses | TC-SA-08-03-019 |
| 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment) | Rule: the difficulty bounds are set (the floor and ceiling); the test stays within them | TC-SA-08-03-020 |
| 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment) | Rule: the question pool must have adequate coverage at each difficulty level; a gap (no questions at a level) is a configuration problem | TC-SA-08-03-025 |
| 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment) | Rule: the adaptive result is a level estimate; it is interpreted as such, not a raw score | TC-SA-08-03-023 |
| 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment) | Rule: adaptive configuration changes are audit-logged with the assessment, configuration, and timestamp | TC-SA-08-03-024 |
| 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration) | Question counts: the number of questions, and per section/type | TC-SA-08-03-026 |
| 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration) | Marks: the weight of each question/section (the scoring) | TC-SA-08-03-027 |
| 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration) | Duration: the time allowed for the assessment | TC-SA-08-03-028 |
| 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration) | Section structure: the assessment organized into sections (where applicable) | TC-SA-08-03-029 |
| 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration) | Pattern consistency: the pattern applied consistently to the assessment | TC-SA-08-03-030 |
| 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration) | Pattern preview: the pattern reviewed before it goes live | TC-SA-08-03-031 |
| 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration) | Audit logging of pattern changes | TC-SA-08-03-032 |
| 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration) | Rule: the exam pattern defines the structure: the question counts, the marks, and the duration; it is explicit | TC-SA-08-03-026 |
| 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration) | Rule: the section structure (where applicable) is set; the sections, counts, and marks are defined | TC-SA-08-03-029 |
| 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration) | Rule: the pattern is previewed before going live; a structural issue is caught before the exam is taken | TC-SA-08-03-031 |
| 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration) | Rule: a pattern change applies to future attempts; a recorded attempt is not retroactively re-scored | TC-SA-08-03-033 |
| 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration) | Rule: the scoring is well-defined (the total marks, the weight per question/section); there is no ambiguity | TC-SA-08-03-030 |
| 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration) | Rule: pattern changes are audit-logged with the exam, pattern, and timestamp | TC-SA-08-03-032 |

## 3.1 Passing Score Settings

### TC-SA-08-03-001 — Passing score: the minimum score to pass the assessment
**Type:** Positive
**Covers:** 3.1 → Passing score: the minimum score to pass the assessment
**Preconditions:** An assessment exists; the passing score is not yet set.
**Steps:**
1. Set the passing score: the minimum score (a percentage or a mark threshold) to pass.
2. Save and verify the passing score is live.
**Expected Result:** The passing score is set — the minimum score to pass the assessment is defined.
**Priority:** Critical

### TC-SA-08-03-002 — Per-assessment setting: the passing score set for each assessment; it is set per assessment or as a default per type
**Type:** Positive
**Covers:** 3.1 → Per-assessment setting: the passing score set for each assessment; Rule: the passing score is the minimum to pass; it is set per assessment or as a default per type
**Preconditions:** Multiple assessments exist.
**Steps:**
1. Set a distinct passing score for each assessment.
2. Verify each assessment has its own passing score (per-assessment setting).
**Expected Result:** The passing score is set per assessment — each assessment has its own minimum to pass.
**Priority:** High

### TC-SA-08-03-003 — Default setting: a default passing score for a type of assessment; the assessments of that type inherit it unless overridden
**Type:** Positive
**Covers:** 3.1 → Default setting: a default passing score for a type of assessment
**Preconditions:** A type of assessment (e.g., all quizzes) exists.
**Steps:**
1. Set a default passing score for the type of assessment.
2. Verify the assessments of that type inherit it unless overridden.
**Expected Result:** The default passing score is set for the type — the assessments of that type inherit it unless overridden.
**Priority:** High

### TC-SA-08-03-004 — Score basis: the passing score as a percentage or a mark threshold; the score basis is explicit; the pass/fail is determined against it
**Type:** Positive
**Covers:** 3.1 → Score basis: the passing score as a percentage or a mark threshold; Rule: the score basis is explicit (a percentage or a mark threshold); the pass/fail is determined against it
**Preconditions:** An assessment's passing score is being set.
**Steps:**
1. Set the passing score as a percentage (or a mark threshold).
2. Verify the score basis is explicit.
3. Verify the pass/fail is determined against it.
**Expected Result:** The score basis is explicit (a percentage or a mark threshold) — the pass/fail is determined against it.
**Priority:** Critical

### TC-SA-08-03-005 — Outcome application: the pass/fail determined against the passing score; the outcome is recorded
**Type:** Positive
**Covers:** 3.1 → Outcome application: the pass/fail determined against the passing score
**Preconditions:** A learner completes an assessment with a passing score set.
**Steps:**
1. As the learner, complete the assessment.
2. Verify the platform determines the outcome (pass/fail) against the passing score.
3. Verify the outcome is recorded.
**Expected Result:** The pass/fail is determined against the passing score — the outcome is recorded.
**Priority:** Critical

### TC-SA-08-03-006 — Learner visibility: the passing score shown to the learner (where appropriate); the bar is known
**Type:** Positive
**Covers:** 3.1 → Learner visibility: the passing score shown to the learner (where appropriate); Rule: the learner visibility is set (the passing score shown where appropriate); the bar is known
**Preconditions:** An assessment has a passing score set; learner visibility is enabled.
**Steps:**
1. As the learner, view the assessment before taking it.
2. Verify the passing score is shown (where appropriate), so the learner knows the bar.
**Expected Result:** The passing score is shown to the learner (where appropriate) — the bar is known before taking the assessment.
**Priority:** Medium

### TC-SA-08-03-007 — Passing score changes are audit-logged with the assessment, the score, and the timestamp
**Type:** Positive
**Covers:** 3.1 → Audit logging of passing score changes; Rule: passing score changes are audit-logged with the assessment, score, and timestamp
**Preconditions:** A passing score has been changed.
**Steps:**
1. Open the audit trail and filter by "passing score".
2. Verify the entry shows the assessment, the score, and the timestamp.
**Expected Result:** The passing score change is audit-logged with the assessment, score, and timestamp.
**Priority:** Critical

### TC-SA-08-03-008 — A change to the passing score applies to future attempts; a recorded outcome is not retroactively changed
**Type:** Edge
**Covers:** 3.1 → Rule: a change to the passing score applies to future attempts; a recorded outcome is not retroactively changed
**Preconditions:** An assessment has recorded outcomes; the passing score is revised.
**Steps:**
1. Revise the passing score (too lenient or too strict, based on the results).
2. Verify the change applies to future attempts.
3. Verify the recorded outcomes are not retroactively changed.
**Expected Result:** The change applies to future attempts — the recorded outcomes are not retroactively changed.
**Priority:** Critical

### TC-SA-08-03-009 — A fail triggers the retake rule (if set); the outcome and the retake are consistent
**Type:** Positive
**Covers:** 3.1 → Rule: a fail triggers the retake rule (if set); the outcome and the retake are consistent
**Preconditions:** A learner fails an assessment (below the passing score); a retake rule is set.
**Steps:**
1. As the learner, fail the assessment (below the passing score).
2. Verify the outcome is recorded as a fail.
3. Verify the retake rule (if set) applies — the learner is offered the retake per the rules.
**Expected Result:** The fail triggers the retake rule (if set) — the outcome and the retake are consistent.
**Priority:** High

## 3.2 Retake Rules

### TC-SA-08-03-010 — Retake allowance: whether a retake is permitted; the retry policy is defined, not ad hoc
**Type:** Positive
**Covers:** 3.2 → Retake allowance: whether a retake is permitted; Rule: the retake allowance, limit, and conditions are explicit; the retry policy is defined, not ad hoc
**Preconditions:** An assessment exists; the retake allowance is not yet set.
**Steps:**
1. Set the retake allowance: whether a learner who fails can retake it.
2. Verify the retry policy is explicit (defined, not ad hoc).
**Expected Result:** The retake allowance is set — whether a retake is permitted is explicit.
**Priority:** Critical

### TC-SA-08-03-011 — Retake limit: the maximum number of retakes
**Type:** Positive
**Covers:** 3.2 → Retake limit: the maximum number of retakes
**Preconditions:** An assessment allows retakes.
**Steps:**
1. Set the retake limit (the maximum number of retakes).
2. Verify the limit is enforced (a learner cannot exceed it).
**Expected Result:** The retake limit is set — the maximum number of retakes is enforced.
**Priority:** Critical

### TC-SA-08-03-012 — Retake conditions: the conditions for a retake (a cooldown period, a prerequisite)
**Type:** Positive
**Covers:** 3.2 → Retake conditions: the conditions for a retake (a cooldown period, a prerequisite)
**Preconditions:** An assessment allows retakes; conditions are set (a cooldown period, a prerequisite like completing a review).
**Steps:**
1. Set the retake conditions: a cooldown period before the next retake, a prerequisite.
2. Verify the conditions are enforced (a learner must meet them to retake).
**Expected Result:** The retake conditions are set — the cooldown period and prerequisite are enforced.
**Priority:** High

### TC-SA-08-03-013 — Score recording: how the retake result is recorded (best score, last score); it is applied consistently to the retake results
**Type:** Positive
**Covers:** 3.2 → Score recording: how the retake result is recorded (best score, last score); Rule: the score recording rule (best or last) is set; it is applied consistently to the retake results
**Preconditions:** An assessment allows retakes; the score recording rule is set (best score).
**Steps:**
1. Set the score recording: the retake result recorded as the best score (the highest across attempts) or the last score (the most recent).
2. A learner retakes and scores higher.
3. Verify the result is recorded per the recording rule (the best score).
**Expected Result:** The score recording rule is set — it is applied consistently to the retake results.
**Priority:** Critical

### TC-SA-08-03-014 — Retake tracking: a learner's retakes tracked (the count, the scores); the learner's retry history is visible
**Type:** Positive
**Covers:** 3.2 → Retake tracking: a learner's retakes tracked (the count, the scores); Rule: a retake is tracked (the count, the scores); the learner's retry history is visible
**Preconditions:** A learner has retaken an assessment multiple times.
**Steps:**
1. Review the retake tracking for the learner.
2. Verify the retakes are tracked (the count, the scores).
3. Verify the learner's retry history is visible.
**Expected Result:** The learner's retakes are tracked (the count, the scores) — the retry history is visible.
**Priority:** High

### TC-SA-08-03-015 — Exhaustion: the behavior when the retake limit is reached; it is not an ambiguous dead end
**Type:** Edge
**Covers:** 3.2 → Exhaustion: the behavior when the retake limit is reached; Rule: the exhaustion behavior is defined (the limit reached); it is not an ambiguous dead end
**Preconditions:** A learner has reached the retake limit.
**Steps:**
1. Verify the learner has reached the retake limit.
2. Verify the exhaustion behavior applies (no more retakes; the outcome is the recorded score).
3. Verify a support path is available (it is not an ambiguous dead end).
**Expected Result:** The exhaustion behavior is defined — no more retakes, the outcome is the recorded score, and a support path is available.
**Priority:** Critical

### TC-SA-08-03-016 — Retake rule changes are audit-logged with the assessment, the rules, and the timestamp
**Type:** Positive
**Covers:** 3.2 → Audit logging of retake rule changes; Rule: retake rule changes are audit-logged with the assessment, rules, and timestamp
**Preconditions:** Retake rules have been changed.
**Steps:**
1. Open the audit trail and filter by "retake rule".
2. Verify the entry shows the assessment, the rules, and the timestamp.
**Expected Result:** The retake rule change is audit-logged with the assessment, rules, and timestamp.
**Priority:** Critical

### TC-SA-08-03-017 — A high retake rate is a signal (a difficulty issue); it is reviewed, not ignored
**Type:** Negative
**Covers:** 3.2 → Rule: a high retake rate is a signal (a difficulty issue); it is reviewed, not ignored
**Preconditions:** An assessment has a high retake rate (a difficulty issue).
**Steps:**
1. Review the retake tracking: the retakes per assessment.
2. Identify the high retake rate (a difficulty issue).
3. Verify it is reviewed (routed for a difficulty review), not ignored.
**Expected Result:** The high retake rate is a signal (a difficulty issue) — it is reviewed, not ignored.
**Priority:** High

## 3.3 Adaptive Testing Configuration (Real-Time Difficulty Adjustment)

### TC-SA-08-03-018 — Adaptive enablement: the adaptive behavior enabled per assessment; it is not the default for all assessments
**Type:** Positive
**Covers:** 3.3 → Adaptive enablement: the adaptive behavior enabled per assessment; Rule: the adaptive behavior is enabled per assessment; it is not the default for all assessments
**Preconditions:** An assessment exists; adaptive testing is not enabled by default.
**Steps:**
1. Enable the adaptive testing for the assessment.
2. Verify the adaptive behavior is enabled per assessment (not the default for all).
**Expected Result:** The adaptive behavior is enabled per assessment — it is not the default for all assessments.
**Priority:** Critical

### TC-SA-08-03-019 — Adjustment logic: the difficulty adjusted in real time based on the responses; the difficulty moves in response to the responses
**Type:** Positive
**Covers:** 3.3 → Adjustment logic: the difficulty adjusted in real time based on the responses; Rule: the adjustment logic is explicit (the calibration rule); the difficulty moves in response to the responses
**Preconditions:** An adaptive assessment is live; a learner is taking it.
**Steps:**
1. Set the adjustment logic: the difficulty increases after correct answers and decreases after incorrect ones.
2. As the learner, answer correctly and verify the difficulty increases.
3. Answer incorrectly and verify the difficulty decreases.
**Expected Result:** The difficulty is adjusted in real time based on the responses — it moves in response to the responses.
**Priority:** Critical

### TC-SA-08-03-020 — Difficulty bounds: the minimum and maximum difficulty the test can reach; the test stays within them
**Type:** Positive
**Covers:** 3.3 → Difficulty bounds: the minimum and maximum difficulty the test can reach; Rule: the difficulty bounds are set (the floor and ceiling); the test stays within them
**Preconditions:** An adaptive assessment is configured with difficulty bounds.
**Steps:**
1. Set the difficulty bounds: the minimum and maximum difficulty the test can reach.
2. As the learner, answer all correctly and verify the difficulty does not go above the ceiling.
3. Answer all incorrectly and verify the difficulty does not go below the floor.
**Expected Result:** The difficulty bounds are set (the floor and ceiling) — the test stays within them.
**Priority:** High

### TC-SA-08-03-021 — Calibration: the test calibrates to the learner's demonstrated level
**Type:** Positive
**Covers:** 3.3 → Calibration: the test calibrates to the learner's demonstrated level
**Preconditions:** An adaptive assessment is live; a learner is taking it.
**Steps:**
1. As the learner, take the adaptive test.
2. Verify the questions get harder as they answer correctly and easier as they answer incorrectly.
3. Verify the test calibrates to the learner's level.
**Expected Result:** The test calibrates to the learner's demonstrated level — the difficulty adjusts to their level.
**Priority:** Critical

### TC-SA-08-03-022 — Question selection: the next question selected per the current difficulty level
**Type:** Positive
**Covers:** 3.3 → Question selection: the next question selected per the current difficulty level
**Preconditions:** An adaptive assessment is live; the question pool has questions at each difficulty level.
**Steps:**
1. As the learner, take the adaptive test.
2. Verify the next question is selected per the current difficulty level.
**Expected Result:** The next question is selected per the current difficulty level — the question selection follows the calibration.
**Priority:** High

### TC-SA-08-03-023 — Result interpretation: the adaptive result interpreted as a level estimate; it is interpreted as such, not a raw score
**Type:** Positive
**Covers:** 3.3 → Result interpretation: the adaptive result interpreted as a level estimate; Rule: the adaptive result is a level estimate; it is interpreted as such, not a raw score
**Preconditions:** A learner completes an adaptive test.
**Steps:**
1. Complete the adaptive test.
2. Verify the result is interpreted as a level estimate (the learner's demonstrated level), not just a raw score.
3. Verify the estimate is recorded.
**Expected Result:** The adaptive result is interpreted as a level estimate — the learner's demonstrated level, not a raw score.
**Priority:** High

### TC-SA-08-03-024 — Adaptive configuration changes are audit-logged with the assessment, the configuration, and the timestamp
**Type:** Positive
**Covers:** 3.3 → Audit logging of adaptive configuration changes; Rule: adaptive configuration changes are audit-logged with the assessment, configuration, and timestamp
**Preconditions:** Adaptive configuration has been changed.
**Steps:**
1. Open the audit trail and filter by "adaptive configuration".
2. Verify the entry shows the assessment, the configuration, and the timestamp.
**Expected Result:** The adaptive configuration change is audit-logged with the assessment, configuration, and timestamp.
**Priority:** Critical

### TC-SA-08-03-025 — The question pool must have adequate coverage at each difficulty level; a gap (no questions at a level) is a configuration problem
**Type:** Negative
**Covers:** 3.3 → Rule: the question pool must have adequate coverage at each difficulty level; a gap (no questions at a level) is a configuration problem
**Preconditions:** An adaptive assessment's question pool has no questions at a difficulty level (a gap).
**Steps:**
1. Review the question pool per difficulty level.
2. Identify the gap (no questions at a level).
3. Verify the gap is flagged as a configuration problem (the assessment cannot be enabled with the gap).
**Expected Result:** The gap (no questions at a level) is flagged as a configuration problem — the question pool must have adequate coverage at each difficulty level.
**Priority:** Critical

## 3.4 Exam Pattern Configuration (Question Counts, Marks, Duration)

### TC-SA-08-03-026 — Question counts: the number of questions, and per section/type; the exam pattern defines the structure; it is explicit
**Type:** Positive
**Covers:** 3.4 → Question counts: the number of questions, and per section/type; Rule: the exam pattern defines the structure: the question counts, the marks, and the duration; it is explicit
**Preconditions:** An exam exists; the pattern is being configured.
**Steps:**
1. Configure the question counts: the total, and per section/type.
2. Verify the structure is explicit.
**Expected Result:** The question counts are set — the total, and per section/type; the structure is explicit.
**Priority:** Critical

### TC-SA-08-03-027 — Marks: the weight of each question/section (the scoring)
**Type:** Positive
**Covers:** 3.4 → Marks: the weight of each question/section (the scoring)
**Preconditions:** An exam's pattern is being configured.
**Steps:**
1. Set the marks: the weight per question/section.
2. Verify the scoring is defined.
**Expected Result:** The marks are set — the weight per question/section is defined.
**Priority:** Critical

### TC-SA-08-03-028 — Duration: the time allowed for the assessment
**Type:** Positive
**Covers:** 3.4 → Duration: the time allowed for the assessment
**Preconditions:** An exam's pattern is being configured.
**Steps:**
1. Set the duration: the time allowed for the assessment.
2. Verify the duration is enforced when the exam is taken.
**Expected Result:** The duration is set — the time allowed for the assessment is enforced.
**Priority:** Critical

### TC-SA-08-03-029 — Section structure: the assessment organized into sections (where applicable); the sections, counts, and marks are defined
**Type:** Positive
**Covers:** 3.4 → Section structure: the assessment organized into sections (where applicable); Rule: the section structure (where applicable) is set; the sections, counts, and marks are defined
**Preconditions:** A multi-section exam is being configured.
**Steps:**
1. Set the section structure: the sections, the questions per section, and the marks per section.
2. Verify the sections, counts, and marks are defined.
**Expected Result:** The section structure is set — the sections, counts, and marks are defined.
**Priority:** High

### TC-SA-08-03-030 — Pattern consistency: the pattern applied consistently to the assessment; the scoring is well-defined (the total marks, the weight per question/section); there is no ambiguity
**Type:** Positive
**Covers:** 3.4 → Pattern consistency: the pattern applied consistently to the assessment; Rule: the scoring is well-defined (the total marks, the weight per question/section); there is no ambiguity
**Preconditions:** An exam's pattern is configured.
**Steps:**
1. Review the pattern consistency: the exam's structure is as configured.
2. Verify the scoring is well-defined (the total marks, the weight per question/section).
3. Verify there is no ambiguity.
**Expected Result:** The pattern is applied consistently — the scoring is well-defined (the total marks, the weight per question/section); there is no ambiguity.
**Priority:** High

### TC-SA-08-03-031 — Pattern preview: the pattern reviewed before it goes live; a structural issue is caught before the exam is taken
**Type:** Negative
**Covers:** 3.4 → Pattern preview: the pattern reviewed before it goes live; Rule: the pattern is previewed before going live; a structural issue is caught before the exam is taken
**Preconditions:** An exam's pattern has a structural issue (a section too long, a mark weight off).
**Steps:**
1. Preview the pattern: the structure reviewed (the counts, the marks, the duration) before it goes live.
2. Identify the structural issue.
3. Verify it is caught before the exam is taken.
**Expected Result:** The pattern is previewed before going live — the structural issue is caught before the exam is taken.
**Priority:** High

### TC-SA-08-03-032 — Pattern changes are audit-logged with the exam, the pattern, and the timestamp
**Type:** Positive
**Covers:** 3.4 → Audit logging of pattern changes; Rule: pattern changes are audit-logged with the exam, pattern, and timestamp
**Preconditions:** An exam's pattern has been changed.
**Steps:**
1. Open the audit trail and filter by "exam pattern".
2. Verify the entry shows the exam, the pattern, and the timestamp.
**Expected Result:** The pattern change is audit-logged with the exam, pattern, and timestamp.
**Priority:** Critical

### TC-SA-08-03-033 — A pattern change applies to future attempts; a recorded attempt is not retroactively re-scored
**Type:** Edge
**Covers:** 3.4 → Rule: a pattern change applies to future attempts; a recorded attempt is not retroactively re-scored
**Preconditions:** An exam has recorded attempts; the pattern is revised.
**Steps:**
1. Revise the pattern (a section too long, a mark weight off).
2. Verify the change applies to future attempts.
3. Verify the recorded attempts are not retroactively re-scored.
**Expected Result:** The pattern change applies to future attempts — the recorded attempts are not retroactively re-scored.
**Priority:** Critical
