adopted Columbia Card Task


Author
Message
minin72704
minin72704
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Forum Members
Posts: 51, Visits: 189
Thanks Dave,  I love you.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Thanks :)

You just made my day!

minin72704
minin72704
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Forum Members
Posts: 51, Visits: 189
There is another problem. I found a discrepancy between two scores in CCT_hot. Specifically, sometime the score in pick card stage was consistent with that in feedback stage (e.g. 88 points in pick card stage and reveal the same score in latter feedback stage). However, sometimes these two scores were not identical (e.g. i got 100 points in pickcard stage but it revealed 0 points in latter stage).

minin72704
minin72704
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Forum Members
Posts: 51, Visits: 189
It appears to happening only when i press pick card button and then do nothing resulted in trial terminated automatically. Moreover, I alos found that when I press "stop" button the trial terminated immediately before 10s' timeout.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Re. the scoring: Work through the code that is responsible for that and double-check it. You need to decide what you want to do when no response occurs and adjust accordingly.

Re. the timeout: Again, just as with the BARTY, you ought to instruct the turnover trial to last for whatever remains of the 10s timeout. As with the BARTY, you do that via the /trialduration.

minin72704
minin72704
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Forum Members
Posts: 51, Visits: 189
I resulved part of problems, however, I still can't figure out how to deal with the problem of 0 scoring.

Attachments
CCT_Hot_formal reward.iqx (521 views, 30.00 KB)
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Look at

<trial pickcard>
...
/ ontrialend = [if(trial.pickcard.response!="8" && values.cardtype==3)
    values.score-=values.score]
/ ontrialend = [if(trial.pickcard.response=="7" && values.cardtype==2)
    values.score+=values.gainamount]
...
</trial>

That's where the score is manipulated depending on *response* and the type of scheduled *card* (loss or gain).

"!=" is a logical NOT. Thus,

/ ontrialend = [if(trial.pickcard.response!="8" && values.cardtype==3)
    values.score-=values.score]

means "if the response is not a press on the key with scan code 8 AND the scheduled card is a loss card" subtract stuff. Now, which responses in your case are "not 8"? It's 7 and 0 (no response).

Similarly, there are other pieces of logic where you *don't* take into account the "no response" case:

/ ontrialend = [if(trial.pickcard.response!="8" && values.cardtype==3)
    values.openlosscards=1]
/ ontrialend = [if(trial.pickcard.response!="7" && values.cardtype==3)
    values.openlosscards=1]

Work through that logic, think through what exactly happens in each case and then modify it according to your needs, i.e., take the "no response" case into account.

minin72704
minin72704
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Forum Members
Posts: 51, Visits: 189
It is weired that it only happened when I turn over the last safe card. For example, if there were 3 loss cards in a round, the points feedback was correct when I pressed 1 or 2 times, but 0 scoring appeared  after I press 3times and stop pressing (do nothing and wait for timeout).

Attachments
CCT_Hot_formal reward.iqx (505 views, 30.00 KB)
minin72704
minin72704
Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)
Group: Forum Members
Posts: 51, Visits: 189
Could you help me modify it, because I have to implement it a few hours latter. Thank you so much.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
> For example, if there were 3 loss cards in a round, the points feedback was correct when I pressed 1 or 2 times
> but 0 scoring appeared  after I press 3times and stop pressing (do nothing and wait for timeout).

This is *precisely* what I pointed out in my previous reply. Again, look at:

/ ontrialend = [if(trial.pickcard.response!="8" && values.cardtype==3)
    values.score-=values.score]                               

You've opened 3 "safe cards" and are now in the 4th instance of <trial pickcard>. Only 3 loss cards remain, i.e. values.cardtype at this point *is* 3 as in

/ ontrialend = [if(trial.pickcard.response!="8" && values.cardtype==3)
    values.score-=values.score]                               

You do *not* respond in this trial. Hence, trial.pickcard.response *is* 0. Obviously, 0 is *not* equal to 8 as in

/ ontrialend = [if(trial.pickcard.response!="8" && values.cardtype==3)
    values.score-=values.score]                               

It should now be obvious that the entire condition

/ ontrialend = [if(trial.pickcard.response!="8" && values.cardtype==3)
    values.score-=values.score]                               

is met and the score is zeroed as instructed. In your particular case, if you *don't* want this to happen, change the logic to

/ ontrialend = [if(trial.pickcard.response=="7" && values.cardtype==3)
    values.score-=values.score]                               

Work through the rest of the logic accordingly.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search