Open rdixit opened 8 years ago
Try the examples in test_functionality/test_schulze_method.py instead. I think the format was changed and the README was never updated.
That worked! Thank you!
Up to you to close the issue or not. Appreciate your eyes on this Brad.
In [19]: ballots Out[19]: [{'ballot': [['A'], ['C'], ['D'], ['B']], 'count': 3}, {'ballot': [['B'], ['A'], ['C'], ['D']], 'count': 9}, {'ballot': [['C'], ['D'], ['A'], ['B']], 'count': 8}, {'ballot': [['D'], ['A'], ['B'], ['C']], 'count': 5}, {'ballot': [['D'], ['B'], ['C'], ['A']], 'count': 5}]
In [20]: SchulzeMethod(ballots, ballot_notation = "grouping").as_dict()
Exception Traceback (most recent call last)