HF RL Explorer

restaurant tip pooling: implement stub

restaurant tip pooling: implement stub: a task in smol-software-harbor (Harbor dataset). Implement shares(total cents, shifts) in tips/pool.py as described in its docstring: points are hours times the role weight from tips/roles.py , shares are proportional to points, in whole cents, and always…

The task

Implement `shares(total_cents, shifts)` in `tips/pool.py` as described in its docstring: points are hours times the role weight from `tips/roles.py`, shares are proportional to points, in whole cents, and always add up to the total (largest-remainder rounding, ties alphabetical). Run `python3 -m pytest -q`.

Part of efederici/smol-software-harbor.