Home

Awesome

<p align="center"> <img src="https://raw.githubusercontent.com/CondorcetVote/Condorcet_Modules_Skeletons/master/condorcet-black.png" alt="Condorcet Logo"> </p>

Skeleton to develop your own Condorcet module.

The aim of these skeletons is to provide an example of implementation and execution without having to fork Condorcet. Modules living in their own namespace. Not to produce documentation of what can be done in the code. To do this, refer to the official documentation and to the methods that exist natively in the Condorcet project, which use exactly the same internal API.

Installation

composer update

Execute all tests

composer test 

Or:

vendor/bin/phpunit

Execute a script example based on your method

php src/main.php

Execute as the command line version

php bin/CondorcetCommandLine.php

Examples of real implementations

Methods (selection)

Constraints