Subversion Repositories Remote Hare Voting

Rev

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

Rev 61 Rev 63
Line 1... Line 1...
1
INPUT SUMMARY AND RUN TRACE
1
INPUT SUMMARY
2
	7 ballots
2
	7 ballots
3
	Choosing 2 winners
3
	Choosing 2 winners
4
	Need ceil((7 + 1)/(2 + 1)) = 3 ballots to win
4
	Need ceil((7 + 1)/(2 + 1)) = 3 ballots to win
5
 
5
 
6
	BALLOT MARKS	1ST	2ND	NONE
6
	BALLOT MARKS	1ST	2ND	NONE
Line 15... Line 15...
15
	B:
15
	B:
16
		['B', 'A']
16
		['B', 'A']
17
		['B', 'A']
17
		['B', 'A']
18
		['B', 'A']
18
		['B', 'A']
19
		['B', 'A']
19
		['B', 'A']
20
POPPED UNIVERSE 1 (p = 1.000000, 0 pending):
-
 
21
 
20
 
22
SELECTION #1: B
-
 
23
	redistributing 4 effective ballots, 1 at a time
-
 
24
	creating 3 universes (p = 0.250000)
-
 
25
	to A: ['B', 'A']
-
 
26
 
-
 
27
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
-
 
28
	A:
-
 
29
		['A', 'B']
-
 
30
		['A', 'B']
-
 
31
		['A', 'B']
-
 
32
		['B', 'A']
-
 
33
	B:
-
 
34
		['B', 'A']
-
 
35
		['B', 'A']
-
 
36
		['B', 'A']
-
 
37
 
-
 
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
-
 
93
	redistributing 0 effective ballots, 0 at a time
-
 
94
 
-
 
95
CURRENT ASSIGNMENT OF BALLOTS (3 needed to win)
-
 
96
	A:
-
 
97
		['A', 'B']
-
 
98
		['A', 'B']
-
 
99
		['A', 'B']
-
 
100
		['B', 'A']
-
 
101
	B:
-
 
102
		['B', 'A']
-
 
103
		['B', 'A']
-
 
104
		['B', 'A']
-
 
105
RESULTS FOR UNIVERSE 2 (p = 0.250000): ['B', 'A']
-
 
106
 
-
 
107
Dropped 0 universes with low probability
21
Used 4 parallel universes (skipped 0 low probability)
108
 
22
 
109
FINAL RESULTS
23
FINAL RESULTS
110
	1.000000: ['B', 'A']
24
1.000000: ['B', 'A']