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 local battery deployment without psiturk #67

Closed vsoch closed 8 years ago

vsoch commented 8 years ago

This PR will add an ability to run a local battery using our command line tool, sans psiturk. This will work for one or more experiments, and the user doesn't actually need to clone the repos to generate a battery. An example workflow is as follows:

   pip install expfactory
   expfactory --runbat --experiments local_global_shape,test_task

The "experiments" variable is required. The above command will download the battery and experiments to a temp directory, and open up the experiment in a browser window. Upon finishing, the results are downloaded to the local machine. If the user wants to provide a unique id to his or her participant (to be added to all data objects):

  expfactory --runbat --experiments local_global_shape,test_task --subid id_123

A time can also be specified, to select from the experiments up to it:

  expfactory --runbat --experiments local_global_shape,test_task --time 30

(minutes).

I have not yet written full documentation for this, but will add something asap.