What: Allow quiz questions to include custom feedback text for correct and incorrect answers, rather than generic "Correct!" / "Incorrect" messages.
Why: Generic feedback doesn't help users learn. Custom feedback explaining why an answer is correct/incorrect improves the learning experience significantly.
Scope: Add optional correctFeedback and incorrectFeedback fields to quiz questions. Use these in QuizService.submitQuiz when generating feedback text. AI service should generate these fields.
Acceptance criteria:
- Questions can have custom feedback per answer
- Custom feedback is used in submission results
- Falls back to generic feedback if not provided
- AI service generates feedback when creating quizzes
Technical context: src/modules/quizzes/quiz.service.ts:249-261 — feedback generation. src/modules/quizzes/quiz.types.ts — QuizQuestion interface.
What: Allow quiz questions to include custom feedback text for correct and incorrect answers, rather than generic "Correct!" / "Incorrect" messages.
Why: Generic feedback doesn't help users learn. Custom feedback explaining why an answer is correct/incorrect improves the learning experience significantly.
Scope: Add optional
correctFeedbackandincorrectFeedbackfields to quiz questions. Use these inQuizService.submitQuizwhen generating feedback text. AI service should generate these fields.Acceptance criteria:
Technical context:
src/modules/quizzes/quiz.service.ts:249-261— feedback generation.src/modules/quizzes/quiz.types.ts— QuizQuestion interface.