Skip to content

Man Page

shell
condorcet --help
Description:
  Process an election

Usage:
  election [options] [--] [<methods>...]
  condorcet

Arguments:
  methods                                                                  Methods to output

Options:
  -c, --candidates=CANDIDATES                                              Candidates list file path or direct input
  -w, --votes=VOTES                                                        Votes list file path or direct input
      --import-condorcet-election-format=IMPORT-CONDORCET-ELECTION-FORMAT  File path. Setup an election and his data from a Condorcet Election file as defined as standard on https://github.com/CondorcetVote/CondorcetElectionFormat . Other parameters from the command line argument have the priority if set. Other votes can be added with the --vote argument, other candidates can't be added.
      --import-debian-format=IMPORT-DEBIAN-FORMAT                          File path. Setup an election and his data from a Debian tally file. Other votes can be added with the --vote argument, other candidates can't be added.
      --import-david-hill-format=IMPORT-DAVID-HILL-FORMAT                  File path. Setup an election and his data from a Debian tally file. Other votes can be added with the --vote argument, other candidates can't be added.
  -s, --stats                                                              Get detailed stats (equivalent to --show-pairwise and --method-stats)
      --method-stats                                                       Get detailed stats per method
  -p, --show-pairwise                                                      Get pairwise computation
  -l, --list-votes                                                         List registered votes
  -r, --natural-condorcet                                                  Print natural Condorcet winner / loser
  -i, --deactivate-implicit-ranking                                        Deactivate implicit ranking
  -g, --allows-votes-weight                                                Allows vote weight
  -t, --no-tie                                                             Add no-tie constraint for vote
      --seats=SEATS                                                        Specify the count of seats to elect for proportional methods
      --quota=QUOTA                                                        Quota to be used for STV compatible methods
      --deactivate-file-cache                                              Don't use a disk cache for very large elections. Forces to work exclusively in RAM.
      --votes-per-mb=VOTES-PER-MB                                          Adjust memory in case of failure. Default is 100. Try to lower it.
  -h, --help                                                               Display help for the given command. When no command is given display help for the election command
      --silent                                                             Do not output any message
  -q, --quiet                                                              Only errors are displayed. All other output is suppressed
  -V, --version                                                            Display this application version
      --ansi|--no-ansi                                                     Force (or disable --no-ansi) ANSI output
  -n, --no-interaction                                                     Do not ask any interactive question
  -v|vv|vvv, --verbose                                                     Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
  This command takes candidates and votes as input. The output is the result of that election.

Released under the MIT License.