Skip to content

template

Johannes Brachem edited this page Dec 9, 2018 · 1 revision

Experiment Template

You can download an empty template for an Alfred Experiment here: alfred_experiment_template.zip

The ZIP-File contains the following files:

  1. config.conf: This file contains global settings. Here, you can e.g. specify a mongodb server to save your data.
  2. run.py: This file is used to run the experiment. If you want to start an experiment, this is the file you need to execute.
  3. script.py: This is were you write the code for your experiment.

Executing minimal examples

If you want to try out one of our minimal examples from the FAQs, just follow these steps:

  1. Download and unpack the ZIP file from above.
  2. Replace the script.py with the version from the minimal example.