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
File details
Details for the file whalrus-0.4.6.tar.gz
.
File metadata
- Download URL: whalrus-0.4.6.tar.gz
- Upload date:
- Size: 119.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e57c4d739eed5774d2d14145bfec3d1c6ec808be0db8c2940baed68359ec0c2 |
|
MD5 | 12155dbb4328b4a6c5eff12bef3fac76 |
|
BLAKE2b-256 | 4bec61a6629ead1285f775a50f0c798ee199549ab95c2cc46cd866a9acccd62b |
Provenance
File details
Details for the file whalrus-0.4.6-py2.py3-none-any.whl
.
File metadata
- Download URL: whalrus-0.4.6-py2.py3-none-any.whl
- Upload date:
- Size: 132.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ada3ee06bd33a88b5c1a3978833c9ac54d6e9db63e16b13b0eca5a967391c89 |
|
MD5 | f8f59514e8d3e2d5980d1e962285d485 |
|
BLAKE2b-256 | de40c78fffb3157b97331d8dade1fad33666323a64e6ed5da59f2fbe6afb3077 |