irregular function


Author
Message
vr_uke
vr_uke
New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)
Group: Forum Members
Posts: 2, Visits: 6
thank yo

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
vr_uke - 5/4/2020
Hello, everyone,

we have programmed a test which is already in use. by now Now the error has appeared that the test sometimes breaks off after the 20 practice trials. Can anyone help us?

Greetings

beacuse of the size of the uploaded file i had to delete the pictures.
if you need the full data i can try to upload it on a cloud

The script has an abort condition which kicks in if participants fail the practice part: The task ends after practice if the accuracy in the practice block(s) is below the threshold set in parameters.minPracticeACC and the maximum number of practice blocks has been run (parameters.maxPracticeBlocks), i.e. after a maximum of 20 practice trials (ten per block).

<paramaters>
...
/maxPracticeBlocks = 2
/trialsPerPracticeBlock = 10
/minPracticeACC = 0.9
...
</parameters>

<block practice>
/ stop = [
    values.countTrials > parameters.trialsPerPracticeBlock;
]
/ onblockbegin = [
    values.phase = "practice";
    list.ACC.reset();
    values.practiceBlocks += 1;
    values.countTrials = 0;
    picture.stimEraser.skip = true;    
]
/ trials = [1 = trialSelection]
/ branch = [
    if (list.ACC.mean < parameters.minPracticeACC){
        if (values.practiceBlocks >= parameters.maxPracticeBlocks){
            block.prematureEnd;

        } else {
            block.practice;
        };
    };
]

</block>

<block prematureEnd>
/ postinstructions = (end)
/ onblockend = [
    values.failPractice = 1;
    if (!monkey.monkeymode){
        script.abort();        
    };

]
</block>

This is not irregular functioning, the script is doing what it's designed to do.
Edited 4 Years Ago by Dave
vr_uke
vr_uke
New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)New Member (28 reputation)
Group: Forum Members
Posts: 2, Visits: 6
Hello, everyone,

we have programmed a test which is already in use. by now Now the error has appeared that the test sometimes breaks off after the 20 practice trials. Can anyone help us?

Greetings

beacuse of the size of the uploaded file i had to delete the pictures.
if you need the full data i can try to upload it on a cloud

Attachments
Go_noGo_Task_final_dan (3).zip (228 views, 5.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search