book club voting: implement stub
book club voting: implement stub: a task in smol-software-harbor (Harbor dataset). Implement winner(ballots) in voting/irv.py : instant-runoff voting exactly as its docstring describes (count each ballot for its highest-ranked remaining candidate, win with more than half of the counted ballots…
The task
Implement `winner(ballots)` in `voting/irv.py`: instant-runoff voting exactly as its docstring describes (count each ballot for its highest-ranked remaining candidate, win with more than half of the counted ballots, otherwise eliminate the candidate with the fewest votes, ties eliminating the alphabetically first…
Part of efederici/smol-software-harbor.