Skip to main content

Which Alternative Represents Us, a package for voting rules

Project description

Whalrus

PyPI Status Build Status Documentation Status Code Coverage

Which Alternative Represents Us, a package for voting rules

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

We use the checklist provided by Package Helper 2.

History

0.4.6 (2020-12-01): Improve test coverage

  • Reach 100% of test coverage. Cf. https://codecov.io/gh/francois-durand/whalrus.

  • Convert documentation to Numpy style. The documentation is not changed much in html format, but is more readable in plain text.

  • Remove hash function for BallotOneName and BallotOrder. It had a bug, and fixing it would have implied to change all sets of candidates to frozen sets. Since this function is non-essential, we decided to remove it instead.

  • Fix bug in MatrixWeightedMajority when using the option ordered_vs_absent or absent_vs_ordered.

  • Fix bug in Rule.trailer_ when there is only one candidate in the election.

0.4.5 (2020-11-26): Fix Missing Files in Deployment

  • Files from some sub-packages, such as scale, were missing. This release fixes that bug.

0.4.4 (2020-11-26): Fix PyPI deployment

  • Fix PyPI deployment.

0.4.3 (2020-11-26): GitHub Actions

  • This patch concerns Whalrus’ developpers only. To develop and maintain the package, it uses GitHub actions instead of additional services such as Travis-CI and ReadTheDocs.

  • Use Codecov.

  • Prepare support for Numpy documentation style (not used yet).

  • Prepare support for notebooks in documentation (not used yet).

0.4.2 (2019-08-22): Speeding Up

  • Minor patch to speed up the computation of the winner in some cases.

0.4.1 (2019-04-01): Tie-breaking

  • Fix a bug related to random tie-break.

  • In the arguments of class RuleRankedPairs, the tie-break can be given directly, instead of having to go through the argument matrix.

0.4.0 (2019-03-29): Schulze

  • Implement Schulze rule.

0.3.0 (2019-03-29): Ranked Pairs

  • Implement Ranked Pairs rule.

0.2.1 (2019-03-28): Optimize argument passing

  • Optimize argument passing between child classes, their parent classes and their __call__ function.

0.2.0 (2019-03-21): Classic voting systems

  • First “real” release, where most classic voting systems are implemented.

0.1.0 (2018-03-13): First release

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whalrus-0.4.6.tar.gz (119.3 kB view hashes)

Uploaded Source

Built Distribution

whalrus-0.4.6-py2.py3-none-any.whl (132.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page