Skip to content

AurelienNioche/EvoProspect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EvoProspect

1. Raw data

The monkey data is split in two files:

  • monkeys/source/data.xlsx
  • monkeys/source/data_GH.xlsx

Note: Analysis takes into account only results after:

  • 2017-03-01 for 'data_GH.xlsx';
  • 2020-02-18 for 'data.xlsx'

2. Code

Common config

  • Install Python3 (and pip). For instance, on MacOS using brew:

      brew install python3
    
  • Install dependencies

      pip3 install -r requirements.txt
    

2.1 Monkey

Reproduce figures

Config

  • Current directory has to be 'monkeys'

      cd monkeys
    
  • Create empty database using Django ORM

      python3 manage.py makemigrations
      python3 manage.py migrate
    
  • Import the data

    python3 import_xlsx

Run

python3 main.py

### Data viewing

Config

  • Create a superuser

      python3 manage.py createsuperuser
    
  • Launch the server

     python3 manage.py runserver 
    

Use

Go to http://127.0.0.1:8000/

2.2. Simulations

Reproduce figures

Config

Current directory has to be 'simulation'

cd simulation

Run

python3 gain-analysis.py
python3 agent-simulation.py
python3 monkey-agent-comparison.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages