Home

Menu

Loading wiki pages...

View
Wiki Version:
<p>Tasks</p> <p>We provide updated versions of all four tasks from <em>Kool et al., PLOS Computational Biology, 2016</em>, and <em>Kool et al., Psychological Science, 2017</em>. All tasks have been written using Josh deLeeuw's jsPsych toolbox <a href="https://github.com/jspsych/jsPsych/releases/" rel="nofollow" title="v6.1.0">v6.1.0</a> (<a href="http://www.jspsych.org/" rel="nofollow">http://www.jspsych.org/</a>).</p> <p>Both versions of the Kool 2Step tasks allow for flexible modification of the reward parameters. Reward parameters can be set to include negative reward (antimatter) as seen in Kool et al., 2016 (-4 to 5, SD = 2), or alternatively, may include only positive rewards (treasure) as seen in Kool et al., 2017 (0 - 9, SD = 2) . Any changes made to the <strong>Min</strong> and <strong>Max</strong> variables in the <em>Index.html</em> file indicating the boundaries for reward will be reflected across the experiment. Negative rewards (antimatter) can range from -5 to -1 and positive rewards (treasure) can range from 1 to 9 (yet, note the range should always include 0). This code only works well if the <strong>Min</strong> and <strong>Max</strong> variables are set within these bounds.</p> <p>All tasks require communication with a PHP server in order to run. You can achieve this by running them on your own domain, or by using a tool like XAMPP to run the PHP server locally. Once the tasks have been downloaded from OSF you may have to adjust permission settings for the folder or you will see a "Not found" error message. For details on how to run the task locally or online or adjust permission settings see the <em>Getting set up</em> PDF in the Files folder.</p> <p>In order to save the data, you will need to be able to connect to a SQL database on your server. The code has some default names for the tables it stores data in (e.g., daw_2step_data, kool_2step_data, sub_info), but feel free to change anything about the way the data storage is managed. Further details on storing data are also delineated in the <em>Getting set up</em> PDF in the Files folder.</p> <p>Contact</p> <p>If you have any questions, please do not hesitate to contact Bettina Bustos (bbustos@wustl.edu) or Wouter Kool (wkool@wustl.edu).</p>
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.