π‘ Inspiration
- Rise of childhood myopia due to lack of outdoor time.
- Health risks of excessive sun exposure in schools.
- WHO + AAO research: balanced outdoor activity protects vision.
- SunSmart guidelines: avoid peak UV hours.
- We wanted to help schools strike a balance using data + automation.
β‘ What it does
- π
Generates balanced timetables for schools.
- π©βπ« Ensures daily outdoor sessions for each grade.
- π Avoids peak UV hours for safety.
- β
Integrates daylight + local weather data.
- π Exports easy-to-use CSV timetables for teachers/parents.
π οΈ How we built it
- Python (3.9+) β Core engine.
- Astral β Fetch sunrise/sunset times.
- pytz + timezonefinderL β Handle timezones.
- OR-Tools CP-SAT β Constraint optimization (e.g., max 3 outdoor classes in a row).
- CSV Export β Shareable schedules with enhanced console output.
π§ Challenges
- π Handling timezone + daylight for different locations.
- β
Integrating weather data into CP-SAT while keeping it efficient.
- πΌ Pandas quirks + avoiding chained assignments.
- ποΈ Balancing user inputs (grades, sections, classes/day) with flexibility.
π Accomplishments
- βοΈ Built an end-to-end scheduler in < hackathon timeframe.
- π¦οΈ Integrated real weather data into scheduling optimizer.
- π Designed a tool with public health impact:
- Healthier eyes
- Safer outdoor activity
- Better learning environments
- Healthier eyes
π What we learned
- π§© Constraint programming (CP-SAT) is powerful for real-world scheduling.
- π Astronomical + weather data can support social good.
- ποΈ Eye health research gave us new perspectives on wellbeing.
- π§± Clean data handling + modular design ensures scalability.
π Whatβs next
- π€οΈ Add live UV index APIs for real-time risk adjustment.
- π± Build a web/mobile dashboard for admins.
- π§ Use ML models for smarter schedules (attendance + weather history).
- π Track student myopia prevalence to validate long-term benefits.
Log in or sign up for Devpost to join the conversation.