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 ['B', 'A', 'C']

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

        BALLOT MARKS    1ST     2ND     NONE
        A                 5       6        0
        B                 6       9        0
        C                 4       0        0
        D                 0       0        0
        E                 0       0        0
        H                 0       0        0
        I                 0       0        0

CURRENT ASSIGNMENT OF BALLOTS (4 needed to win)
        A:
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
        C:
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
        B:
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']

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

CURRENT ASSIGNMENT OF BALLOTS (4 needed to win)
        A:
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
        C:
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
        B:
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']

SELECTION #2: A
        redistributing 3 effective of 3 excess ballot(s) at random from A
        random choice = ['B', 'A', 'C', 'D', 'E', 'H', 'I']
        to C: ['B', 'A', 'C', 'D', 'E', 'H', 'I']
        random choice = ['A', 'B', 'C', 'D', 'E', 'H', 'I']
        to C: ['A', 'B', 'C', 'D', 'E', 'H', 'I']
        random choice = ['A', 'B', 'C', 'D', 'E', 'H', 'I']
        to C: ['A', 'B', 'C', 'D', 'E', 'H', 'I']

CURRENT ASSIGNMENT OF BALLOTS (4 needed to win)
        A:
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
        C:
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
        B:
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']

SELECTION #3: C
        redistributing 3 effective of 3 excess ballot(s) at random from C
        random choice = ['A', 'B', 'C', 'D', 'E', 'H', 'I']
        to D: ['A', 'B', 'C', 'D', 'E', 'H', 'I']
        random choice = ['C', 'B', 'A', 'D', 'E', 'H', 'I']
        to D: ['C', 'B', 'A', 'D', 'E', 'H', 'I']
        random choice = ['C', 'B', 'A', 'D', 'E', 'H', 'I']
        to D: ['C', 'B', 'A', 'D', 'E', 'H', 'I']

CURRENT ASSIGNMENT OF BALLOTS (4 needed to win)
        A:
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
        C:
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
        B:
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
                ['B', 'A', 'C', 'D', 'E', 'H', 'I']
        D:
                ['A', 'B', 'C', 'D', 'E', 'H', 'I']
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']
                ['C', 'B', 'A', 'D', 'E', 'H', 'I']

Number of random choices made: 8

FINAL RESULTS
        B
        A
        C