Subversion Repositories Local Hare Voting

Rev

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

Rev 64 Rev 67
Line 26... Line 26...
26
        <input type=submit name="run1" value="Run 1 Time">
26
        <input type=submit name="run1" value="Run 1 Time">
27
        <input type=submit name="run500" value="Run 500 Times">
27
        <input type=submit name="run500" value="Run 500 Times">
28
	<input type=submit name="runparallel" value="Run All Ways">
28
	<input type=submit name="runparallel" value="Run All Ways">
29
    </form>
29
    </form>
30
    <p>
30
    <p>
31
Input file format is given
31
Input is a CSV/spreadsheet file with the number of winners to be
-
 
32
selected in the first cell.  On subsequent lines, the first column contains the names of the candidates (no blanks), with each additional column representing a ballot.  Details are given 
32
<a href="http://www.bikmort.com/wiki/index.php?title=Hare_Voting_Procedure">here</a>.
33
<a href="http://www.bikmort.com/dokuwiki/doku.php/hare_voting_procedure">here</a>.
33
Little error checking is done, so be sure to review the trace output.
34
Little error checking is done, so be sure to review the trace output.
34
The source code is available <a href="%s?fetch=yes">here</a>.
35
The source code is available <a href="%s?fetch=yes">here</a>.
35
<p>
36
<p>
36
<small>%s</small>
37
<small>%s</small>
37
<hr>
38
<hr>
38
<pre>
39
<pre>
39
""" % (formaction, formaction, "$Id: vote.py 64 2007-10-15 15:48:23Z jtkorb $"))
40
""" % (formaction, formaction, "$Id: vote.py 67 2007-10-15 16:11:51Z jtkorb $"))
40
    return
41
    return
41
 
42
 
42
def emitPostHTML():
43
def emitPostHTML():
43
    emitHTML("""</pre>
44
    emitHTML("""</pre>
44
</body>
45
</body>