Howdy, Stranger!

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

Supported by

Break loop after 10 incorrect trials

edited October 2020 in OpenSesame

Hello everyone,

I am quite new to Opensesame and would like to break my loop if the first 10 trials are answered incorrectly.

I would like to stop the whole experiment in this case, a simple break would also be fine.

This is what I tried so far, but it looks pretty incorrect to me.

I also tried it like this, but when I tick "evaluate before first trial" it simply always breaks after the practice, if I do not tick it, it never breaks.


Thank you!

Maike

Comments

  • Hi Maike,

    I attach an experiment, that implements a "breaking the loop after 10 trials without correct response" procedure.

    Hope this helps,

    Eduard


    Buy Me A Coffee

  • Hi Eduard,

    thank you a lot for your help.

    Because I got a loop in a loop, somehow this does not work for me.

    I tried putting the [break_loop] = 1 in the experimental loop as well as in the block loop experiment, but either way it always crashes.


    Thank you a lot!

    Maike

  • I attached my experiment :)

    Thanks a lot :)

  • Hi Maike,

    Here the updated experiment. Basically, you have not used the right variables. var.fixation_experiment does not exist, it must have been var.count_fixation_experiment (this variable keeps track of the trial number essentially). Also, var.accuracy does not exist. Instead you should use var.acc.

    By the way, your experiment will currently stop after 10 regardless of the answers. The reason for that is that you have not defined a correct response. Therefore the variable var.acc cannot compute the current accuracy. Once that variable is defined, your experiment should work.

    Also try to always provide an error message or describe in which way your experiment doesn't work like you want it to, when you request help here. It will make our live much easier helping you. expeirment


    Eduard

    Buy Me A Coffee

  • Hi Eduard,

    thank you a lot for your help!

    I am using a file for the stimuli which also contains the variable correct_response, but the accuracy is not compute. How can it make that work?


    Thank you!

    Maike

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