HF RL Explorer

childhood vaccination schedule: fix bug

childhood vaccination schedule: fix bug: a task in smol-software-harbor (Harbor dataset). The vaccination planner crashes for children born at the end of a month ( date(2024, 1, 31) plus one month): add months() in vaccines.py keeps the day even when the target month is shorter. As its docstring…

The task

The vaccination planner crashes for children born at the end of a month (`date(2024, 1, 31)` plus one month): `add_months()` in `vaccines.py` keeps the day even when the target month is shorter. As its docstring says, the date must then fall on the last day of that month. Fix it and run `python3 -m pytest -q`.

Part of efederici/smol-software-harbor.