HF RL Explorer

time tracking: edge case

time tracking: edge case: a task in smol-software-harbor (Harbor dataset). Entries such as 45m (no hours) make Tracker.minutes in lib/tracker.rb raise bad duration , so Tracker.totals crashes on week.txt . Durations may have hours, minutes or both ( 2h , 45m , 1h30m ); an empty string is still an…

The task

Entries such as `45m` (no hours) make `Tracker.minutes` in `lib/tracker.rb` raise `bad duration`, so `Tracker.totals` crashes on `week.txt`. Durations may have hours, minutes or both (`2h`, `45m`, `1h30m`); an empty string is still an error. Fix the parser and run `for f in test/*_test.rb; do ruby -Ilib "$f" || exit…

Part of efederici/smol-software-harbor.