Minority Rule Simulation
Run Monte Carlo simulations of the effects of the minority rule on payment protocol adoption. Read more of the background in this post or check out the notebook for an explanation on methodology and results.
How to run
Requires Python 3.5 or later. It is recommended to install dependencies in a virtual environment.
- Install dependencies:
pip install -r requirements.txt
- Run the simulation with default configs and save the results in the current
To run a simulation with custom configuration:
- Create a copy of config.yaml and adjust the parameters.
- Pass your config file to the script with:
python minority_sim.py --config=./my_config.yaml
python minority_sim.py --help for additional options.