asrt_jspsych
A self-paced Alternating Serial Reaction Time Task (ASRT) created with jsPSych.
Science Score: 67.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
Found 2 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.9%) to scientific vocabulary
Keywords
Repository
A self-paced Alternating Serial Reaction Time Task (ASRT) created with jsPSych.
Basic Info
Statistics
- Stars: 3
- Watchers: 1
- Forks: 5
- Open Issues: 0
- Releases: 1
Topics
Metadata Files
README.md
Alternating Serial Reaction Time Task created with jsPsych
Created by the MEMO Team of Lyon Neuroscience Research Center (CRNL) (PI: Dezso Nemeth)

Citation
If you use the script, please include this citation in your manuscript:
Vékony, T. (2021). Alternating Serial Reaction Time Task created with jsPsych (Version 1.0.0) [Computer software]. https://doi.org/10.5281/zenodo.7124730
About the task
In the task, four circles are presented on the screen horizontally. A target stimulus (a dog's head) appears in one of the four circles. The task of the user is to press the response key corresponding to the position of the target stimulus as fast and as accurately as they can.
By default, the task begins with one block of practice with random trials (80 stimuli in each block). After that, 20 blocks of ASRT follows. Each block contains 10 repetitions of a randomly chosen 8-element sequence.
The trials are images of dogs. The 's', 'f', 'j' and 'l' keys on the keyboard are set as response keys (corresponding to the four positions from left to right).
If correct response is given, the next element is presented after a 120 ms response-to-stimulus interval. If the response is incorrect (but active response key was pressed), the same target stimulus appears on the screen again with an interstimulus interval of 0 ms (i.e., remains on the screen).
Average performance (mean accuracy and mean RT) is presented as a feedback after the end of the block with a personalized instruction:
- if the mean accuracy of the block is less than 90%, it instructs to be more accurate.
- if the mean RT of the block is over 350 ms, it instructs to be faster.
- in other cases, it instructs to continue the task.
The breaks between the blocks are self-paced. The user can continue the task when they press a response key.
After the end of the task, output data will be downloaded to the local machine (CSV format). If the user quits before the end of the task, the data will also be downloaded to the local machine.
Output variables
- success: whether fullscreen mode was successfully started/ended (true or false)
- trial_type: jsPsych trialtype of the given trial (fullscreen, instructions, html-keyboard-response or serial-reaction-time)
- trial_index: the number of the given trials (all events considered, even instructions, feedback!)
- time_elapsed: the time elapsed from the start of the script in ms
- internal_code_id: internal node id of the trial
- subject: a 15-character long random subject ID for the online version, and customized subject number for the offline version
- session: customized session number (for offline version only)
- browser_event: browser events at the given trial (fullscreenenter, fullscreenexit, blur or focus)
- view_history: only relavant at the instructions; the actions and the corresponding RTs during the reading of the instructions
- rt: reaction time (RT) in ms - in the case of first responses to the trial, it shows the rt calculated from the appearence of the stimulus; in the case of not first responses, it shows the rt calculated from the last button press
- stimulus: stimulus on the screen; relevant only if instructions/feedback are present
- key_press: number code of the key pressed
- correct: whether the response was correct (true or false)
- grid: layout of the positions (in a grid)
- target: position of target stimulus (the 4 positions: 1: 0,0; 2: 0,1; 3: 0,2; 4: 0,3)
- r_or_p: random or pattern stimulus (R or P)
- block: number of the block (1-20)
- first_response: if the answer is the first answer to the given trial (yes: 1; no: 0)
- trial_number: number of the trial within the block (1-85)
- sequence: the sequence used during the task (assigned randomly at the beginning)
- is_practice: whether it was a practice trial (yes: 1; 0: no)
- correct_pos: the position of the target stimulus (1-4)
- correct_resp_button: the response key that should be pressed to respond correctly ('s', 'f', 'j' or 'l')
- resp_button: the pressed response key ('s', 'f', 'j' or 'l')
- cumulative_RT: the RT from the beginning of the first appeareance of the trial in ms
- actual_triplet: the triplet to what response was given (three digits indicating the positions of the target stimulus in the last three trials)
- triplet_type: the type of the triplet (high-probability triplet: H; low-probability triplet: L, first trials: X, trill: T, repetition: T)
- isWarning: the string "warning" appears if a warning was shown due to low (<80%) overall performance.
Settings
In the parameters.js file, several parameters can be modified by the user:
How to start the task
Open the index.html file in the main folder.
Browser requirements
Any browser except Safari and Internet Explorer. Recommended: Chrome.
Owner
- Name: Teodóra Vékony, Ph.D.
- Login: vekteo
- Kind: user
- Location: Lyon, France
- Company: Lyon Neuroscience Research Center (CRNL)
- Website: memoteam.org
- Repositories: 7
- Profile: https://github.com/vekteo
Postdoctoral Researcher @ Lyon Neuroscience Research Center (CRNL), INSERM U1028, CNRS UMR5292, Université Claude Bernard Lyon 1 | MEMO Team
Citation (CITATION.cff)
cff-version: 1.0.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Vékony
given-names: Teodóra
orcid: https://orcid.org/0000-0002-8620-5685
title: "Alternating Serial Reaction Time Task created with jsPsych"
version: 1.0.0
doi: 10.5281/zenodo.7124730
date-released: 2021-05-03
GitHub Events
Total
- Fork event: 1
Last Year
- Fork event: 1
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 18
- Average time to close issues: N/A
- Average time to close pull requests: 3 days
- Total issue authors: 0
- Total pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 0.17
- Merged pull requests: 17
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- vekteo (14)
- weiglszonja (3)