Skip to content

Commit

Permalink
cleanup/fix for names of rating delimiters
Browse files Browse the repository at this point in the history
  • Loading branch information
ikluft committed Nov 28, 2023
1 parent 20b5d09 commit b0aa51c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/perl/kr2/lib/PrefVote/KR2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ PrefVote::Core::TestSpec->register_blackbox_spec(
__PACKAGE__->ballot_input_ties_policy(1); # set flag for Core: this class allows input ballots to set A/B ties

# rating levels
Readonly::Hash my %rating_levels =>
{
Readonly::Hash my %rating_levels => (
1 => [],
3 => [ qr( favor oppose ) ],
5 => [ qr( favor2 favor1 oppose1 oppose2 ) ],
}
3 => [ qw(favor neutral oppose) ],
5 => [ qw(favor2 favor1 neutral oppose1 oppose2) ],
);

# list of names of winners in order by place, ties shown by a set of the tied candidates
has winners => (
Expand Down

0 comments on commit b0aa51c

Please sign in to comment.