HF RL Explorer

HR leave management: add feature

HR leave management: add feature: a task in smol-software-harbor (Harbor dataset). Unused holidays may be carried over. Add a new module leave/balance.py with remaining(days per year, start, taken, year, carry cap=5) : the days still available in year , i.e. that year's entitlement (from…

The task

Unused holidays may be carried over. Add a new module `leave/balance.py` with `remaining(days_per_year, start, taken, year, carry_cap=5)`: the days still available in `year`, i.e. that year's entitlement (from `entitlement`) plus the days carried over from the previous year, minus the days taken in `year` (`taken`…

Part of efederici/smol-software-harbor.