Skip to content

Issue W1-B2-02 — Generated Question Session Model #58

Description

@Abdully-dev

📋 Overview
Dynamic questions need to be reproducible.
If a student receives:
12 + 8
the backend must know exactly what was generated and what the correct answer was.
This issue creates persistent storage for generated question instances.
🎯 Objectives
• Create GeneratedQuestion model.
• Store generated text.
• Store parameters.
• Store correct answer.
• Store random seed when applicable.
• Link generated question to template.
• Link generated question to student session.
🎯 Scope
Storage architecture for generated question instances.
🔗 Call Chain
Question Template
↓
Future Generator
↓
Generated Question
↓
Assessment
⚙️ Technical Notes
Do not regenerate a question during answer checking.
The generated question instance must be stored first.
🚫 Out of Scope
• Parameter engine
• Assessment evaluation
• BKT
🔗 Dependencies
• W1-B2-01 Question Template Architecture
✅ Acceptance Criteria
• Generated questions can be stored.
• Parameters are preserved.
• Correct answer is preserved.
• Template relationship works.
• Student session relationship is possible.
🌿 Branch
generated-question-model
🚨 Files Concerned
backend/app/
└── models/
└── generated_question.py

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions