majority_judgment library

Classes

MajorityJudgmentResolver
See https://en.wikipedia.org/wiki/Majority_judgment
PollResult
PollTally
The main input of this package. This holds the amounts of judgments received for each grade, (from "worst" grade to "best" grade), for each proposal. Create an instance of this and provide it to the Deliberator.
ProposalResult
ProposalTally
Tally of a single proposal, that is the amount of judgments they received for each grade. This class is basically a wrapper around a list of ints.
Resolver
Interface for the various Resolvers. Maybe over-engineering.