Dashboard
Testing & Optimization
Generate sample data and test the exam scheduling application.
Generate Sample Data
This will create sample teachers, classrooms, courses, sections, and time slots for testing purposes.
Testing Instructions
- Generate sample data using the button above
- Go to the Dashboard and verify that sample data appears in all sections
- Navigate to the Schedule page and create a new schedule
- Verify that the scheduling algorithm produces a valid timetable
- Create multiple scheduling attempts to test the comparison feature
- Check that all constraints are properly enforced
Performance Metrics
The scheduling algorithm has been optimized for performance with the following characteristics:
- Uses genetic algorithm with population size of 100
- Implements elitism to preserve the best solutions
- Enforces hard constraints (classroom capacity, teacher/classroom availability)
- Optimizes soft constraints (even distribution, room utilization)
- Includes timeout mechanism to prevent excessive runtime
- Stores historical runs for comparison and analysis
Dataset Comparison
| Feature | Standard Dataset | Extended Dataset |
|---|---|---|
| Teachers | 4 | 10 |
| Classrooms | 4 | 10 |
| Courses | 4 | 15 |
| Sections | 5 | 20 |
| Time Slots | 6 | 15 |
| Complexity | Low | High |
| Algorithm Challenge | Easy to solve | More challenging |