Edu-Scheduler
Smart Classroom & Time-Table Generator
Created on 11th October 2025
•
Edu-Scheduler
Smart Classroom & Time-Table Generator
The problem Edu-Scheduler solves
The Eduscheduler automates the complex and time-consuming process of creating academic schedules for educational institutions. It solves several critical challenges:
Problems Addressed:
1.Manual Scheduling Complexity
->Manually creating timetables for multiple sections/schedules is extremely tedious and error-prone
->Coordinating faculty availability across different sections is challenging
->Ensuring no conflicts (same faculty teaching multiple classes simultaneously) requires extensive manual checking
2.Faculty Constraint Management
->Automatically prevents scheduling the same faculty member for multiple classes at the same time
->Balances faculty workload across different sections
->Supports multiple faculty members per subject with intelligent assignment
3.Lab Scheduling Rules
->Enforces specific lab placement rules (TOP4, LAST2, TOP4_ONLY)
->Ensures lab sessions fit within daily time constraints
->Handles multi-hour consecutive lab sessions correctly
4.Pre-placed Subject Support
->Allows fixing specific subjects at specific times (like assemblies, events)
->Validates pre-placed subjects to avoid conflicts
->Maintains constraints while accommodating fixed requirements
5.How It Makes Tasks Easier:
✅ Saves Time: Generates optimized schedules in seconds instead of hours/days of manual work
✅ Error-Free: Eliminates human errors like double-booking faculty or violating placement rules
✅ Flexible: Generate multiple schedule variations (up to 10) to choose the best option
✅ Interactive Editing: Swap subjects or move them to empty slots while maintaining all constraints
✅ Visual & Printable: Color-coded, easy-to-read schedules with faculty assignments displayed
✅ Data Persistence: Saves generated timetables to database for future reference and modifications
Who Can Use It:
School/College Administrators - Creating semester/term schedules
Academic Coordinators - Managing department timetables
Educational Institutions - Any organization needing automated schedule generation with complex constraints
Key Features:
1.Faculty constraint handling (prevents conflicts)
2.Lab placement rules enforcement
3.Interactive swapping and editing
4.Export to CSV and print functionality
5.Sample data loading for quick testing
This tool transforms what was traditionally a manual, error-prone, multi-day task into an automated, constraint-validated process that takes just minutes.
Challenges we ran into
Challenges I Ran Into
Building this timetable generator pushed my problem-solving skills to new limits. Here are the key hurdles I overcame:
-
Backtracking Algorithm Performance Crisis
The Problem: Initial algorithm took 10+ minutes and often failed to find valid schedules.
The Solution: Implemented a two-phase approach (labs first, then theories), added intelligent randomization with Fisher-Yates shuffle, and used HashMap for O(1) constraint checking.
Impact: Reduced generation time from 600+ seconds to under 2 seconds—a 300x performance improvement. -
MongoDB Atlas Connection Nightmare
The Problem: Deployment failed with MongooseServerSelectionError. Password contained @ symbol breaking the connection string format.
The Solution: Discovered URL encoding requirements (@ → %40), configured environment variables correctly, and whitelisted 0.0.0.0/0 in Atlas network access.
Learning: Cloud deployment requires mastering connection strings, network security, and environment configuration—knowledge absent in local development. -
Constraint Validation Complexity
The Problem: Eight different validation rules for preplaced subjects created a logical maze. Silent failures confused users.
The Solution: Built comprehensive pre-generation validator with specific error messages for each constraint violation. Implemented dual validation (client + server) for instant feedback.
Impact: Zero invalid generation attempts, saving server resources and improving user trust. -
Interactive Swapping Logic
The Problem: Manual adjustments could break faculty constraints, lab rules, or global conflicts.
The Solution: Created dual swap modes with constraint-aware validation functions. Built empty slot discovery algorithm considering all subject-specific rules.
Innovation: Seamless user experience where every swap respects complex constraints automatically. -
Faculty Workload Balancing
The Problem: Multiple faculty per subject needed fair distribution across schedules while preventing same-time conflicts.
The Solution: Greedy algorithm tracking workload in real-time, always assigning minimum-loaded faculty.
Result: Mathematically fair distribution with zero conflicts—addressing real-world institutional needs.
Key Takeaway
These challenges taught me that elegant solutions emerge from understanding the problem deeply, not just coding quickly. The combination of algorithmic optimization, robust validation, and thoughtful UX design transformed complex constraints into seamless automation.
Tracks Applied (1)
Freshman Track
Technologies used