Updated iOS example experiment

Christopher Stawarz's Avatar

Christopher Stawarz

02 May, 2019 06:28 PM

Hi Michael,

I've attached an updated version of the iOS example experiment. There are two main changes:

  1. The experiment now tracks the number of premature, correct, incorrect, and ignored responses, as well as the total number of trials.

  2. When first run, the experiment shows a "Start data collection" button alongside the button to start a trial. You can perform trials normally without pressing the button. Once you do press it, the variable collecting_data is set to true, and all the result counts are reset to zero. The button won't reappear until you stop and restart the experiment.

    At the moment, the value of collecting_data isn't used anywhere. However, you could use it to decide whether to upload results to Dropbox, for example.

If you have any questions, please let me know.


  1. Support Staff 1 Posted by Christopher Sta... on 03 May, 2019 07:51 PM

    Christopher Stawarz's Avatar

    Hi Michael,

    I found and fixed a small bug in the protocol. The bug could cause the correctness of the subject's first response, after starting data collection or stopping and restarting the experiment, to be assessed incorrectly. I've attached the updated experiment.


  2. 2 Posted by mil on 03 May, 2019 09:45 PM

    mil's Avatar

    Thanks Chris, appreciate this.

  3. Christopher Stawarz closed this discussion on 13 May, 2019 03:21 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac