task_three_step
Three-step decision-making task described by Keramati et al., 2016 "Adaptive integration of habits into depth-limited planning defines a habitual-goal–directed spectrum"
https://github.com/brain-development-and-disorders-lab/task_three_step
Science Score: 52.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
✓Institutional organization owner
Organization brain-development-and-disorders-lab has institutional domain (sites.wustl.edu) -
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Repository
Three-step decision-making task described by Keramati et al., 2016 "Adaptive integration of habits into depth-limited planning defines a habitual-goal–directed spectrum"
Basic Info
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
Three-Step Task
Three-step decision-making task described by Keramati et al., 2016 "Adaptive integration of habits into depth-limited planning defines a habitual-goal–directed spectrum"
Requirements
- jsPsych v6.0+
Overview
Plugin.ts is the jsPsych plugin file that defines the experiment behaviour. Configuration.ts is used to specify parameters unique to the task such as timing and keymappings. It also allows features to be enabled or disabled.
To get started with development, run yarn dev. This will start a Webpack development server which can be accessed at localhost:8080.
To run the ESLint style-checker, run yarn style. Additionally, Prettier can be run using yarn lint.
Repository Structure
- /css: Any styling used for the experiment is included here.
- /img: All stimuli are stored in this directory as
.pngor.svgfiles. - /lib: Contains grouped exports and core runtime code, grouped by purpose and functionality:
API.tsexports various API classes that are used to interact with the Gorilla API.Assets.tsexports classes used to manage assets such as images and videos used throughout the experiments.Functions.tscontains a number of exported utility functions including scaling and trial management.Main.tsconfigures the jsPsych timeline and starts the experiment.Runtime.tsexports a number of runtime classes used in the experiment such as theRunner,State, andStimuliclasses.
- /lib/classes: The
classessub-directory contains a file for each class specified. - /lib/trials: Contains various scripts used to generate the trials prior to running the experiment. The script output
trials.jsonis imported and used byMain.tsprior to running the trials in the browser.
License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Issues and Feedback
Please contact Henry Burgess <henry.burgess@wustl.edu> for all code-related issues and feedback.
Owner
- Name: Brain Development and Disorders Lab
- Login: Brain-Development-and-Disorders-Lab
- Kind: organization
- Email: corpuscallosumresearch@wustl.edu
- Location: United States of America
- Website: https://sites.wustl.edu/richardslab
- Twitter: ccd_research
- Repositories: 3
- Profile: https://github.com/Brain-Development-and-Disorders-Lab
Brain Development and Disorders Lab at Washington University School of Medicine, Department of Neuroscience, St. Louis MO
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this task, please cite it as below." authors: - family-names: "Burgess" given-names: "Henry" orcid: "https://orcid.org/0000-0002-3481-952X" title: "Three-Step Task" version: 1.5.3 date-released: 2021-12-02 url: "https://github.com/Brain-Development-and-Disorders-Lab/task_three_step"
GitHub Events
Total
Last Year
Dependencies
- actions/checkout v2 composite
- actions/setup-node v2 composite
- actions/checkout v2 composite
- actions/setup-node v2 composite
- marvinpinto/action-automatic-releases latest composite
- @types/jest ^26.0.24 development
- @types/jquery ^3.5.6 development
- @types/seedrandom ^3.0.1 development
- @typescript-eslint/eslint-plugin ^4.33.0 development
- @typescript-eslint/parser ^4.33.0 development
- consola ^2.15.3 development
- css-loader ^5.2.6 development
- del ^6.0.0 development
- eslint ^7.32.0 development
- eslint-config-google ^0.14.0 development
- eslint-config-prettier ^8.3.0 development
- gulp ^4.0.2 development
- gulp-eslint ^6.0.0 development
- gulp-rename ^2.0.0 development
- gulp-zip ^5.1.0 development
- html-webpack-plugin ^5.5.0 development
- jest ^27.0.6 development
- jquery ^3.6.0 development
- path-browserify ^1.0.1 development
- prettier ^2.4.1 development
- style-loader ^3.0.0 development
- ts-jest ^27.0.7 development
- ts-loader ^9.2.6 development
- typescript ^4.4.3 development
- webpack ^5.42.0 development
- webpack-cli ^4.7.2 development
- webpack-dev-server ^3.11.2 development
- jspsych ^6.0.0
- jspsych-attention-check ^1.4.1
- seedrandom ^3.0.5
- 1019 dependencies