User and barrier

  • User: a student with several deadlines in one week who finds a long to-do list paralysing.
  • Barrier: "make a schedule" is itself a task. People work in the order they wrote things down and find out on the night before that the week was overbooked.
  • Change: dayblocks makes the schedule from the list they already have, around their classes, with breaks, and warns first, with minutes, when something will be late. dayblocks next shows one next step only.

What it does

  • Reads a plain-text list (durations, due fri 12:00, !high, #tags, Markdown checkboxes).
  • Reads busy times from .ics calendar exports.
  • Plans earliest deadline first into working hours, with 50-minute focus blocks and 10-minute breaks (both adjustable), and no fragments under 15 minutes.
  • Lists late and overflowing tasks before the plan; writes the plan as an .ics file for any calendar app.

Results (real, from python scripts/benchmark.py)

On 2,000 synthetic weeks (10,927 deadlines): earliest deadline first met 97.8% of deadlines and every deadline in 91.4% of weeks. Priority-first met 86.5% and 52.9%; the order written met 80.9% and 38.6%.

Tools

Python 3 standard library only, pytest (17 tests), iCalendar (RFC 5545).

Limitations

The benchmark weeks are synthetic, so they test the planning logic, not human estimates. Repeating calendar events are not expanded yet. Priority only breaks ties between equal deadlines. One person, one task at a time, no dependencies.

What I learned

Jackson's rule (earliest deadline first minimises the worst lateness) is old and simple, but the order people actually use, the order they wrote, misses deadlines far more often. Being honest about overload early is the most useful output.

Pre-existing work and AI assistance

No pre-existing code; everything was written on 1 Dec 2026 (see commit history). Built with AI-assisted coding: an AI coding assistant helped write the code, tests and documentation. The README states this. The example week and timetable are made up.

Built With

Share this project:

Updates

Submission history