@@ -90,13 +90,13 @@ def _instant_runoff_for_truncated_linear_orders(profile, curr_cands = None, thre
9090 from pref_voting.profiles_with_ties import ProfileWithTies
9191 from pref_voting.iterative_methods import instant_runoff_for_truncated_linear_orders
9292
93- prof = ProfileWithTies([{0:1, 1:1},{0:1, 1:2, 2:3, 3:4}, {0:1, 1:3, 2:3}, {3:2}, {0:1}, {0:1}, {}, {} ])
94- prof.display()
93+ prof = ProfileWithTies([{0:1, 1:1},{0:1, 1:2, 2:3, 3:4}, {0:1, 1:3, 2:3}, {3:2}, {0:1}, {0:1}])
94+ # prof.display()
9595
9696 tprof, report = prof.truncate_overvotes()
9797 for r, new_r, count in report:
9898 print(f"{r} --> {new_r}: {count}")
99- tprof.display()
99+ # tprof.display()
100100 instant_runoff_for_truncated_linear_orders.display(tprof)
101101
102102
@@ -514,13 +514,13 @@ def instant_runoff_for_truncated_linear_orders(profile, curr_cands = None, thres
514514 from pref_voting.profiles_with_ties import ProfileWithTies
515515 from pref_voting.iterative_methods import instant_runoff_for_truncated_linear_orders
516516
517- prof = ProfileWithTies([{0:1, 1:1},{0:1, 1:2, 2:3, 3:4}, {0:1, 1:3, 2:3}, {3:2}, {0:1}, {0:1}, {}, {} ])
518- prof.display()
517+ prof = ProfileWithTies([{0:1, 1:1},{0:1, 1:2, 2:3, 3:4}, {0:1, 1:3, 2:3}, {3:2}, {0:1}, {0:1}])
518+ # prof.display()
519519
520520 tprof, report = prof.truncate_overvotes()
521521 for r, new_r, count in report:
522522 print(f"{r} --> {new_r}: {count}")
523- tprof.display()
523+ # tprof.display()
524524 instant_runoff_for_truncated_linear_orders.display(tprof)
525525
526526
0 commit comments