How abhiram235/ai-driven-adaptive-learning-system works
This Django adaptive quiz system takes learners from uploading study documents through AI-assisted question generation, quiz creation and attempts, then records answers, updates spaced-review progress, and presents mastery analytics. Views orchestrate the user-facing workflow; models persist documents, questions, quizzes, attempts, and progress. Optional model providers are shown separately. The README contains no capability detail, and some view code is omitted, so edges are limited to relationships evidenced by excerpts, the source index, or explicit documentation.
Main entry points: views.py Request workflows · question_generator.py Question generation · models.py Quiz and attempts · urls.py App routes
Components 13
Learning workflow
- App routes
config/quiz_app/urls.py - Request workflows
config/quiz_app/views.py - Question generation
config/quiz_app/question_generator.py - T5 model
- Gemini service
Quizzes and review
- SM-2 scheduling
config/quiz_app/sm2.py - Quiz interface
config/quiz_app/templates/quiz_app
Mastery insights
- Bayesian mastery
config/quiz_app/analytics.py
Application data
- Document records
config/quiz_app/models.py - Question bank
config/quiz_app/models.py - Quiz and attempts
config/quiz_app/models.py - Question progress
config/quiz_app/models.py
Other components
- Learner
Connections 15
- Learner → App routes: requests pages
config/quiz_app/urls.py - App routes → Request workflows: dispatches requests
config/quiz_app/urls.py - Request workflows → Quiz interface: renders pages
- Request workflows → Question generation: generates questions
config/quiz_app/views.py - Request workflows → Document records: creates documents
config/quiz_app/views.py - Request workflows → Question bank: saves questions
config/quiz_app/views.py - Question generation → T5 model: generates prompts
config/quiz_app/question_generator.py - Question generation → Gemini service: enriches questions
config/quiz_app/question_generator.py - Request workflows → Quiz and attempts: records attempts
config/quiz_app/views.py - Request workflows → Question bank: loads questions
config/quiz_app/views.py - Request workflows → SM-2 scheduling: updates reviews
config/quiz_app/views.py - SM-2 scheduling → Question progress: saves schedule
config/quiz_app/sm2.py - Request workflows → Bayesian mastery: computes analytics
config/quiz_app/views.py - Bayesian mastery → Quiz and attempts: reads attempts
config/quiz_app/analytics.py - Request workflows → Quiz and attempts: reads results
config/quiz_app/views.py