Allocated Score: Difference between revisions

(→‎Python Implementation: Add function to ensure the ballots are in the correct range)
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
763

edits