Howdy, Stranger!

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

Supported by

Sequence Run if based on accuracy


I'm looking to train participants, then check their training with a test. If participants complete the test with 100% accuracy (every question correct), they progress to the next phase. If they score <100%, failing even one of the questions, they repeat the train-test cycle for a maximum of three times.

In my sequence, I have a training loop, a test loop, and a training_repeat loop. I've tried setting the training_repeat loop to Run if [acc] = 0, but this only works based on the most recent trial accuracy, not the overall accuracy for the test loop, i.e. whether they got only the final question correct.

In the sequence, is there a way to set the training_repeat loop to Run if the test loop total accuracy is < 100%? And then should a participant score <100% after the third round of training, is there a way to no longer repeat the training, but instead move on to the next phase? Perhaps there is a better way?

This is for an experiment to be run online via JATOS, so sadly I am constrained in terms of inline script.

Any help very much appreciated!


  • Hi @Steph76 ,

    It sounds like the acc variable only reflects the correctness of the last response (i.e. it's either 0 or 100, but never, say, 75). If so, this most likely means that the feedback variables are reset on every trial. This can happen, for example, if there's a feedback item in the trial sequence with the 'Reset feedback variables' option enabled. Could that be it?

    Once that's fixed, you can probably set the run-if statement for the training_repeat loop to [acc] < 100.

    — Sebastiaan

    Buy Me A Coffee

  • Hi @sebastiaan ,

    Thanks so much for getting back to me. I've added in a feedback item and disabled reset, as you suggested, which has fixed the issue there.

    However, now when the training_repeat loop is run and the participant is tested again, accuracy is being determined from both the first test and the second test: If a participant scores <100% in the first test, they repeat the training as intended, and then they can score 100% in this second test, but will be directed to training again instead of onto the next part of the experiment. Can I keep acc as referring to the whole test (rather than reset per trial), but also reset accuracy on a next occurrence of the test (while keeping JATOS-friendly)?

  • I have discovered the reset feedback item, so all solved! Unless there is a neater way to repeat a cycle than hard coding each loop (study-test x3) and using Run if in the sequence?

    Thanks very much for your guidance! :)

  • Good to hear you figured it out!

    Buy Me A Coffee

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 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