Increasing Difficulty; Monetary Incentive Delay task

Hi Jens,

I implemenet this which should cover all possible scenarios and yet I am still getting loss feedback, when I haven’t clicked early and I have clicked on the white square.

if trial_type == "incentive":
    if tooearly == 1 and correct == 0: #clicking too early
        image_feedback = "loss.png"
        this_earnings = -0.2
        feedback_trigger = 5
    elif tooearly == 1 and correct == 1: #clicking too early and the white square
        image_feedback = "loss.png"
        this_earnings = -0.2
        feedback_trigger = 5
    elif tooearly == 0 and correct == 0: #not clicking early but not clicking the white square
        image_feedback = "loss.png"  
        this_earnings = -0.2
        feedback_trigger = 5
    else:
        image_feedback = "win.png" #so the only other option would be a win if they hadn't clicked early but had clicked the white square?
        this_earnings = 0.2
        feedback_trigger = 4

This also didn’t work

if trial_type == "incentive":
    if tooearly == 0 and correct == 1:
        image_feedback = "win.png"
        this_earnings = 0.2
        feedback_trigger = 4 
    elif tooearly == 1 and correct == 1:
        image_feedback = "loss.png"
        this_earnings = -0.2
        feedback_trigger = 5
    elif tooearly == 0 and correct == 0:
        image_feedback = "loss.png"
        this_earnings = -0.2
        feedback_trigger = 5
    elif tooearly == 1 and correct == 0:
        image_feedback = "loss.png"
        this_earnings = -0.2
        feedback_trigger = 5

midEEG.psyexp (58.6 KB)

Mnay thanks,

Seline