Pavlovia error : Failed to resolve module specifier "psychopy"

You appear to be using event.getKeys in a code component which ends the routine, so I would recommend that you replace it with a normal keyboard component.

You also have unnecessary code in your feedback routine. Why not use a text or textbox component?

What are your print statements telling you about IMCpercu?