Allocated Score: Difference between revisions
→Python Implementation: bugfix
Dr. Edmonds (talk | contribs) (→Python Implementation: Add function to ensure the ballots are in the correct range) |
Dr. Edmonds (talk | contribs) (→Python Implementation: bugfix) |
||
Line 51:
#Amount of ballot for voters who voted more than the split point
spent_above = cand_df[cand_df[w] > split_point]['weights'].sum()
#Exhaust all ballots above split point
|