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

jspsych data should be saved at end of trial, and then all at once at end of experiment #113

Closed vsoch closed 8 years ago

vsoch commented 8 years ago

saving at the end of each stimuli to the expfactory object may miss data added at the onset of the next task. To get around this, we will save the data to the expfactory object at the end of each trial, and then sync the expfactory.taskdata with the server. At the experiment end, we will send the entire data structure from the jspsych object directly.

vsoch commented 8 years ago

update - we currently see no reason to save at every trial and then at end, given that not completing the experiment makes the data not usable. Instead we will save the data at the end. We will still save the user progress and time stamps as the task progresses, in case we need this information.

vsoch commented 8 years ago

Fixed with https://github.com/expfactory/expfactory-python/commit/d56d6d79121e42716b25198d7395b9fbfcfce7b5

vsoch commented 8 years ago

For purposes of documentation, we've verified that data being added to trials after the trial ends (eg, at the start of the next) is saved:

image

The added_Data? variable was done in this way for the test task.