Skip to main content

Simulator of Various Voting Algorithms in Manipulating Populations

Project description

SVVAMP

PyPI Status Build Status Documentation Status Code Coverage

Simulator of Various Voting Algorithms in Manipulating Populations

Features

  • Define profiles of voters with preferences over a set of candidates. Preferences can be generated by several probabilistic models, entered manually or imported from an external file.

  • Compute the result of several voting rules (ballots, winner, scores, etc).

  • Decide Condorcet notions.

  • Decide Independence of Irrelevant Alternatives.

  • Decide Individual Manipulation.

  • Decide Coalitional Manipulation and variants: Ignorant-Coalition Manipulation, Trivial Manipulation and Unison Manipulation.

Credits

This package was created with Cookiecutter and the francois-durand/package_helper_2 project template.

History

0.1.1 (2021-07-12)

  • Fix deployment on PyPI.

0.1.0 (2021-07-12)

  • Refactor the code completely. New architecture, especially for Rule (formerly Election), avoiding diamond inheritance. Rename most classes, properties and methods.

  • Cover the code with tests. Print a message when execution reaches an uncovered part of the code.

  • Fix some minor bugs.

  • Documentation in numpy style.

  • Tutorials are now Jupyter notebooks.

0.0.4 (2015-03-10)

  • Correct a minor bug in Plurality.IM (voters_IM is now updated).

0.0.3 (2015-02-28)

  • Rename functions and attributes with suffix _vtb to _rk.

  • Allow to define a population by both utilities and rankings.

  • Add shift to Euclidean box model.

  • Range voting / Majority Judgment: with a discrete set of grades, send to closest authorized grades.

0.0.2 (2015-02-16)

  • 8 population models and 23 voting systems.

0.0.1 (2015-02-14)

  • 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

svvamp-0.1.0.tar.gz (144.4 kB view hashes)

Uploaded Source

Built Distribution

svvamp-0.1.0-py2.py3-none-any.whl (162.5 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