Tasks


Reinforcement Learning Tasks

Simple 2-arm bandit

[Code] [Demo]

A simple 2-arm bandit task using Javascript and Canvas graphics.

3-arm reversal learning task

[Code] [Demo]

A gamified, fishing-themed 3-arm reversal learning task implemented using Javascript and CSS.

Modified risk sensitivity task

[Code] [Demo]

A modified version of the risk sensitive learning task (Niv et al. 2012).

Pavlovian go/no-go task

[Code] [Demo]

A robot-themed version of the Pavlovian go/no-go task implemented using Javascript and CSS.

Horizons task

[Code] [Demo]

An implementation of the horizons task (Wilson et al. 2014) using Javascript and CSS.

Two-step task

[Code] [Demo]

A space-themed version of the two-step task. Inspired by Decker et al. (2016); adapted from Nussenbaum et al. (2020).


Decision-making Tasks

Prospect theory gambles

[Code] [Demo]

A jsPsych implementation of prospect theory gambles using icon arrays (Banchilon et al. 2019).


Executive Functioning Tasks

Raven’s progressive matrices

[Code] [Demo]

The abbreviated 9-item Raven’s standard progressive matrices. Both Forms A and B of Bilker et al. (2012) are available.

Matrix reasoning task (MaRs-IB)

[Code] [Demo]

A web-friendly implementation of the matrix reasoning item bank (Chierchia et al. 2019). All materials were retrieved from the project’s OSF repository and the task design was modeled after the Gorilla version.

Digit symbol matching

[Code] [Demo]

A jsPsych implementation of the digit symbol matching test.

Vocabulary test

[Code] [Demo]

A jsPsych implementation of the 20-item test my brain vocabulary test.


Tasks not upgraded to jsPsych version 8

Risk sensitive learning task (v1)

[Code] [Demo]

An apple harvest-themed implementation of the risk sensitive learning task (Niv et al. 2012) using Javascript and Canvas graphics.

Risk sensitive learning task (v2)

[Code] [Demo]

A child-friendly, fishing-themed implementation of the risk sensitive learning task (Niv et al. 2012) using Javascript and CSS.

Risky investment task

[Code] [Demo]

A stock market-themed risky investment task implemented using Javascript and CSS. Similar in framing to Zhang et al. (2015). Designed to study risk sensitive reinforcement learning behaviors.

Relative value learning task

[Code] [Demo]

A science fiction-themed implementation of the relative value learning task (Palminteri et al. 2015). Runs two blocks of only counterfactual learning but can be easily adapted to include factual learning.

Spatial recall

[Code] [Demo]

A simple plugin for a forwards/backwards spatial recall task. Includes three scoring rules (absolute, partial credit, longest sequence).