Simple evolution simulation algorithm written in Python
. Data analysis is performed using R
with Quarto
. More detailed information can be found in summary report: reporting/summary/summary.html
.
Follow the steps below to run the project on your local device and reproduce results (Windows syntax):
- Download and install
Python 3.9
- Download and install most recent
R
distribution - Download and install most recent
Quarto
version - Recommended editor:
Visual Studio Code
- Clone repository:
git clone git@github.com:Jakub-Markowiak/evolution-simulation.git
(or download manually and extract to specific location) - Create virtual
python
environment and install required packages. Open command line and type:
cd evolution-simulation
python -m venv .evolution-simulation
- Activate virtual environment in VSCode terminal and install required packages:
./.evolution-simulation/Scripts/activate.bat
pip install -r ./requirements.txt
-
Run
reporting/summary/summary.qmd
to generate dynamic report. Runpython
cells manually to generate new simulation data.Warning: new data generation may take up to 2 hours!