Summary
Improve the Fill in the Blanks module to support multiple acceptable answers and a better evaluation system.
Current Behavior
- Fill in the blanks is implemented.
- Only one exact answer is accepted.
- Some questions require multiple valid answers.
Proposed Implementation
- Support multiple acceptable answers.
- Ignore case differences.
- Ignore leading/trailing spaces.
- Support synonyms where applicable.
- Improve answer validation logic.
Flow
Question
│
▼
User submits answer
│
▼
Normalize input
│
▼
Compare against accepted answers
│
┌──┴──┐
│ │
Correct Incorrect
│ │
▼ ▼
Show Show correct answer
Success and explanation
Acceptance Criteria
Summary
Improve the Fill in the Blanks module to support multiple acceptable answers and a better evaluation system.
Current Behavior
Proposed Implementation
Flow
Question
│
▼
User submits answer
│
▼
Normalize input
│
▼
Compare against accepted answers
│
┌──┴──┐
│ │
Correct Incorrect
│ │
▼ ▼
Show Show correct answer
Success and explanation
Acceptance Criteria