Only one key response coding correctly

OS : Windows 10
PsychoPy version: 2020.2.10
What are you trying to achieve? I am using builder to create a stroop task, and the response should be one of two button presses. Depending on the trial, either “b” or “g" is correct. However, it is only marking “g” responses as correct. I tried going through past threads, but I haven’t been able to get it to work.
What did you try to make it work?:

-Double checked that there are no typos in the parameter file

  • $ is there before corrAns

  • correct keys (‘b’ and ‘g’) are correctly defined in the excel file and in the response settings

-only storing the first key response

What specifically went wrong when you tried that? Correct responses where “b” is the correct response, are logged as 0 in the output file, while it codes correctly for “g”.

The response settings in builder:

The data file scoring the task:

The stimulus correct file has the correct answers coded like this: