HF RL Explorer

event scheduling: refactor extract

event scheduling: refactor extract: a task in smol-software-harbor (Harbor dataset). conflicts() and free slots() in scheduler.py both convert an event's start/end strings to minutes inline. Extract a helper span(event) that returns the (start minutes, end minutes) tuple of one event, and use it…

The task

`conflicts()` and `free_slots()` in `scheduler.py` both convert an event's start/end strings to minutes inline. Extract a helper `span(event)` that returns the `(start_minutes, end_minutes)` tuple of one event, and use it in both functions (no other `parse_hhmm(e["start"])`-style conversions should remain there).…

Part of efederici/smol-software-harbor.