Howdy, Stranger!

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

Supported by

problems with coroutines on osweb in logging data (null/no responses)


I am a new user to opensesame/osweb. I implemented my experiment in open sesame and i use coroutines to log responses. i then exported it to osweb and running it on jatos. However, when i look at the log files, the trials where i did not make any responses has the last response (either a 1 or 2 which are the allowed responses) instead of a 'none' or 'null'. This works perfectly when i run it locally on open sesame. Any solution for this? Or alternatively if there is a way around coroutines, that can be implemented in a osweb friendly way? I m using coroutines because i want to show an image using sketchpad for 1000ms, which is followed by a blank screen for 400ms and i want the subject to be able to respond anytime between 0 and 1400ms from the start of the trial. Is this possible to implement? Any insights would be greatly appreciated.


  • Hi @vikramrao ,

    coroutines are not currently supported by OSWeb. That being said, @Daniel has been working on implementing them, and you've been using this as-of-yet unfinished (and buggy) implementation. But maybe @Daniel would like to know more about the issues that you're running into, so that we can polish the OSWeb implementation of coroutines for eventual stable release. For now, it would be helpful if you attach your experiment, or a version of it that illustrates the issue, to this discussion.



    Buy Me A Coffee

  • Hi @vikramrao ,

    Thanks for notifying us about this. I noticed this myself too. The response data of the previous trial transfers to the next one if no response has been given, and this only happens when using coroutines.

    I haven't had the time to look into this to see what causes this behavior, but I bet (/hope) this is a small thing to fix. As a temporary workaround for this, I explicitly (re)set the response vars at the start of each trial using an inline_javascript item that I placed at the top of my trial_sequence, containing:

    vars.response = null // or 'none'
    vars.response_time = null // or 0
    vars.correct = 0

    I hope this helps you for now too.

    Buy Me A Coffee

  • Thank you so much @Daniel and @sebastiaan. This resolution worked. Explicitly Nulling the variables of interest before every trial worked.

  • No problem! Glad it worked this way for now!

    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