Skip to content

neuromotion/task-msit

Repository files navigation

MSIT Task

MSIT Icon

Actions Status Actions Status

This repo contains the MSIT task. It is a jspsych task built with React and Electron. This task uses Honeycomb (also known as Neuro Task Starter).

Getting Started

  1. Clone this repo onto your computer
git clone https://github.com/brown-ccv/task-msit.git
  1. Change directory into the new folder
cd task-<TASK NAME>
  1. Set the remote url to your tasks' repo (create a github repo if not yet created)
git remote set-url origin <PATH_TO_YOUR_REPO>
  1. Install the dependencies (the -D flag installs the dev dependencies as well as the production ones)
npm install -D
  1. Run the task in dev mode - this should launch an electron window with the task with the inspector open to the console and will hot-reload when changes are made to the app
npm run dev
  1. Check out the data - the data is saved throughout the task to the users's app directory. This is logged at the beginning of the task wherever you ran npm run dev

Participant-specific experiment configuration

The default experiment configuration settings can be found in src/config/config.json. In order to override them for a specific participant, create a new file named <participant_id>-config.json in a folder named msit-settings in the local machine's Desktop folder.