Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Repeat Correct Coding Block until each color is named two times correctly - Stroop task

Hello people!

I have a Stroop experiment with 4 different blocks which will be counterbalanced across participants (do you have any suggestions considering counterbalancing across the blocks?). It all works great, but I have another issue I would like you to ask. The experiment starts with a correct coding block of 12 trials, so that the participant needs to identify the correct color with the correct colored answer button. After every given answer the subject receives feedback with correct or false. This works fine. However, I would like to repeat the coding block until each color has been identified two times correctly (total of 6 colors, that's why the block consists of 12 trials) and only THEN the next phase of the experiment starts.

Do you know a valide break if condition that works for this matter? Or something else? I've tried several ways, f. e. http://forum.cogsci.nl/index.php?p=/discussion/2208/solved-repeat-practice-block-if-accuracy-less-than-80 or the note "loops, break if" which directly adresses my issue http://psy.swan.ac.uk/staff/freegard/opensesame/tips/# , but nevertheless, I didn't manage to programm it the right way even though I did the same exact thing (maybe the feedback condition interfered somehow(?)).

I am a recent convert to OpenSesame and am a bit lost. Do you have any ideas for this problem? Thank you very much!!!

Nathalie

Comments

  • Hi Nathalie,

    > do you have any suggestions considering counterbalancing across the blocks?

    > However, I would like to repeat the coding block until each color has been identified two times correctly (total of 6 colors, that's why the block consists of 12 trials) and only THEN the next phase of the experiment starts.

    If I understand correctly, this means that you want to repeat the entire block if the accuracy was less than 100%, right? If so, then you could for example do this by having a repeat_cycle item right after the loop that you want to repeat, and use [acc] < 100 as a repeat-if statement.

    Cheers!

    Sebastiaan

  • Hi Sebastiaan,

    thank you very much for your suggestions! I've tried it but now the trials continue endlessly - by that I mean the practice block does not move on when accuracy = 100 % is reached. Do you mind checking this part of my experiment which is called "Exp1_Farbkodierung_V1_loop"? This way it might be easier to spot the error that I'm failing to detect. This would be absolutely amazing!!!

    Cheers!

    Nathalie

  • Hi Nathalie,

    Why don't you take this opportunity to learn a bit about debugging? If you open the variable inspector (Ctrl + I) and search for acc, you can keep track of the accuracy while the experiment is running. Does this behave as you'd expect it to? If so, then there's something wrong with the logic of the repeat_cycle item. If not, then there's something wrong with how you keep track of accuracy. That way you can gradually find out where the problem lies. I suspect that it's something trivial for which you don't really need my help!

    Cheers!

    Sebastiaan

  • Hi Sebastiaan,

    it did'nt work in the first place, because of an outer- and innerloop - that's why the repeat_cycle didn't run. Now everything works perfectly fine the way I wanted the program to!

    I appreciate your quick help and thank you very much!!!

    Cheers!

    Nathalie

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games