Subversion Repositories Remote Hare Voting

Rev

Rev 57 | Rev 63 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 57 Rev 61
Line 1... Line -...
1
SUMMARY AFTER 10 TIMES
-
 
2
 10 ['B', 'A']
-
 
3
 
-
 
4
INPUT SUMMARY AND RUN TRACE
1
INPUT SUMMARY AND RUN TRACE
5
	7 ballots
2
	7 ballots
6
	Choosing 2 winners
3
	Choosing 2 winners
7
	Need ceil((7 + 1)/(2 + 1)) = 3 ballots to win
4
	Need ceil((7 + 1)/(2 + 1)) = 3 ballots to win
8
 
5
 
Line 18... Line 15...
18
	B:
15
	B:
19
		['B', 'A']
16
		['B', 'A']
20
		['B', 'A']
17
		['B', 'A']
21
		['B', 'A']
18
		['B', 'A']
22
		['B', 'A']
19
		['B', 'A']
-
 
20
POPPED UNIVERSE 1 (p = 1.000000, 0 pending):
23
 
21
 
24
SELECTION #1: B
22
SELECTION #1: B
25
	redistributing 1 effective of 1 excess ballot(s) at random from B
23
	redistributing 4 effective ballots, 1 at a time
26
	random choice = ['B', 'A']
24
	creating 3 universes (p = 0.250000)
27
	to A: ['B', 'A']
25
	to A: ['B', 'A']
28
 
26
 
29
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
27
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
30
	A:
28
	A:
31
		['A', 'B']
29
		['A', 'B']
Line 36... Line 34...
36
		['B', 'A']
34
		['B', 'A']
37
		['B', 'A']
35
		['B', 'A']
38
		['B', 'A']
36
		['B', 'A']
39
 
37
 
40
SELECTION #2: A
38
SELECTION #2: A
-
 
39
	redistributing 0 effective ballots, 0 at a time
-
 
40
 
-
 
41
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
-
 
42
	A:
-
 
43
		['A', 'B']
-
 
44
		['A', 'B']
-
 
45
		['A', 'B']
-
 
46
		['B', 'A']
-
 
47
	B:
-
 
48
		['B', 'A']
-
 
49
		['B', 'A']
-
 
50
		['B', 'A']
-
 
51
RESULTS FOR UNIVERSE 1 (p = 0.250000): ['B', 'A']
-
 
52
POPPED UNIVERSE 4 (p = 0.250000, 2 pending):
-
 
53
	redistributing 1 ballots
-
 
54
	to A: ['B', 'A']
-
 
55
 
-
 
56
SELECTION #2: A
-
 
57
	redistributing 0 effective ballots, 0 at a time
-
 
58
 
-
 
59
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
-
 
60
	A:
-
 
61
		['A', 'B']
-
 
62
		['A', 'B']
-
 
63
		['A', 'B']
-
 
64
		['B', 'A']
-
 
65
	B:
-
 
66
		['B', 'A']
-
 
67
		['B', 'A']
-
 
68
		['B', 'A']
-
 
69
RESULTS FOR UNIVERSE 4 (p = 0.250000): ['B', 'A']
-
 
70
POPPED UNIVERSE 3 (p = 0.250000, 1 pending):
-
 
71
	redistributing 1 ballots
-
 
72
	to A: ['B', 'A']
-
 
73
 
-
 
74
SELECTION #2: A
-
 
75
	redistributing 0 effective ballots, 0 at a time
-
 
76
 
-
 
77
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
-
 
78
	A:
-
 
79
		['A', 'B']
-
 
80
		['A', 'B']
-
 
81
		['A', 'B']
-
 
82
		['B', 'A']
-
 
83
	B:
-
 
84
		['B', 'A']
-
 
85
		['B', 'A']
-
 
86
		['B', 'A']
-
 
87
RESULTS FOR UNIVERSE 3 (p = 0.250000): ['B', 'A']
-
 
88
POPPED UNIVERSE 2 (p = 0.250000, 0 pending):
-
 
89
	redistributing 1 ballots
-
 
90
	to A: ['B', 'A']
-
 
91
 
-
 
92
SELECTION #2: A
41
	redistributing 0 effective of 1 excess ballot(s) at random from A
93
	redistributing 0 effective ballots, 0 at a time
42
 
94
 
43
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
95
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
44
	A:
96
	A:
45
		['A', 'B']
97
		['A', 'B']
46
		['A', 'B']
98
		['A', 'B']
Line 48... Line 100...
48
		['B', 'A']
100
		['B', 'A']
49
	B:
101
	B:
50
		['B', 'A']
102
		['B', 'A']
51
		['B', 'A']
103
		['B', 'A']
52
		['B', 'A']
104
		['B', 'A']
-
 
105
RESULTS FOR UNIVERSE 2 (p = 0.250000): ['B', 'A']
53
 
106
 
54
Number of random choices made: 1
107
Dropped 0 universes with low probability
55
 
108
 
56
FINAL RESULTS
109
FINAL RESULTS
57
	B
-
 
58
	A
110
	1.000000: ['B', 'A']