-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I noticed some issues in the summary visualisation when using the Add1 completion method for equal shares.
To reproduce:
I used the Netherlands Amsterdam 524 data from pabulib.
Code was
instance, profile = election.parse_pabulib("netherlands_amsterdam_524_.pb")
outcome = method_of_equal_shares(instance, profile, sat_class=Cost_Sat, analytics=True,voter_budget_increment=1)
visualiser = MESVisualiser(profile, instance, outcome)
visualiser.render("./outcome_viz/", name="PBnethAdd1")
If you look at the summary and for each projet you look at the funding that was spent on previous rounds you can see there is some errors with the computation when using the Add1 completion method:
I ran without the completion method and the results are fine
(code:
outcome = method_of_equal_shares(instance, profile, sat_class=Cost_Sat, analytics=True)
visualiser = MESVisualiser(profile, instance, outcome)
visualiser.render("./outcome_viz/", name="PBneth")
Metadata
Metadata
Assignees
Labels
No labels

