Practice, then test
Walk participants through instructions and a feedback practice block before the scored test block.
When to use it
Section titled “When to use it”Use this whenever the response mapping has to be learnt before the data can be trusted, which is nearly every task with arbitrary key assignments. Skipping straight to the scored block leaves the learning curve inside your test data, and the other shortcut, keeping feedback on during test trials, coaches participants through the very measurement you are taking. A feedback practice block followed by an uncoached test block separates learning from measuring. If the task is genuinely self-evident, a single instructions screen may be all you need.
Trial file
Section titled “Trial file”| type | stimFormat | title | content | stim1 | keyboard | key | feedback | feedbackTime | button1 |
|---|---|---|---|---|---|---|---|---|---|
| instructions | Animal or object? | You will see words one at a time. Press A if the word names an animal and L if it does not. We start with a short practice round. | NEXT | ||||||
| practice | word | SPOON | a l | l | correct: Correct!;incorrect: Not quite. A is for animals and L for everything else | 1200 | |||
| practice | word | HORSE | a l | a | correct: Correct!;incorrect: Not quite. A is for animals and L for everything else | 1200 | |||
| instructions | Practice complete | Well done. The real task starts now. It works exactly the same way, but you will no longer receive feedback. | NEXT | ||||||
| test | word | CAMEL | a l | a | |||||
| test | word | BOTTLE | a l | l | |||||
| test | word | TIGER | a l | a | |||||
| test | word | CHAIR | a l | l |
type,stimFormat,title,content,stim1,keyboard,key,feedback,feedbackTime,button1 instructions,,Animal or object?,You will see words one at a time. Press A if the word names an animal and L if it does not. We start with a short practice round.,,,,,,NEXT practice,word,,,SPOON,a l,l,correct: Correct!;incorrect: Not quite. A is for animals and L for everything else,1200, practice,word,,,HORSE,a l,a,correct: Correct!;incorrect: Not quite. A is for animals and L for everything else,1200, instructions,,Practice complete,"Well done. The real task starts now. It works exactly the same way, but you will no longer receive feedback.",,,,,,NEXT test,word,,,CAMEL,a l,a,,, test,word,,,BOTTLE,a l,l,,, test,word,,,TIGER,a l,a,,, test,word,,,CHAIR,a l,l,,,
How it works
Section titled “How it works”The type column structures the whole session. The two instructions rows leave stimFormat empty, which makes them instructions screens; title fills the heading and body the page text, and because their keyboard cells are empty the screen shows its own NEXT button (a filled keyboard value on an instructions row would suppress it and advance by key instead).
The practice block uses type practice: responses are checked against key and feedback works exactly as on test trials, but practice results are not included in the main results file, and correctness goes to the correctPractice results column instead of correct. That makes the block safe to learn on. Each practice row pairs feedback (correct: and incorrect: segments) with a 1200 ms feedbackTime so the message auto-advances. No timeout: segment is needed because no responseWindow deadline is set, so a timeout cannot occur.
The second instructions row marks the switch, then the test block repeats the same task with type test, the only value whose responses are written to the results file, and with the feedback cells left empty so the scored trials run without coaching. type values are case sensitive: Test or Practice would silently disable saving and scoring.
Variations
Section titled “Variations”- Centre the practice feedback by adding
feedbackOptionswithcenteron the practice rows. - Auto-advance an instructions screen after a pause by giving it a plain integer
presTime; random forms such asmin_maxdo not work on instructions rows. - Report practice performance on the second instructions screen by putting variables such as
%correct.perc%in itsbody. - Add a
responseWindowdeadline to the test rows; if you also re-enable feedback there, include atimeout:segment, since a timed-out trial shows no feedback without one.