User Manual: Inquisit Short Fish Flanker for the touchscreen


___________________________________________________________________________________________________________________	

								SHORT FISH FLANKER TEST - designed for touchscreens
___________________________________________________________________________________________________________________	

Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com) for Millisecond Software, LLC
Date: 03-28-2018
last updated:  02-22-2022 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Script Copyright © 02-22-2022 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	
This script implements an short fish version of the Flanker Test; an inhibition test assessing a person's ability 
to suppress a dominant motor response. The fish flanker test is usually used for children.

References:

Christ, S.E., Kester, L.E., Bodner, K.E. & Miles, J.H. (2011). Evidence for Selective Inhibitory Impairment 
in Individuals With Autism Spectrum Disorder. Neuropsychology, 25, 690–701.

The Inquisit Short Fish Flanker Test is designed to use on touchscreen devices but instructions
will adapt if no touchscreen is detected (in those cases the mouse is used instead)

___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________	
Participants see 5 fish in the middle of the screen inside a box. They have to decide whether the central fish 
points right or left. The surrounding fish (=flankers) either point in the same direction (congruent trials)
or in the opposite direction (incongruent trials). 

___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 6 minutes to complete

___________________________________________________________________________________________________________________	
DATA FILE INFORMATION 
___________________________________________________________________________________________________________________	
The default data stored in the data files are:

(1) Raw data file: 'shortfishflankertest_raw*.iqdat' (a separate file for each participant)

build:								The specific Inquisit version used (the 'build') that was run
computer.platform:					the platform the script was run on (win/mac/ios/android)
date, time: 						date and time script was run 
subject, group: 					with the current subject/groupnumber
session:							with the current session id

blockcode, blocknum:				the name and number of the current block (built-in Inquisit variable)
trialcode, trialnum: 				the name and number of the currently recorded trial (built-in Inquisit variable)
										Note: trialnum is a built-in Inquisit variable; it counts all trials run; even those
										that do not store data to the data file such as feedback trials. Thus, trialnum 
										may not reflect the number of main trials run per block.
										
practice:							0 = test block; 1 = practice block
countPracticeBlocks:				counts the number of practice runs
blockcount:							number of blocks run
trialcount: 						counts all trials run per block
										
congruence:							determines the state of the flankers 
									1 = congruent (target and flanker point in the same direction), 
									2 = incongruent (target points in opposite direction)
									
selecttarget:						itemnumber of the current target (center) stimulus
									1 = target points to right; 
									2 = target points to left
										
selectflanker:						itemnumber of the current flanker stimuli									
									
response:							the participant's response (leftresponsebutton, rightresponsebutton)
correct:							the correctness of the response (0 = error or no response; 1 = correct)
latency: 							the response latency (in ms); measured from onset of target to response (or trial timeout)
list.ACC_practice.mean:				the current proportion correct at this point in practice

practicePass:						1 = participant passed practice; 
									0 = participant did not pass practice


(2) Summary data file: 'shortfishflankertest_summary*.iqdat' (a separate file for each participant)

inquisit.version: 						Inquisit version run
computer.platform:					the platform the script was run on (win/mac/ios/android)
startDate:							date script was run
startTime:							time script was started
subjectid:							assigned subject id number
groupid:							assigned group id number
sessionid:							assigned session id number
elapsedTime:						time it took to run script (in ms); measured from onset to offset of script
completed:							0 = script was not completed (prematurely aborted); 
									1 = script was completed (all conditions run)
								
blockcount:							Testblock Count																
countPracticeBlocks:				counts the number of practice runs
list.ACC_practice.mean:				the current proportion correct at this point in practice
practicePass:						1 = participant passed practice; 
									0 = participant did not pass practice
																
propcorrect:						overall proportion correct (test trials only) 
meanrt:								overall mean latency (in ms) of correct responses (test trials only)
									
propcorrect_congruent:  		proportion correct across congruent test trials 
meanrt_incongruent:				mean latency (in ms) of all correct-valid responses to congruent trials
propcorrect_incongruent:  		proportion correct across incongruent test trials 
meanrt_incongruent:				mean latency (in ms) of all correct-valid responses to incongruent trials
__________________________________________________________________________________________________________________	
EXPERIMENTAL SET-UP 
___________________________________________________________________________________________________________________	
2 flanker congruence (congruent vs. incongruent), tested within

1-3 Practice Blocks: each block runs 8 trials with visual errorfeedback (number of trials can be edited under section Editable Parameters)
- participants have to get 75% correct to move on to the test block (proportion correct editable under section Editable Parameters)
- script is aborted after 3 unsuccessful practice runs (maximum number of practice runs editable under section Editable Parameters)

1 Test Block: runs 12 congruent (6 left, 6 right) and 12 incongruent trials (6 left, 6 right) (24 total)
(number of trials can be edited under section Editable Parameters)

Trial Sequence:
-> iti (default: 2000ms): presents only the response buttons
-> presents fixation star for parameters.fixationDuration (default: 1000ms)
-> presents the target and flanker and waits for response (default: response Timeout = 1750ms) 
Note: the selected response button is highlighted for 100ms

___________________________________________________________________________________________________________________
STIMULI
___________________________________________________________________________________________________________________
stimuli: 5 fish pointing right or left (flanker, flanker, target, flanker, flanker)
Fish can be edited under section Editable Stimuli

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________	
Instructions provided by Millisecond Softare. They can be edited under section Editable Instructions

___________________________________________________________________________________________________________________	
EDITABLE CODE 
___________________________________________________________________________________________________________________	
check below for (relatively) easily editable parameters, stimuli, instructions etc. 
Keep in mind that you can use this script as a template and therefore always "mess" with the entire code 
to further customize your experiment.

The parameters you can change are:

/fixationDuration:					the duration (in ms) of the star at the beginning of each trial (default: 1000ms)

/responseTimeout:					the response Timeout (ms); measured from onset of fish (default: 1750ms)
											Note: to allow for infinite response time, remove /response = timeout(parameters.responseTimeout)
											from all relevant trials
											
/correctFeedbackDuration:			the duration (in ms) of correct feedback during practice (default: 2000ms)
/iti:								intertrial interval (in ms): trial only represents the response button (default: 2000ms)

/minPracticeACC:					the minimum proportion correct during a practice run that moves participant to the test (default: 0.75)
/numberPracticeTrials:				the number of practice trials per practice run (default: 8)
											Note: needs to be divisible by 4
											
/maxPracticeRuns:					the maximum number of practice runs  (default: 3)
/numberTestTrials:					the number of test trials run (default: 24)
											Note: needs to be divisible by 4