User Manual for Inquisit's Trail Making Test


___________________________________________________________________________________________________________________	

									      Trail-Making Test (French version)
___________________________________________________________________________________________________________________	


Script Author: Sean Draine, Ph.D. (seandr@millisecond.com) for Millisecond Software, LLC
last updated:  03-02-2022 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Script Copyright © 03-02-2022 Millisecond Software

Millisecond Software thanks Chanelle Lefebvre for providing French translations!

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	
This script implements a computerized version of the Trail-Making Test (4 trails included).
The trial making test is an executive function test of visual attention and task switching.

References:
	
Armitages, S. G. (1946) An analysis of certain psychological rests used for the evaluation of brain injury. 
Psychological Monographs, 60, 1.
	
Reitan, R. M. (1958). Validity of the Trail Making Test as an Indicator of Organic Brain Damage. 
Perceptual and Motor Skills, 8, 271-276. 

___________________________________________________________________________________________________________________
TASK DESCRIPTION	
___________________________________________________________________________________________________________________
Participants are asked to move the mouse in specific, predetermined sequences from nodes to nodes.											  

___________________________________________________________________________________________________________________	
DURATION 
___________________________________________________________________________________________________________________	
the default set-up of the script takes appr. 5 minutes to complete
___________________________________________________________________________________________________________________	
DATA FILE INFORMATION 
___________________________________________________________________________________________________________________
The default data stored in the data files are:

(1) Raw data file: 'trailmakingtest_french_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)

computer.touch:					1 = the current screen is a touchscreen; 
								0 = the current screen is not a touchscreen
									
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.
																		
startDotNumber:					specifies the current dot that participant is on
targetDotNumber:				specifies the current dot that needs to be connected next
sampleAErrors:					counts the errors made on SampleA Trail
trail1Errors:					counts the errors made on Trail1
sampleBErrors:					counts the errors made on SampleB Trail
trail2Errors:					counts the errors made on Trail2

errortrail_samplea-
errortrail_trail2:				saves all missed circles in the order made for each trail separately

sampleATime:					time (in ms) spent on SampleA Trail
trail1Time:						time (in ms) spent on Trail1
sampleBTime:					time (in ms) spent on SampleB Trail
trail2Time:						time (in ms) spent on Trail2


(2) Summary data file: 'trailmakingtest_french_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)

computer.touch:					1 = the current screen is a touchscreen; 
								0 = the current screen is not a touchscreen

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)

sampleAErrors:					counts the errors made on SampleA Trail
sampleATime:					time (in ms) spent on SampleA Trail
sampleBErrors:					counts the errors made on SampleB Trail
sampleBTime:					time (in ms) spent on SampleB Trail
trail1Errors:					counts the errors made on Trail1
trail1Time:						time (in ms) spent on Trail1
trail2Errors:					counts the errors made on Trail2
trail2Time:						time (in ms) spent on Trail2
combined_errors:				adds errors made on all 4 trails
combined_trailtime:				combines the time (in ms) it took all 4 trails

___________________________________________________________________________________________________________________	
EXPERIMENTAL SET-UP 
___________________________________________________________________________________________________________________	
This script runs 4 trails (sampleA, trailA, sampleB, trailB)

___________________________________________________________________________________________________________________	
STIMULI
___________________________________________________________________________________________________________________	
are provided in the included scripts

___________________________________________________________________________________________________________________	
INSTRUCTIONS 
___________________________________________________________________________________________________________________
see 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:
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.

/showTestErrorFeedback:					true = a yellow halo is presented over the correct circle (default)
										false = no extra errorfeedback is given (incorrect path is still erased however)