rubyvote
13 years agoCondorcet methods determine all candidates before tallying, in case of
Joe Slag [Mon, 19 Mar 2007 17:38:50 +0000 (17:38 +0000)]
Condorcet methods determine all candidates before tallying, in case of
incomplete votes

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@18 1440c7f4-e209-0410-9a04-881b5eb134a8

13 years agoIf a vote doesn't contain all possible candidates, assign all
Joe Slag [Mon, 19 Mar 2007 17:09:56 +0000 (17:09 +0000)]
If a vote doesn't contain all possible candidates, assign all
unspecified candidates the same position below ranked candidates

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@17 1440c7f4-e209-0410-9a04-881b5eb134a8

13 years agoAdded get_full_results method that returns a ranked list of candidates.
Joe Slag [Tue, 13 Mar 2007 16:11:03 +0000 (16:11 +0000)]
Added get_full_results method that returns a ranked list of candidates.
At this time, only Condorcet votes collect the appropriate information.

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@16 1440c7f4-e209-0410-9a04-881b5eb134a8

13 years agoo Verify that all tests in test.rb are present in test/*_test.rb files,
Joe Slag [Tue, 13 Mar 2007 13:35:38 +0000 (13:35 +0000)]
o Verify that all tests in test.rb are present in test/*_test.rb files,
  remove test.rb

o Convert tests to run silent when successful, remove
  test/election_test_helper.rb

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@15 1440c7f4-e209-0410-9a04-881b5eb134a8

13 years agoMerged in changes that added unit test support by Joe Slag. Thanks!
Benjamin Mako Hill [Mon, 12 Mar 2007 20:17:25 +0000 (20:17 +0000)]
Merged in changes that added unit test support by Joe Slag. Thanks!

We now have two unit test setups in here. We should deal with this one
way or another. I'd like to keep around *a* test.rb file but the
rakefile is a good method as well.

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@14 1440c7f4-e209-0410-9a04-881b5eb134a8

14 years agoRemoved space to avoid warning
Alexis Darrasse [Wed, 5 Apr 2006 20:40:42 +0000 (20:40 +0000)]
Removed space to avoid warning

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@13 1440c7f4-e209-0410-9a04-881b5eb134a8

14 years agoAdded tie-breaking rules and multicandidate elimination of weak candidates
Alexis Darrasse [Sat, 11 Mar 2006 21:30:36 +0000 (21:30 +0000)]
Added tie-breaking rules and multicandidate elimination of weak candidates
before the first round in IRV.
Renamed runoff to irv.

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@12 1440c7f4-e209-0410-9a04-881b5eb134a8

14 years agoAdded list of changes submitted by Jeff Rose <jeff@rosejn.net>.
Benjamin Mako Hill [Fri, 10 Mar 2006 17:04:19 +0000 (17:04 +0000)]
Added list of changes submitted by Jeff Rose <jeff@rosejn.net>.

This includes:

 * Rake based testing and gemmification.
 * Range based voting (untested).
 * A new TODO file.
 * Moving files around to have them RV work better as a library.

Thanks Jeff!

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@11 1440c7f4-e209-0410-9a04-881b5eb134a8

14 years agoUpdated the changelog and the README version for a new version.
Benjamin Mako Hill [Fri, 3 Mar 2006 02:46:59 +0000 (02:46 +0000)]
Updated the changelog and the README version for a new version.

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@7 1440c7f4-e209-0410-9a04-881b5eb134a8

14 years agoAdded support for instant run-off voting with a patch from
Benjamin Mako Hill [Fri, 3 Mar 2006 01:44:54 +0000 (01:44 +0000)]
Added support for instant run-off voting with a patch from
Alexis Darrasse <alexis@ortsa.com>.

Thanks Alexis!

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@6 1440c7f4-e209-0410-9a04-881b5eb134a8

14 years agoRenamed readme file so that it reflects the type (reStructured Text).
Benjamin Mako Hill [Sun, 29 Jan 2006 17:41:41 +0000 (17:41 +0000)]
Renamed readme file so that it reflects the type (reStructured Text).

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@5 1440c7f4-e209-0410-9a04-881b5eb134a8

14 years agoFixed broken link.
Benjamin Mako Hill [Sun, 29 Jan 2006 17:41:07 +0000 (17:41 +0000)]
Fixed broken link.

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@4 1440c7f4-e209-0410-9a04-881b5eb134a8

14 years agoAdded a changelog.
Benjamin Mako Hill [Fri, 27 Jan 2006 19:09:49 +0000 (19:09 +0000)]
Added a changelog.

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@3 1440c7f4-e209-0410-9a04-881b5eb134a8

14 years agoUpdated README file so that it can work as a homepage.
Benjamin Mako Hill [Fri, 27 Jan 2006 19:04:45 +0000 (19:04 +0000)]
Updated README file so that it can work as a homepage.

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@2 1440c7f4-e209-0410-9a04-881b5eb134a8

14 years agoInitial import into SVN of rubyvote library
Benjamin Mako Hill [Fri, 27 Jan 2006 18:21:52 +0000 (18:21 +0000)]
Initial import into SVN of rubyvote library

git-svn-id: svn://rubyforge.org/var/svn/rubyvote/trunk@1 1440c7f4-e209-0410-9a04-881b5eb134a8

Benjamin Mako Hill || Want to submit a patch?