expfactory / expfactory-python

python module for managing experiment factory javascript experiment files, batteries to deploy them to (eg, psiturk), and virtual machines to host the compilation of those things.
http://expfactory.readthedocs.org/
MIT License
4 stars 11 forks source link

Adding basic survey module #59

Closed vsoch closed 8 years ago

vsoch commented 8 years ago

This PR will add the start of the survey module to the application. While under development, surveys will be kept under expfactory-surveys. The idea of a survey is equivalent to an experiment - it is a folder with any number of static files, and a config.json, and can be run via the command expfactory --run This is currently working for the demo survey, bis_bas, given that expfactory-python is updated. The differences between experiments and surveys are as follows:

Differences between experiments and surveys

Material Design (light) is a preferred first format for these surveys because it is beautiful and the entire color (which is most of the style) can be changed by specifying a different style sheet in the config.json.

Migration

To be clear - these functions are being added to expfactory-python, but not migration over to this module will be done (meaning moving folders from expfactory-surveys to over-write folders in expfactory-experiments) until all functionality has been developed and approved by @IanEisenberg and @zenkavi. We can discuss if we want to maintain a single expfactory-experiments folder (also including surveys) or if we are concerned about the size of the repo and want to have a separate expfactory-surveys repo. It will be a trivial amount of work to convert experiment.js files into tsv files, and I think offer much improved functionality in the long wrong. There is no rush to do this.