Question Quality Issues - AI Prompt Needs Review
Resolved 💬 1 comment Opened Jan 10, 2026 by ScottMerrickWAI Closed Jan 10, 2026
Problem
During testing, several question quality issues have been identified:
1. Poor Variety
Questions are repetitive and follow similar patterns:
- "What's Y - X"
- "What's X * Y"
- Very similar questions being generated consecutively
2. Duplicate Answer Options
Example: Question ID f170fb52-913f-4afd-84c1-2e3130f27269
- Question: "What is 8 + 5?"
- Options:
["11","12","13","13"] - The answer "13" appears twice in the options array
This is a validation failure - all options should be unique.
3. Lack of Question Diversity
The AI prompt is not generating enough variation in:
- Question formats
- Problem types within a topic
- Difficulty progression
- Contextual/word problems vs straight calculations
Impact
- Poor user experience due to repetitive content
- Reduces educational value
- Duplicate options make questions confusing
- Students may lose trust in the platform
Root Cause
The OpenAI prompt (see specs/api/openai-prompts.md) likely needs improvement to:
- Encourage more diverse question formats
- Add validation rules for unique answer options
- Include examples of varied question styles
- Add specific instructions to avoid repetition
Next Steps
⚠️ DO NOT START WORK YET - REVIEW REQUIRED
Before implementing fixes:
- Review current AI prompts in
specs/api/openai-prompts.md - Review actual prompt implementation in API routes
- Analyze sample questions across different topics/subjects
- Research best practices for educational question generation
- Design improved prompt structure with validation rules
- Plan testing strategy for question quality
Files to Review
specs/api/openai-prompts.md- Prompt specificationssrc/app/api/admin/questions/generate/route.ts- Question generation endpoint- Database:
questionstable - analyze existing question patterns
Acceptance Criteria (TBD)
- [ ] All multiple choice options are unique (no duplicates)
- [ ] Question formats vary within a topic
- [ ] Mix of calculation, word problems, and conceptual questions
- [ ] Appropriate difficulty distribution
- [ ] Questions test different aspects of the topic
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗