+xHi, how do I change the Wisconsin Card Sorting Test so that the order of the three blocks (colour, form and number) occurs in a randomised order but only once each.
Thanks
You put the three blocks in a list
<list blocklist>
/ items = (block.color, block.form, block.number)
</list>
and use that for block selection in the <expt>
<expt>
/ onexptbegin = [if (!values.showdeckinfo) text.deck.textcolor = white]
/ blocks = [
1 = list.blocklist; 2 = end]
...
</expt>
and the <block>s' /branch attributes.
<block color>
...
/ branch = [if (values.colorblockcount > values.cstotalblocks) block.end]
/ branch = [if (expressions.toomanytrials) block.end]
/ branch = [if (values.correctstreak > 0 && mod(values.correctstreak, values.correctstreakthreshold)==0)
{values.OldRuleWindow = 1;
list.blocklist.nextvalue}]
</block>
<block form>
...
/ branch = [if (values.formblockcount > values.cstotalblocks) block.end]
/ branch = [if (expressions.toomanytrials) block.end]
/ branch = [if (values.correctstreak > 0 && mod(values, values.correctstreakthreshold)==0)
{values.OldRuleWindow = 1;
list.blocklist.nextvalue}]
</block>
<block number>
...
/ branch = [if (values.numberblockcount > values.cstotalblocks) block.end]
/ branch = [if (expressions.toomanytrials) block.end]
/ branch = [if (values.correctstreak > 0 && mod(values.correctstreak, values.correctstreakthreshold) ==0)
{values.OldRuleWindow = 1;
list.blocklist.nextvalue}]
</block>
You also need to set values.cstotalblocks to 1, as detailed in the comments.
***************************
editable (under values, see below)
***************************
cstotaltrials: Maximum Number of trials (default = 128 => 2 decks x 64 cards)
cstotalblocks: Maximum Number each category is tested (default = 2)correctstreakthreshold: Number of consecutive correct responses before a rule change (default = 10)
setmaintainthreshold: Number of consecutive correct responses after which an incorrect response is scored as a "Failure to maintain Set" (default = 5)
showdeckinfo: if set to " true" information about the deck (e.g. 1 of 2) and card number (e.g. 7 of 64) are displayed on the screen for the participant to see
(default: false)
/picsize: size of cards determined by canvas height percentage (default:30%)
***Edits need to be made here to come into effect
<values>
/ cstotaltrials = 128
/ cstotalblocks = 1/ correctstreakthreshold = 10
/setmaintainthreshold = 5
/showdeckinfo = false
/picsize =30%
</values>
See attached.