Which Alternative Represents Us, a package for voting rules
Project description
Whalrus
Which Alternative Represents Us, a package for voting rules
Free software: GNU General Public License v3
Documentation: https://francois-durand.github.io/whalrus/.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for whalrus-0.4.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ada3ee06bd33a88b5c1a3978833c9ac54d6e9db63e16b13b0eca5a967391c89 |
|
MD5 | f8f59514e8d3e2d5980d1e962285d485 |
|
BLAKE2b-256 | de40c78fffb3157b97331d8dade1fad33666323a64e6ed5da59f2fbe6afb3077 |