45  Explore, apply, reflect

🏢 Lab class/🏠 Self-study

Your task is to extend the choice reaction time task from Lab 6 (Chapter 40). You can use your own version from Lab 6 or download the original task again:

You should include 16 practice trials. On these practice trials, the participant should receive feedback on the accuracy of their response. Make sure your feedback works by running the task and making correct as well as incorrect responses.

If you have no previous experience using Python, we would recommend reading Appendix C before starting to work on the exercise.

Adapt the feedback from the flanker example we shared with you in Lab 5 (Section 26.3). The main thing you need to keep in mind is that you need to adjust variable names. For example, the Keyboard component in the flanker task is called response. If your Keyboard component is called, say, key_resp you must adapt the code accordingly.