How im-rk/skilltrace works
SkillTrace is an adaptive-practice and timed-exam platform. Students answer practice or exam questions; answers are graded and update a shared Bayesian mastery estimate, which drives practice difficulty and student progress. Instructors manage skills and questions, configure exams, and review results and audit trails. The graph preserves documented capabilities while showing sampled backend calls where available; several frontend-to-API links and unsampled subsystems are documented or implied but not verified in the excerpts.
Main entry points: quiz_engine/service.py Adaptive practice · question_bank/service.py Question bank · scheduling/service.py Exam scheduling · ws_routes.py Exam WebSocket
Components 21
Student learning
- Practice and progress
frontend/src/app/practice/page.tsx - Practice API
backend/app/modules/quiz_engine/api.py - Adaptive practice
backend/app/modules/quiz_engine/service.py - BKT mastery
backend/app/modules/quiz_engine/domain/bkt/engine.py - Progress views
frontend/src/app/progress/page.tsx
Instructor authoring
- Question and skill admin
frontend/src/app/admin/skills/page.tsx - Question bank
backend/app/modules/question_bank/service.py - AI question drafts
backend/app/modules/question_bank/llm_generation.py
Exam delivery
- Exam administration
frontend/src/app/admin/exams/page.tsx - Exam scheduling
backend/app/modules/scheduling/service.py - Code enrollment
backend/app/modules/enrollment/service.py - Timed exam client
frontend/src/app/exams/[examId]/page.tsx - Exam WebSocket
backend/app/modules/live_session_gateway/ws_routes.py - Connection and broadcast
backend/app/modules/live_session_gateway/websocket_manager.py - Answer evaluation
backend/app/modules/evaluation_pipeline/tasks.py - Exam results and analysis
backend/app/modules/results/service.py
Platform services
- Identity and access
backend/app/modules/iam/service.py - PostgreSQL
- Redis
Other components
- Student
- Instructor
Connections 26
- Student → Practice and progress: answers
- Practice and progress → Practice API: requests practice
- Practice API → Adaptive practice: routes to
- Adaptive practice → BKT mastery: updates mastery
backend/app/modules/quiz_engine/service.py - Adaptive practice → Question bank: gets questions
backend/app/modules/quiz_engine/service.py - Adaptive practice → Progress views: returns progress
- Student → Progress views: views mastery
- Instructor → Question and skill admin: authors questions
- Question and skill admin → Question bank: manages content
- Question bank → AI question drafts: offers drafts
- Instructor → Exam administration: configures exams
- Exam administration → Exam scheduling: schedules exams
- Exam scheduling → Question bank: retrieves questions
backend/app/modules/scheduling/service.py - Student → Timed exam client: takes exam
- Timed exam client → Exam WebSocket: opens session
- Exam WebSocket → Connection and broadcast: registers connection
backend/app/modules/live_session_gateway/ws_routes.py - Exam WebSocket → Code enrollment: checks access
backend/app/modules/live_session_gateway/ws_routes.py - Exam WebSocket → Answer evaluation: relays answers
backend/app/modules/live_session_gateway/ws_routes.py - Exam scheduling → Exam results and analysis: requests refresh
backend/app/modules/scheduling/service.py - Answer evaluation → BKT mastery: updates mastery
backend/app/modules/evaluation_pipeline/tasks.py - Answer evaluation → Question bank: loads questions
backend/app/modules/evaluation_pipeline/tasks.py - Answer evaluation → Redis: uses streams
backend/app/modules/evaluation_pipeline/tasks.py - Adaptive practice → PostgreSQL: persists state
- Exam scheduling → Redis: acquires locks
backend/app/modules/scheduling/service.py - Exam results and analysis → PostgreSQL: reads results
- Identity and access → PostgreSQL: stores accounts