I need to define correct/incorrect responses both for feedback purposes, and for storing data in the output file. My task is a visual search task where participants have to click on targets, and then press Done. There are between 0 and 3 targets in a display. I do not know how to define correct/incorrect responses, as they come from the condition file and different trials have different numbers of targets. For a response to be correct, all targets have to be clicked on (order doesn’t matter) before hitting Done.
For the practice trials, there is 1 routine between the search display and the feedback display (pictured below), so I’m not sure how to do this.
In my condition file, I have identified the Target position(s), such that the names are the same as the image names in the routine. Here is a snapshot of the Targets in the condition file:
Where it says “Stim17”, this is how I named the images in Builder (below).
One problem is that there is no “Stim0”. I do not know the best way to identify target absent in the condition file. Do I just leave that field blank?
For the first row of the condition file, where there is 1 target present I need the feedback to be correct if the participant clicks on Stim17 and then clicks Done. If they click anything else (even if they clicked Stim17), it is incorrect.
For the second row, it would be they need to click Stim 30 and Stim 24, then Done to be correct.
I have looked at setting feedback like in the Demos, but I don’t know how to define correct and incorrect in this case, especially since the Feedback routine isn’t directly after the search display routine.
Currently, I have the mouse response record all clicks, so my output file shows every stimuli they clicked on (i.e. [‘Stim24’, ‘Stim30’, ‘DoneRectangle’]), where DoneRectangle is the Done button and forces the routine to end when clicked.