Skip to content

Latest commit

 

History

History

WD

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Working Directory

This folder is used to run experiments and studies. It contains a shellscript for convenience.

Examples

Always try with --help first

>> python ../analysis/experiment.py --help

Usage: experiment.py [OPTIONS] CLASSROOM_CONFIG_FILE PROJECTFOLDER

  Run breakfast simulation

Options:
  --version                      Show the version and exit.
  --headless                     If set will run without visualization
  --skip-agent-plots             If set will not generate Agent Info plots
                                 [Speeds up simulation analysis]
  --simulation-config-file TEXT  Specify the configfy file to use
  --nInstances INTEGER           Specifies the number of instances to run
  --seed INTEGER                 Specify seed value
  --help                         Show this message and exit.

Running a single experiment

python ../analysis/experiment.py classconfigs/ADHD-VeryHigh-Ambitious.json --simulation-config-file SimulationConfigFile.json --seed 11111 --headless PCA-test-ADHDVH

Run the complete study, storing to results to the folder 2019-09-18

./runStudy.sh 2019-09-18

Performing a post study analysis of folder results in folder 2019-09-18 and storing them to 2019-09-18-analysis

python ../analysis/analysis.py 2019-09-18/ 2019-09-18-analysis