This repo contains the simulation code (and some of the analysis code) from White Elephant is surprisingly effective. Hope it helps you in your own exploration!
Please let me know if you find any issues, especially if they would affect the analysis.
- Python 3.8+
# Set up virtual env and dependencies
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
# Generate results-*.csv
python whiteelephant.py
# Generate rank-*.html Plotly pages
python analysis.py
whiteelephant.py
has a debug print function,dprint
- change theif False
toif True
to see debugging output- In
analysis.py
, replace thefig.write_html()
withfig.show()
when iterating (and it's faster in a notebook)