HF RL Explorer

book club voting: add feature

book club voting: add feature: a task in smol-software-harbor (Harbor dataset). The club wants to publish how the vote went. Add a new module voting/report.py with rounds(ballots) returning (history, exhausted) : history holds, for every round until a winner is found, a dict {candidate: votes}…

The task

The club wants to publish how the vote went. Add a new module `voting/report.py` with `rounds(ballots)` returning `(history, exhausted)`: `history` holds, for every round until a winner is found, a dict `{candidate: votes}` (keys in alphabetical order); `exhausted` the number of ballots in that round with no…

Part of efederici/smol-software-harbor.