skidooesy / stv

Automatically exported from code.google.com/p/stv
0 stars 0 forks source link

Preserve empty ballots on load #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, when loading ballots, the empty ones are thrown away.  Instead,
these should be preserved and part of the ballots data structure.

Also, repeated candidates are tossed.  Instead, they should also be preserved.

These kinds of things should be taken care of before running an election
using a new function called cleanBallots that does the above and also
removes withdrawn candidates.  This will produce a new ballots object.

Original issue reported on code.google.com by jeff.oneill on 2 Jul 2009 at 3:11

GoogleCodeExporter commented 8 years ago

Original comment by jeff.oneill on 4 Jul 2009 at 5:17