Subversion Repositories Remote Hare Voting

Rev

Rev 45 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

SUMMARY AFTER 10 TIMES
 10 ['A', 'B']

INPUT SUMMARY AND SINGLE RUN TRACE
        6 ballots
        Choosing 2 winners
        Need ceil((6 + 1)/(2 + 1)) = 3 ballots to win

        BALLOT MARKS    1ST     2ND     NONE
        A                 4       0        2
        B                 1       1        4
        C                 1       0        5

CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
        A:
                ['A', 'B']
                ['A']
                ['A']
                ['A']
        C:
                ['C']
        B:
                ['B']

SELECTION #1: A
        redistributing 1 effective of 1 excess ballot(s) at random from A
        random choice = ['A', 'B']
        to B: ['A', 'B']

CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
        A:
                ['A']
                ['A']
                ['A']
        C:
                ['C']
        B:
                ['B']
                ['A', 'B']

ELIMINATED: C
        redistributing 1 ballot(s) from C
        ineffective ballot dropped: ['C']

CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
        A:
                ['A']
                ['A']
                ['A']
        C:
        B:
                ['B']
                ['A', 'B']
        remaining winner(s) have fewer than quota (3) ballots

SELECTION #2: B
        no excess ballots to redistribute

CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
        A:
                ['A']
                ['A']
                ['A']
        C:
        B:
                ['B']
                ['A', 'B']

Number of random choices made: 1

FINAL RESULTS
        A
        B