Hi everyone,
I’m working on a dual lexical decision task in PsychoPy Builder and I’m having an issue where my feedback routine always shows “woops!!” and never “Well done!!”.
In my code component I have:
if key_resp.corr == 1:
msg = 'Well done!!'
else:
msg = 'woops!!'
My Keyboard component settings:
-
Allowed keys: ‘a’, ‘l’
-
Store correct:

-
Correct answer field: $CorAns
-
Conditions file column name: CorAns
In my conditions file, the column header is exactly:
CorAns
And the values in that column are:
a
l
(all lowercase, no spaces)
Despite this, key_resp.corr seems to always evaluate to 0.
I’m not supposed to change the feedback logic (it was provided by my instructor), so I’m trying to understand why the correct responses are not being registered.
Has anyone encountered this issue before? Is there something I might be missing in the Keyboard or Loop settings?
Thanks in advance!