HF RL Explorer

cron schedule parser: add validation

cron schedule parser: add validation: a task in smol-software-harbor (Harbor dataset). parse field in cron/field.py silently accepts impossible fields such as minute 60 , hour 0-24 , day 0 , a reversed range 5-2 or a step of zero. Make it raise ValueError whenever a value lies outside lo, hi , a…

The task

`parse_field` in `cron/field.py` silently accepts impossible fields such as minute `60`, hour `0-24`, day `0`, a reversed range `5-2` or a step of zero. Make it raise `ValueError` whenever a value lies outside `[lo, hi]`, a range is reversed, or the step is smaller than 1. Run `python3 -m pytest -q`.

Part of efederici/smol-software-harbor.