Skip to content

Number of Seats cannot be higher than Number of Candidates #6

@masiarek

Description

@masiarek

We get incorrect error message:
KeyError("'A'")

Instead of:

  • Number of Seats cannot be higher than Number of Candidates.

How to reproduce the issue:

[options]

method = sss
seats = 5
tiebreaker = None
verbosity = 1

[ballots]

2 ballots:
A=5
B=4
C=0
D=0

A=0
B=4
C=0
D=5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions