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

  1. Generate sample data using the button above
  2. Go to the Dashboard and verify that sample data appears in all sections
  3. Navigate to the Schedule page and create a new schedule
  4. Verify that the scheduling algorithm produces a valid timetable
  5. Create multiple scheduling attempts to test the comparison feature
  6. 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

FeatureStandard DatasetExtended Dataset
Teachers410
Classrooms410
Courses415
Sections520
Time Slots615
ComplexityLowHigh
Algorithm ChallengeEasy to solveMore challenging