Return to the Simplified Wisconsin Card Sort Test page
										CARD SORT TEST


Script Author: Sabrina Goh
last updated:  01-06-2016 by K. Borchert ( for Millisecond Software, LLC

Thanks to Sabrina Goh for creating this script!


This sample script shows how to implement a simple Wisconsin Card Sorting Test with Inquisit. 

Participants are asked to sort cards into four different "categories". No instructions are
given in regard to the categorization rules.
The four different categories are
- one red triangle
- two green stars
- three yellow crosses
- four blue circles.
The cards to sort into these piles have similar designs and 
vary in color (4), shape (4), and number (4).

The default data stored in the data files are:

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

build:							Inquisit build
computer.platform:				the platform the script was run on
date, time, subject, group:		date and time script was run with the current subject/groupnumber 
blockcode, blocknum:			the name and number of the current block
trialcode, trialnum: 			the name and number of the currently recorded trial
									(Note: not all trials that are run might record data) 
stimulusitem:					the presented stimuli in order of trial presentation
response:						the participant's response
correct:						the correctness of the response
latency: 						the response latency (in ms)

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

script.startdate:				date script was run
script.starttime:				time script was started
script.subjectid:				subject id number
script.groupid:					group id number
script.elapsedtime:				time it took to run script (in ms)
computer.platform:				the platform the script was run on
/completed:						0 = script was not completed (prematurely aborted); 1 = script was completed (all conditions run)

can be edited under section EDITABLE INSTRUCTIONS

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:

/cstotaltrials: 								Maximum Number of trials (default = 128)
/cstotalblocks:  								Maximum Number each category is tested (default = 2)
/correctstreakthreshold:  						Number of consecutive correct responses before a rule change (default = 4)
/picsize:										size of cards determined by canvas height percentage (default:30%)

Copyright © Millisecond Software. All rights reserved.
Contact | Terms of Service | Security Statement | Employment