PATH=/usr/bin:/bin:/data/fly2400/cpanfly-5.24/var/megalib/bin Start 2019-07-27T02:00:30 ActivePerl-2400 CPAN-2.10 Reading '/data/fly2400/cpanfly-5.24/var/cpan/Metadata' Database was generated on Fri, 26 Jul 2019 01:41:02 GMT Checksum for /data/fly2400/cpanfly-5.24/var/cpan/sources/authors/id/B/BR/BRAINBUZ/Vote-Count-0.011.tar.gz ok Vote-Count-0.011 Vote-Count-0.011/README Vote-Count-0.011/Changes Vote-Count-0.011/t Vote-Count-0.011/t/irv.t Vote-Count-0.011/LICENSE Vote-Count-0.011/dist.ini Vote-Count-0.011/META.yml Vote-Count-0.011/MANIFEST Vote-Count-0.011/README.md Vote-Count-0.011/t/floor.t Vote-Count-0.011/t/borda.t Vote-Count-0.011/META.json Vote-Count-0.011/README.pod Vote-Count-0.011/t/ballot.t Vote-Count-0.011/t/matrix.t Vote-Count-0.011/buildpod.pl Vote-Count-0.011/md Vote-Count-0.011/md/Count.md Vote-Count-0.011/Makefile.PL Vote-Count-0.011/t/topcount.t Vote-Count-0.011/t/approval.t Vote-Count-0.011/t/synopsis.t Vote-Count-0.011/md/Matrix.md Vote-Count-0.011/md/README.md Vote-Count-0.011/t/rankcount.t Vote-Count-0.011/t/votecount.t Vote-Count-0.011/t/data Vote-Count-0.011/t/data/knot1.txt Vote-Count-0.011/t/data/ties1.txt Vote-Count-0.011/t/data/data1.txt Vote-Count-0.011/t/data/data2.txt Vote-Count-0.011/t/data/loop1.txt Vote-Count-0.011/t/data/irvtie.txt Vote-Count-0.011/lib/Vote Vote-Count-0.011/lib/Vote/Count.pm Vote-Count-0.011/t/data/brexit1.txt Vote-Count-0.011/lib Vote-Count-0.011/lib/TextTableTiny.pm Vote-Count-0.011/t/condorcetdropping.t Vote-Count-0.011/t/data/biggerset1.txt Vote-Count-0.011/t/data/badballot2.txt Vote-Count-0.011/t/data/badballot1.txt Vote-Count-0.011/lib/Vote/Count Vote-Count-0.011/lib/Vote/Count/Borda.pm Vote-Count-0.011/lib/Vote/Count/Floor.pm Vote-Count-0.011/md/CondorcetDropping.md Vote-Count-0.011/lib/Vote/Count/Matrix.pm Vote-Count-0.011/t/data/burlington2009.txt Vote-Count-0.011/lib/Vote/Count/TopCount.pm Vote-Count-0.011/lib/Vote/Count/Approval.pm Vote-Count-0.011/lib/Vote/Count/RankCount.pm Vote-Count-0.011/lib/Vote/Count/Method Vote-Count-0.011/lib/Vote/Count/Method/IRV.pm Vote-Count-0.011/lib/Vote/Count/ReadBallots.pm Vote-Count-0.011/t/data/condorcetdropping_edgecase.txt Vote-Count-0.011/lib/Vote/Count/Method/CondorcetDropping.pm Configuring B/BR/BRAINBUZ/Vote-Count-0.011.tar.gz with Makefile.PL >>> /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL Checking if your kit is complete... Looks good Have /data/fly2400/cpanfly-5.24/var/megalib Want /home/fly2400/ap2400-300558/lib Your perl and your Config.pm seem to have different ideas about the architecture they are running on. Perl thinks: [megalib] Config says: [x86_64-linux-thread-multi] This may or may not cause problems. Please check your installation of perl if you have problems building this extension. Generating a Unix-style Makefile Writing Makefile for Vote::Count Writing MYMETA.yml and MYMETA.json BRAINBUZ/Vote-Count-0.011.tar.gz /data/fly2400/ap2400-300558/bin/perl-static Makefile.PL -- OK Running make for B/BR/BRAINBUZ/Vote-Count-0.011.tar.gz >>> make cp lib/TextTableTiny.pm blib/lib/TextTableTiny.pm cp lib/Vote/Count/Method/CondorcetDropping.pm blib/lib/Vote/Count/Method/CondorcetDropping.pm cp lib/Vote/Count.pm blib/lib/Vote/Count.pm cp lib/Vote/Count/Floor.pm blib/lib/Vote/Count/Floor.pm cp lib/Vote/Count/TopCount.pm blib/lib/Vote/Count/TopCount.pm cp lib/Vote/Count/Borda.pm blib/lib/Vote/Count/Borda.pm cp lib/Vote/Count/Approval.pm blib/lib/Vote/Count/Approval.pm cp lib/Vote/Count/Matrix.pm blib/lib/Vote/Count/Matrix.pm cp lib/Vote/Count/Method/IRV.pm blib/lib/Vote/Count/Method/IRV.pm cp lib/Vote/Count/RankCount.pm blib/lib/Vote/Count/RankCount.pm cp README.pod blib/lib/Vote/README.pod cp buildpod.pl blib/lib/Vote/buildpod.pl cp lib/Vote/Count/ReadBallots.pm blib/lib/Vote/Count/ReadBallots.pm Manifying 12 pod documents BRAINBUZ/Vote-Count-0.011.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 "/data/fly2400/ap2400-300558/bin/perl-static" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/approval.t ........... # Seeded srand with seed '20190727' from local date. ok 1 - Approval counted for a small set with no active list ok 2 - Approval counted a small set with AN active list 1..2 ok t/ballot.t ............. # Seeded srand with seed '20190727' from local date. ok 1 - _choices private sub returns hash from choices string # Subtest: test read of small good file ok 1 - test the count of a ballot. ok 2 - Test an array of votes ok 3 - parsed ballot set rcv in options 1..3 ok 2 - Subtest: test read of small good file # Subtest: test some bad files ok 1 - Ballot redefining Choices - dies ok 2 - emitted redefines CHOICES error ok 3 - Ballot with undefined choice ok 4 - emitted TANGERINE is not in defined choice list: 1..4 ok 3 - Subtest: test some bad files 1..3 ok t/borda.t .............. # Seeded srand with seed '20190727' from local date. # Subtest: _bordashrinkballot private method ok 1 - Check the remaining member of a reduced ballot ok 2 - Check that a choice with multiple votes stil has them ok 3 - choice that still has multipe choices has the right number 1..3 ok 1 - Subtest: _bordashrinkballot private method # Subtest: _dobordacount private method ok 1 - check count for first choice ok 2 - check count for second choice ok 3 - check count for third choice 1..3 ok 2 - Subtest: _dobordacount private method # Subtest: bordadepth at 5, standard method ok 1 - Borda counted small set no active list forced depth 5 ok 2 - Borda counted a small set with AN active list ok 3 - test a value on the Borda Ranking table. 1..3 ok 3 - Subtest: bordadepth at 5, standard method # Subtest: tests with default borda weighting ok 1 - Small set no active list default depth of 0 ok 2 - small set WITH active list default depth of 0 1..2 ok 4 - Subtest: tests with default borda weighting 1..4 ok t/condorcetdropping.t .. # Seeded srand with seed '20190727' from local date. # Subtest: Plurality Loser Dropping (TopCount) ok 1 - ISA Vote::Count::Method::CondorcetDropping ok 2 - winner for biggerset1 topcount/all ok 3 - loopset plurality leastwins winner ok 4 - loopset plurality leastwins winner is the same ok 5 - knotset winner with defaults 1..5 ok 1 - Subtest: Plurality Loser Dropping (TopCount) # ==== Edgeleastwins # Vote::Count Version 0.011 # Sat Jul 27 02:00:36 2019 # CONDORCET SEQUENTIAL DROPPING METHOD # CHOICES: # CARAMEL, CHOCOLATE, MINTCHIP, PISTACHIO, ROCKYROAD, RUMRAISIN, STRAWBERRY, VANILLA # Elimination Rule: Drop the Choice With the Lowest TopCount. # Elimination Rule is Applied to only Choices with the Fewest Wins. # --- # Round 1 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | STRAWBERRY | 22 | # | 2 | VANILLA | 17 | # | 3 | PISTACHIO | 6 | # | 4 | CARAMEL | 4 | # | 5 | MINTCHIP | 3 | # | 6 | CHOCOLATE | 1 | # | 7 | ROCKYROAD | 0 | # | 7 | RUMRAISIN | 0 | # --- # Round 1 Pairings # | Choice | Wins | Losses | Ties | # |------------|------|--------|------| # | CARAMEL | 6 | 1 | 0 | # | CHOCOLATE | 5 | 1 | 1 | # | MINTCHIP | 1 | 6 | 0 | # | PISTACHIO | 2 | 5 | 0 | # | ROCKYROAD | 1 | 6 | 0 | # | RUMRAISIN | 2 | 5 | 0 | # | STRAWBERRY | 5 | 1 | 1 | # | VANILLA | 5 | 2 | 0 | # Elimminating ROCKYROAD # --- # Round 2 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | STRAWBERRY | 22 | # | 2 | VANILLA | 17 | # | 3 | PISTACHIO | 6 | # | 4 | CARAMEL | 4 | # | 5 | MINTCHIP | 3 | # | 6 | CHOCOLATE | 1 | # | 7 | RUMRAISIN | 0 | # --- # Round 2 Pairings # | Choice | Wins | Losses | Ties | # |------------|------|--------|------| # | CARAMEL | 5 | 1 | 0 | # | CHOCOLATE | 4 | 1 | 1 | # | MINTCHIP | 1 | 5 | 0 | # | PISTACHIO | 1 | 5 | 0 | # | RUMRAISIN | 1 | 5 | 0 | # | STRAWBERRY | 4 | 1 | 1 | # | VANILLA | 4 | 2 | 0 | # Elimminating RUMRAISIN # --- # Round 3 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | STRAWBERRY | 22 | # | 2 | VANILLA | 17 | # | 3 | PISTACHIO | 6 | # | 4 | CARAMEL | 4 | # | 5 | MINTCHIP | 3 | # | 6 | CHOCOLATE | 1 | # --- # Round 3 Pairings # | Choice | Wins | Losses | Ties | # |------------|------|--------|------| # | CARAMEL | 4 | 1 | 0 | # | CHOCOLATE | 3 | 1 | 1 | # | MINTCHIP | 0 | 5 | 0 | # | PISTACHIO | 1 | 4 | 0 | # | STRAWBERRY | 3 | 1 | 1 | # | VANILLA | 3 | 2 | 0 | # Eliminated Condorcet Losers: # MINTCHIP, PISTACHIO # --- # Round 4 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | STRAWBERRY | 23 | # | 2 | VANILLA | 17 | # | 3 | CHOCOLATE | 9 | # | 4 | CARAMEL | 4 | # --- # Round 4 Pairings # | Choice | Wins | Losses | Ties | # |------------|------|--------|------| # | CARAMEL | 2 | 1 | 0 | # | CHOCOLATE | 1 | 1 | 1 | # | STRAWBERRY | 1 | 1 | 1 | # | VANILLA | 1 | 2 | 0 | # Elimminating CHOCOLATE # --- # Round 5 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | STRAWBERRY | 23 | # | 1 | VANILLA | 23 | # | 2 | CARAMEL | 4 | # --- # Round 5 Pairings # | Choice | Wins | Losses | Ties | # |------------|------|--------|------| # | CARAMEL | 1 | 1 | 0 | # | STRAWBERRY | 1 | 1 | 0 | # | VANILLA | 1 | 1 | 0 | # Elimminating CARAMEL # --- # Round 6 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | VANILLA | 27 | # | 2 | STRAWBERRY | 23 | # --- # | Winner | VANILLA | # | Votes in Final Round | 50 | # | Votes Needed for Majority | 26 | # | Winning Votes | 27 | # ==== Edgeall # Vote::Count Version 0.011 # Sat Jul 27 02:00:37 2019 # CONDORCET SEQUENTIAL DROPPING METHOD # CHOICES: # CARAMEL, CHOCOLATE, MINTCHIP, PISTACHIO, ROCKYROAD, RUMRAISIN, STRAWBERRY, VANILLA # Elimination Rule: Drop the Choice With the Lowest TopCount. # Elimination Rule is Applied to All Active Choices. # --- # Round 1 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | STRAWBERRY | 22 | # | 2 | VANILLA | 17 | # | 3 | PISTACHIO | 6 | # | 4 | CARAMEL | 4 | # | 5 | MINTCHIP | 3 | # | 6 | CHOCOLATE | 1 | # | 7 | ROCKYROAD | 0 | # | 7 | RUMRAISIN | 0 | # --- # Round 1 Pairings # | Choice | Wins | Losses | Ties | # |------------|------|--------|------| # | CARAMEL | 6 | 1 | 0 | # | CHOCOLATE | 5 | 1 | 1 | # | MINTCHIP | 1 | 6 | 0 | # | PISTACHIO | 2 | 5 | 0 | # | ROCKYROAD | 1 | 6 | 0 | # | RUMRAISIN | 2 | 5 | 0 | # | STRAWBERRY | 5 | 1 | 1 | # | VANILLA | 5 | 2 | 0 | # Elimminating ROCKYROAD # Elimminating RUMRAISIN # --- # Round 2 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | STRAWBERRY | 22 | # | 2 | VANILLA | 17 | # | 3 | PISTACHIO | 6 | # | 4 | CARAMEL | 4 | # | 5 | MINTCHIP | 3 | # | 6 | CHOCOLATE | 1 | # --- # Round 2 Pairings # | Choice | Wins | Losses | Ties | # |------------|------|--------|------| # | CARAMEL | 4 | 1 | 0 | # | CHOCOLATE | 3 | 1 | 1 | # | MINTCHIP | 0 | 5 | 0 | # | PISTACHIO | 1 | 4 | 0 | # | STRAWBERRY | 3 | 1 | 1 | # | VANILLA | 3 | 2 | 0 | # Eliminated Condorcet Losers: # MINTCHIP, PISTACHIO # --- # Round 3 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | STRAWBERRY | 23 | # | 2 | VANILLA | 17 | # | 3 | CHOCOLATE | 9 | # | 4 | CARAMEL | 4 | # --- # Round 3 Pairings # | Choice | Wins | Losses | Ties | # |------------|------|--------|------| # | CARAMEL | 2 | 1 | 0 | # | CHOCOLATE | 1 | 1 | 1 | # | STRAWBERRY | 1 | 1 | 1 | # | VANILLA | 1 | 2 | 0 | # Elimminating CARAMEL # --- # Round 4 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | STRAWBERRY | 23 | # | 2 | VANILLA | 17 | # | 3 | CHOCOLATE | 13 | # --- # Round 4 Pairings # | Choice | Wins | Losses | Ties | # |------------|------|--------|------| # | CHOCOLATE | 1 | 0 | 1 | # | STRAWBERRY | 0 | 1 | 1 | # | VANILLA | 1 | 1 | 0 | # Elimminating CHOCOLATE # --- # Round 5 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | VANILLA | 27 | # | 2 | STRAWBERRY | 23 | # --- # | Winner | VANILLA | # | Votes in Final Round | 50 | # | Votes Needed for Majority | 26 | # | Winning Votes | 27 | # Subtest: Approval Dropping # ********** LOOPSET ********* ok 1 - loopset approval all winner # Vote::Count Version 0.011 # Sat Jul 27 02:00:37 2019 # CONDORCET SEQUENTIAL DROPPING METHOD # CHOICES: # CARAMEL, CHOCOLATE, MINTCHIP, PISTACHIO, ROCKYROAD, RUMRAISIN, STRAWBERRY, VANILLA # Elimination Rule: Drop the Choice With the Lowest Approval. # Elimination Rule is Applied to All Active Choices. # Round 1 Approval Totals # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | VANILLA | 13 | # | 2 | CHOCOLATE | 11 | # | 2 | MINTCHIP | 11 | # | 3 | STRAWBERRY | 5 | # | 4 | PISTACHIO | 2 | # | 4 | ROCKYROAD | 2 | # | 5 | CARAMEL | 1 | # | 5 | RUMRAISIN | 1 | # --- # Round 1 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | VANILLA | 7 | # | 2 | MINTCHIP | 5 | # | 3 | CHOCOLATE | 4 | # | 4 | PISTACHIO | 2 | # | 5 | CARAMEL | 0 | # | 5 | ROCKYROAD | 0 | # | 5 | RUMRAISIN | 0 | # | 5 | STRAWBERRY | 0 | # --- # Round 1 Pairings # | Choice | Wins | Losses | Ties | # |------------|------|--------|------| # | CARAMEL | 1 | 6 | 0 | # | CHOCOLATE | 6 | 1 | 0 | # | MINTCHIP | 6 | 1 | 0 | # | PISTACHIO | 3 | 4 | 0 | # | ROCKYROAD | 2 | 5 | 0 | # | RUMRAISIN | 0 | 7 | 0 | # | STRAWBERRY | 4 | 3 | 0 | # | VANILLA | 6 | 1 | 0 | # Eliminated Condorcet Losers: # RUMRAISIN, CARAMEL, ROCKYROAD, PISTACHIO, STRAWBERRY # Round 2 Approval Totals # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | VANILLA | 13 | # | 2 | CHOCOLATE | 11 | # | 2 | MINTCHIP | 11 | # --- # Round 2 TopCount # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | MINTCHIP | 7 | # | 1 | VANILLA | 7 | # | 2 | CHOCOLATE | 4 | # --- # Round 2 Pairings # | Choice | Wins | Losses | Ties | # |-----------|------|--------|------| # | CHOCOLATE | 1 | 1 | 0 | # | MINTCHIP | 1 | 1 | 0 | # | VANILLA | 1 | 1 | 0 | # Elimminating MINTCHIP # Elimminating CHOCOLATE # Only 1 choice remains. # ** WINNER : VANILLA ** 1..1 ok 2 - Subtest: Approval Dropping # Subtest: Boorda Dropping # # ********** LOOPSET BORDA ********* ok 1 - loopset plurality leastwins winner is the same # Vote::Count Version 0.011 # Sat Jul 27 02:00:37 2019 # CONDORCET SEQUENTIAL DROPPING METHOD # CHOICES: # CARAMEL, CHOCOLATE, MINTCHIP, PISTACHIO, ROCKYROAD, RUMRAISIN, STRAWBERRY, VANILLA # Elimination Rule: Drop the Choice With the Lowest Borda Score. # Elimination Rule is Applied to only Choices with the Fewest Wins. # Round 1 Borda Count # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | VANILLA | 90 | # | 2 | MINTCHIP | 80 | # | 3 | CHOCOLATE | 75 | # | 4 | STRAWBERRY | 30 | # | 5 | PISTACHIO | 16 | # | 6 | ROCKYROAD | 14 | # | 7 | CARAMEL | 7 | # | 8 | RUMRAISIN | 6 | # --- # Round 1 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | VANILLA | 7 | # | 2 | MINTCHIP | 5 | # | 3 | CHOCOLATE | 4 | # | 4 | PISTACHIO | 2 | # | 5 | CARAMEL | 0 | # | 5 | ROCKYROAD | 0 | # | 5 | RUMRAISIN | 0 | # | 5 | STRAWBERRY | 0 | # --- # Round 1 Pairings # | Choice | Wins | Losses | Ties | # |------------|------|--------|------| # | CARAMEL | 1 | 6 | 0 | # | CHOCOLATE | 6 | 1 | 0 | # | MINTCHIP | 6 | 1 | 0 | # | PISTACHIO | 3 | 4 | 0 | # | ROCKYROAD | 2 | 5 | 0 | # | RUMRAISIN | 0 | 7 | 0 | # | STRAWBERRY | 4 | 3 | 0 | # | VANILLA | 6 | 1 | 0 | # Eliminated Condorcet Losers: # RUMRAISIN, CARAMEL, ROCKYROAD, PISTACHIO, STRAWBERRY # Round 2 Borda Count # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | MINTCHIP | 29 | # | 1 | VANILLA | 29 | # | 2 | CHOCOLATE | 24 | # --- # Round 2 TopCount # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | MINTCHIP | 7 | # | 1 | VANILLA | 7 | # | 2 | CHOCOLATE | 4 | # --- # Round 2 Pairings # | Choice | Wins | Losses | Ties | # |-----------|------|--------|------| # | CHOCOLATE | 1 | 1 | 0 | # | MINTCHIP | 1 | 1 | 0 | # | VANILLA | 1 | 1 | 0 | # Elimminating CHOCOLATE # Round 3 Borda Count # | Rank | Choice | Votes | # |------|----------|-------| # | 1 | MINTCHIP | 22 | # | 2 | VANILLA | 20 | # --- # Round 3 TopCount # | Rank | Choice | Votes | # |------|----------|-------| # | 1 | MINTCHIP | 11 | # | 2 | VANILLA | 7 | # --- # | Winner | MINTCHIP | # | Votes in Final Round | 18 | # | Votes Needed for Majority | 10 | # | Winning Votes | 11 | # # ********** KNOTSET BORDA ********* ok 2 - knotset winner with defaults # Vote::Count Version 0.011 # Sat Jul 27 02:00:37 2019 # CONDORCET SEQUENTIAL DROPPING METHOD # CHOICES: # CARAMEL, CHOCOLATE, MINTCHIP, PISTACHIO, ROCKYROAD, RUMRAISIN, STRAWBERRY, VANILLA # Elimination Rule: Drop the Choice With the Lowest Borda Score. # Elimination Rule is Applied to All Active Choices. # Round 1 Borda Count # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | VANILLA | 81 | # | 2 | MINTCHIP | 80 | # | 3 | CHOCOLATE | 70 | # | 4 | CARAMEL | 64 | # | 5 | STRAWBERRY | 25 | # | 6 | PISTACHIO | 16 | # | 7 | ROCKYROAD | 14 | # | 8 | RUMRAISIN | 7 | # --- # Round 1 TopCount # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | CARAMEL | 5 | # | 1 | MINTCHIP | 5 | # | 2 | CHOCOLATE | 4 | # | 3 | PISTACHIO | 2 | # | 3 | VANILLA | 2 | # | 4 | ROCKYROAD | 0 | # | 4 | RUMRAISIN | 0 | # | 4 | STRAWBERRY | 0 | # --- # Round 1 Pairings # | Choice | Wins | Losses | Ties | # |------------|------|--------|------| # | CARAMEL | 5 | 2 | 0 | # | CHOCOLATE | 6 | 1 | 0 | # | MINTCHIP | 6 | 1 | 0 | # | PISTACHIO | 2 | 5 | 0 | # | ROCKYROAD | 1 | 6 | 0 | # | RUMRAISIN | 0 | 7 | 0 | # | STRAWBERRY | 3 | 4 | 0 | # | VANILLA | 5 | 2 | 0 | # Eliminated Condorcet Losers: # RUMRAISIN, ROCKYROAD, PISTACHIO, STRAWBERRY # Round 2 Borda Count # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | MINTCHIP | 40 | # | 2 | VANILLA | 33 | # | 3 | CHOCOLATE | 30 | # | 4 | CARAMEL | 28 | # --- # Round 2 TopCount # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | MINTCHIP | 7 | # | 2 | CARAMEL | 5 | # | 3 | CHOCOLATE | 4 | # | 4 | VANILLA | 2 | # --- # Round 2 Pairings # | Choice | Wins | Losses | Ties | # |-----------|------|--------|------| # | CARAMEL | 1 | 2 | 0 | # | CHOCOLATE | 2 | 1 | 0 | # | MINTCHIP | 2 | 1 | 0 | # | VANILLA | 1 | 2 | 0 | # Elimminating CARAMEL # Round 3 Borda Count # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | MINTCHIP | 29 | # | 1 | VANILLA | 29 | # | 2 | CHOCOLATE | 24 | # --- # Round 3 TopCount # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | MINTCHIP | 7 | # | 1 | VANILLA | 7 | # | 2 | CHOCOLATE | 4 | # --- # Round 3 Pairings # | Choice | Wins | Losses | Ties | # |-----------|------|--------|------| # | CHOCOLATE | 1 | 1 | 0 | # | MINTCHIP | 1 | 1 | 0 | # | VANILLA | 1 | 1 | 0 | # Elimminating CHOCOLATE # Round 4 Borda Count # | Rank | Choice | Votes | # |------|----------|-------| # | 1 | MINTCHIP | 22 | # | 2 | VANILLA | 20 | # --- # Round 4 TopCount # | Rank | Choice | Votes | # |------|----------|-------| # | 1 | MINTCHIP | 11 | # | 2 | VANILLA | 7 | # --- # | Winner | MINTCHIP | # | Votes in Final Round | 18 | # | Votes Needed for Majority | 10 | # | Winning Votes | 11 | 1..2 ok 3 - Subtest: Boorda Dropping 1..3 ok t/floor.t .............. # Seeded srand with seed '20190727' from local date. ok 1 - test _FloorMin ok 2 - Approval Floor (defaulted to 5%) of set ok 3 - TopCount Floor at 4% of set ok 4 - TCA Approval on highest TopCount 1..4 ok t/irv.t ................ # Seeded srand with seed '20190727' from local date. ok 1 - returns set with Mintchip winning 8 of 15 votes ok 2 - returns set with Mintchip winning 122 of 216 votes ok 3 ok 4 - tie at top returns correct data # Subtest: check the logs # VERBOSE LOG: # Sat Jul 27 02:00:38 2019 # Instant Runoff Voting # Choices: # CARAMEL, CHOCOLATE, MINTCHIP, PISTACHIO, ROCKYROAD, RUMRAISIN, STRAWBERRY, VANILLA # --- # IRV Round 1 # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | VANILLA | 7 | # | 2 | MINTCHIP | 5 | # | 3 | PISTACHIO | 2 | # | 4 | CHOCOLATE | 1 | # | 5 | CARAMEL | 0 | # | 5 | ROCKYROAD | 0 | # | 5 | RUMRAISIN | 0 | # | 5 | STRAWBERRY | 0 | # Eliminating: CARAMEL, ROCKYROAD, RUMRAISIN, STRAWBERRY # --- # IRV Round 2 # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | VANILLA | 7 | # | 2 | MINTCHIP | 5 | # | 3 | PISTACHIO | 2 | # | 4 | CHOCOLATE | 1 | # Eliminating: CHOCOLATE # --- # IRV Round 3 # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | VANILLA | 7 | # | 2 | MINTCHIP | 6 | # | 3 | PISTACHIO | 2 | # Eliminating: PISTACHIO # --- # IRV Round 4 # | Rank | Choice | Votes | # |------|----------|-------| # | 1 | MINTCHIP | 8 | # | 2 | VANILLA | 7 | # --- # | Winner | MINTCHIP | # | Votes in Final Round | 15 | # | Votes Needed for Majority | 8 | # | Winning Votes | 8 | ok 1 - check verbose log for |Winner|MINTCHIP| ok 2 - check verbose log for Eliminating:PISTACHIO---IRVRound4 # TERSE LOG: # Instant Runoff Voting # Choices: # CARAMEL, CHOCOLATE, MINTCHIP, PISTACHIO, ROCKYROAD, RUMRAISIN, STRAWBERRY, VANILLA # --- # | Winner | MINTCHIP | # | Votes in Final Round | 15 | # | Votes Needed for Majority | 8 | # | Winning Votes | 8 | ok 3 - compare terse log to expected log 1..3 ok 5 - Subtest: check the logs 1..5 ok t/matrix.t ............. # Seeded srand with seed '20190727' from local date. ok 1 - The matrix is a Vote::Count::Matrix # Subtest: _conduct_pair returns hash with pairing info ok 1 - A Tie ok 2 - has winner 1..2 ok 2 - Subtest: _conduct_pair returns hash with pairing info # Subtest: check some in the matrix ok 1 - check a tie ok 2 - one with a winner ok 3 - access a result in both possible pairing orders identical 1..3 ok 3 - Subtest: check some in the matrix # Subtest: ScoreMatrix ok 1 - check scoring for a dataset ok 2 - check scoring same data after eliminating some choices 1..2 ok 4 - Subtest: ScoreMatrix # Subtest: CondorcetLoser elimination ok 1 - terse is list of eliminated losers ok 2 - check verbose for expected first line ok 3 - check verbose for an elimination notice ok 4 - only the condorcet winner remains in active 1..4 ok 5 - Subtest: CondorcetLoser elimination # Subtest: _getsmithguessforchoice ok 1 - choice with a lot of losses proposed large smith set ok 2 - choice with 1 defeat and 1 tie returned correct 3 choices 1..2 ok 6 - Subtest: _getsmithguessforchoice # Subtest: SmithSet ok 1 - Simple Knot test data returns 4 for Smith Set ok 2 - Loop test data returns 3 element Smith Set ok 3 - Set with no winner 1..3 ok 7 - Subtest: SmithSet # Subtest: CondorcetWinner ok 1 - set with no condorcet winner returns empty string ok 2 - set with condorcet winner returns it ok 3 - set with condorcet winner returns it ok 4 - set with no condorcet winner returns empty string ok 5 - set with no condorcet winner returns empty string ok 6 - reduced Active of last winnerless set to one choice, now returned as winner 1..6 ok 8 - Subtest: CondorcetWinner # Subtest: GetPairResult ok 1 - Lookup the winner of a pairing with GetPairWinner ok 2 - Check the hashref returned by GetPairResult 1..2 ok 9 - Subtest: GetPairResult 1..9 ok t/rankcount.t .......... # Seeded srand with seed '20190727' from local date. ok 1 - Made a new counted object from rank ok 2 - have expected subs ok 3 - the RawCount Method should return the same hash as was used to create the Rank object ok 4 # Subtest: HashByRank ok 1 - check an element from hashbyrank ok 2 - check a different element that returns more than 1 value 1..2 ok 5 - Subtest: HashByRank ok 6 - confirm top element ok 7 - confirm bottom elements ok 8 - Leader Method returned top element as winner ok 9 - Leader Method tie is false on data with winner ok 10 - Leader Method returned empty winner for set with tie ok 11 - Leader Method tie is true for set with tie ok 12 - Generate a table with ->RankTable() ok 13 - CountVotes method 1..13 ok t/synopsis.t ........... # Seeded srand with seed '20190727' from local date. # Sat Jul 27 02:00:40 2019 # Applying Floor Rule of 5% Approval Count. vs Ballots Cast of 225. # Removing: TOAD: 3, minimum is 11. # Removing: VOMIT: 3, minimum is 11. # Removing: CHOCOANTS: 3, minimum is 11. # Removing: SOGGYCHIPS: 1, minimum is 11. # Floor Rule Eliminated: # TOAD, VOMIT, CHOCOANTS, SOGGYCHIPS # Remaining: # VANILLA, CHOCOLATE, STRAWBERRY, RUMRAISIN, MINTCHIP, CARAMEL, PISTACHIO, ROCKYROAD # Dominant Set Is: MINTCHIP # CONDORCET SEQUENTIAL DROPPING METHOD # CHOICES: # MINTCHIP # Elimination Rule: Drop the Choice With the Lowest TopCount. # Elimination Rule is Applied to All Active Choices. # --- # Round 1 TopCount # | Rank | Choice | Votes | # |------|----------|-------| # | 1 | MINTCHIP | 122 | # --- # | Winner | MINTCHIP | # | Votes in Final Round | 122 | # | Votes Needed for Majority | 62 | # | Winning Votes | 122 | # Sat Jul 27 02:00:40 2019 # Plurality Results # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | VANILLA | 94 | # | 2 | MINTCHIP | 67 | # | 3 | CHOCOLATE | 34 | # | 4 | PISTACHIO | 21 | # | 5 | CHOCOANTS | 3 | # | 5 | VOMIT | 3 | # | 6 | TOAD | 2 | # | 7 | SOGGYCHIPS | 1 | # | 8 | CARAMEL | 0 | # | 8 | ROCKYROAD | 0 | # | 8 | RUMRAISIN | 0 | # | 8 | STRAWBERRY | 0 | # Plurality Winner: # VANILLA # Instant Runoff Voting # Choices: # CARAMEL, CHOCOANTS, CHOCOLATE, MINTCHIP, PISTACHIO, ROCKYROAD, RUMRAISIN, SOGGYCHIPS, STRAWBERRY, TOAD, VANILLA, VOMIT # --- # IRV Round 1 # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | VANILLA | 94 | # | 2 | MINTCHIP | 67 | # | 3 | CHOCOLATE | 34 | # | 4 | PISTACHIO | 21 | # | 5 | CHOCOANTS | 3 | # | 5 | VOMIT | 3 | # | 6 | TOAD | 2 | # | 7 | SOGGYCHIPS | 1 | # | 8 | CARAMEL | 0 | # | 8 | ROCKYROAD | 0 | # | 8 | RUMRAISIN | 0 | # | 8 | STRAWBERRY | 0 | # Eliminating: CARAMEL, ROCKYROAD, RUMRAISIN, STRAWBERRY # --- # IRV Round 2 # | Rank | Choice | Votes | # |------|------------|-------| # | 1 | VANILLA | 94 | # | 2 | MINTCHIP | 67 | # | 3 | CHOCOLATE | 34 | # | 4 | PISTACHIO | 21 | # | 5 | CHOCOANTS | 3 | # | 5 | VOMIT | 3 | # | 6 | TOAD | 2 | # | 7 | SOGGYCHIPS | 1 | # Eliminating: SOGGYCHIPS # --- # IRV Round 3 # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | VANILLA | 94 | # | 2 | MINTCHIP | 67 | # | 3 | CHOCOLATE | 34 | # | 4 | PISTACHIO | 21 | # | 5 | CHOCOANTS | 3 | # | 5 | VOMIT | 3 | # | 6 | TOAD | 2 | # Eliminating: TOAD # --- # IRV Round 4 # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | VANILLA | 94 | # | 2 | MINTCHIP | 67 | # | 3 | CHOCOLATE | 34 | # | 4 | PISTACHIO | 21 | # | 5 | CHOCOANTS | 3 | # | 5 | VOMIT | 3 | # Eliminating: CHOCOANTS, VOMIT # --- # IRV Round 5 # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | VANILLA | 94 | # | 2 | MINTCHIP | 67 | # | 3 | CHOCOLATE | 37 | # | 4 | PISTACHIO | 21 | # Eliminating: PISTACHIO # --- # IRV Round 6 # | Rank | Choice | Votes | # |------|-----------|-------| # | 1 | VANILLA | 94 | # | 2 | MINTCHIP | 88 | # | 3 | CHOCOLATE | 37 | # Eliminating: CHOCOLATE # --- # IRV Round 7 # | Rank | Choice | Votes | # |------|----------|-------| # | 1 | MINTCHIP | 122 | # | 2 | VANILLA | 94 | # --- # | Winner | MINTCHIP | # | Votes in Final Round | 216 | # | Votes Needed for Majority | 109 | # | Winning Votes | 122 | # ****************** # Plurality Winner: VANILLA # IRV Winner: MINTCHIP # Winner: MINTCHIP ok 1 - Check Plurality Winner ok 2 - Check the IRV Result ok 3 - The Condorcet Result 1..3 ok t/topcount.t ........... # Seeded srand with seed '20190727' from local date. ok 1 - Topcounted a small set with no active list as expected ok 2 - Check rawcount to confirm Topcounted a small set with AN active list ok 3 - With full ballot TopCountMajority returns only votes and thresshold ok 4 - Topcount from saved subset topcount TopCountMajority also gives winner info ok 5 - repeat last set with EvaluateTopCountMajority for same results 1..5 ok t/votecount.t .......... # Seeded srand with seed '20190727' from local date. ok 1 - BallotSetType option is set to rcv ok 2 - Count the number of ballots in the set 1..2 ok All tests successful. Files=11, Tests=53, 7 wallclock secs ( 0.04 usr 0.04 sys + 5.72 cusr 0.87 csys = 6.67 CPU) Result: PASS BRAINBUZ/Vote-Count-0.011.tar.gz make test TEST_VERBOSE=1 -- OK Fetching with LWP: http://ppm.activestate.com/CPAN/authors/id/B/BR/BRAINBUZ/CHECKSUMS Can't chown '/data/fly2400/cpanfly-5.24/var/cpan/FTPstats.yml.14683' to fly2200/cpanflies: Operation not permitted John Karr <brainbuz@cpan.org> toolkit for implementing voting methods. >>> (cd /data/fly2400/cpanfly-5.24/var/tmp/cpan_build/Vote-Count-0.011-A4mFou && tar cvf - Vote-Count-0.011.ppd blib) | gzip -c >/data/fly2400/cpanfly-5.24/var/REPO/B/BR/BRAINBUZ/Vote-Count-0.011.tar.gz Vote-Count-0.011.ppd blib/ blib/man3/ blib/man3/Vote::Count::ReadBallots.3 blib/man3/Vote::Count::Method::CondorcetDropping.3 blib/man3/TextTableTiny.3 blib/man3/Vote::Count::Method::IRV.3 blib/man3/Vote::Count::Matrix.3 blib/man3/Vote::Count::RankCount.3 blib/man3/Vote::buildpod.3 blib/man3/Vote::Count::Floor.3 blib/man3/Vote::Count::TopCount.3 blib/man3/Vote::Count::Approval.3 blib/man3/Vote::Count::Borda.3 blib/man3/Vote::Count.3 blib/lib/ blib/lib/TextTableTiny.pm blib/lib/Vote/ blib/lib/Vote/Count/ blib/lib/Vote/Count/Matrix.pm blib/lib/Vote/Count/Borda.pm blib/lib/Vote/Count/TopCount.pm blib/lib/Vote/Count/Approval.pm blib/lib/Vote/Count/ReadBallots.pm blib/lib/Vote/Count/Method/ blib/lib/Vote/Count/Method/CondorcetDropping.pm blib/lib/Vote/Count/Method/IRV.pm blib/lib/Vote/Count/RankCount.pm blib/lib/Vote/Count/Floor.pm blib/lib/Vote/Count.pm blib/lib/Vote/README.pod blib/lib/Vote/buildpod.pl VmSize: 385592 kB Finished 2019-07-27T02:00:41