jontingvold / pyrankvote

PyRankVote is a python library for different ranked-choice voting systems, like IRV, STV and PBV. Created in June 2019.
MIT License
52 stars 16 forks source link

Fix ElectionManager's __repr__ bug #26

Open tg2648 opened 9 months ago

tg2648 commented 9 months ago

The get_candidates_in_race() method returns a list of Candidate, which don't have the number_of_votes property. Used the _candidates_in_race property directly instead.