Overview
ClassQuiz provides detailed results tracking and analytics for all your live game sessions. Results are stored permanently in the database and include player performance, answer data, and custom field information.Results Storage
GameResults Model
All game results are stored in theGameResults model (classquiz/db/models.py:366):
Results include a snapshot of the quiz (title, description, questions) at the time it was played. This means you can edit the original quiz without affecting historical results.
Viewing Results
List All Results
View all your game results ordered by most recent (classquiz/routers/results.py:17):/results.
Results by Quiz
Get all results for a specific quiz (classquiz/routers/results.py:29):Individual Result Details
Get detailed data for a specific game session (classquiz/routers/results.py:38):Answer Data Structure
Individual Answer
Each answer submission is stored with full details (classquiz/db/models.py:319):Example Answer Data
Answers Array
All answers for all questions are stored in theanswers field:
Results Dashboard
The results page (frontend/src/routes/results/[result_id]/+page.svelte) provides three main views:- General Overview
- Player Overview
- Question Overview
General Overview Tab (general_overview.svelte)Displays:
- Total players
- Average score
- Quiz metadata (title, description)
- Timestamp of game
- Custom field summary
- Notes field
Player Scores
Final player scores are stored as a dictionary:- Correctness (must be correct to score)
- Speed (faster = more points)
- Question difficulty/time limit
Custom Field Data
If you collected custom field data (e.g., Student ID, Class), it’s stored with results:- Track performance by class/group
- Export for grade books
- Correlate with external systems
- Generate reports by cohort
Adding Notes
You can add notes to any result session (classquiz/routers/results.py:51):- Recording class/session context
- Noting technical issues during game
- Marking practice vs graded sessions
- Special circumstances or observations
Exporting Results
Excel/Spreadsheet Export
During or after a game, you can export results to Excel (classquiz/routers/quiz.py:224):Export Contents
The Excel export includes:Player Sheet
- Username
- Total score
- Custom field value
- Correct/incorrect count
Question Sheets
- Per-question tab
- All answers submitted
- Correctness
- Time taken
- Individual scores
Summary Sheet
- Overall statistics
- Average scores
- Question difficulty
- Participation rate
Custom Fields
- All collected custom data
- Organized by player
- Ready for import to grade books
Export tokens expire after use for security. Generate a new token for each export.
Analytics Insights
Question Difficulty Analysis
By analyzing answer data across multiple sessions:Performance Tracking
Compare results across multiple sessions:- Track improvement over time
- Identify consistently difficult topics
- Monitor individual student progress
- Evaluate quiz quality
Answer Distribution
For VOTING type questions, analyze opinion distributions:Results Data Access
Via Dashboard
- Navigate to
/resultsor/dashboard - Click on a quiz to see all sessions
- Click on a session to see detailed results
- Switch between tabs for different views
- Export data using export button
Via API
Programmatic access to results:Results Retention
Results are stored permanently in the database until manually deleted. They are NOT affected by:
- Editing the original quiz
- Making the quiz private/public
- Deleting the original quiz (results reference it but remain accessible)
Best Practices
Add Notes Immediately
Record context right after the game while details are fresh
Export Regularly
Don’t rely solely on the web interface - export important sessions
Use Custom Fields
Collect student IDs or class names for easier result management
Review Question Stats
Identify questions that may need clarification or revision
Privacy Considerations
- Results are only visible to the quiz owner (game host)
- Player usernames are stored as entered (no email/personal data required)
- Custom field data is optional and controlled by host
- Results can be deleted if needed
- Export files should be handled according to your privacy policy
Troubleshooting
Results not appearing
Results not appearing
Results must be explicitly saved at the end of a game. Check that:
- Game was completed (not abandoned mid-session)
- Save results option was selected
- No errors occurred during save
Missing player data
Missing player data
Players who disconnect before game ends may not have complete data:
- Their answers up to disconnection are saved
- Final score may be incomplete
- Check timestamp data for partial sessions
Export not downloading
Export not downloading
Export tokens are single-use and short-lived:
- Generate a fresh export token
- Don’t refresh the page during download
- Check popup blockers