Skip to content

Latest commit

 

History

History
70 lines (49 loc) · 2.56 KB

README.md

File metadata and controls

70 lines (49 loc) · 2.56 KB

Simulatore di sistemi elettorali

License: MIT CodeFactor

GitHub pull requests GitHub issuess

Description

Simulations of different electoral laws with the same dataset to see if there would be any changes in the composition of the parliament.

Installation

Needs python3.

Use the package manager pip to install all the librabries.

pip3 install -r requirements.txt

Configuration

Usage

Two ways of starting the simulation:

  1. Using the bash console:
python3 -m src LeggiElettorali/LawName
  1. Using the python console:
import src
src.run_simulation('LeggiElettorali/LawName')

Setup

Create a folder in LeggiElettorali/name_of_new_law with this structure:

  • Classes
  • Data
  • Instances

for more information on which files to put in the folder, see the documentation.

Credits

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

Licensed under GNU General Public License v3.0 license.