Howdy, Stranger!

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

Supported by

Equally distribute participants into 2 different lists in OSWeb Experiment

Hello everyone!

I would like help on assigning participants to one of the two possible lists based on their subject number in an OSWeb experiment. Basically, I want to equally divide 24 participants between lists A (odd numbers) and B (even numbers).

On the JATOS documentation site, they offer a solution using Batch Session Data. They also have an "Randomize Tasks Between Workers" template for this. I downloaded the template, but I'm not sure how to adapt the code to my experiment. For example, I don't need the "continue" button or for the participants to know which list they are assigned to. The template I mentioned is found here:

Another option I found here is to simply create 2 different loops and change the "run if" conditions depending on subject parity in OpenSesame. I'm also not sure if this will work because I can't find exactly how JATOS assign subject numbers to participants (e.g. do general worker IDs begin from 1,2, and so on; does an abandoned session still get saved as a participant).

On a related note, when you use the OSWeb function in OpenSesame, the "possible subject numbers" field is set to 0,1 by default for me. What does this imply? Sorry if this is a very obvious question, but I just wanted to make sure what it means before tinkering with it.

Thank you for your time and patience! I appreciate any help I can get.


  • Hi there

    I've been working with online experiments for a bit now and I think that you are right, in that worker ID's are assigned to any participants (even those who do not finish it). You could always include a bit of javascript in the beginning that uses the Math.random() function, then round that, and assign participants to a list based on that result being 0 or 1. That should result in about a 50/50 spread (but you can't guarantee that).

    If you need absolute guarantee, you could work around it by simply uploading the experiment twice, once with list A and once with list B, and send out the links accordingly. But these are just work-around solutions, I'm sure there are more advanced users who know how to implement this more neatly.



  • Hi Jelle!

    In the end I would prefer a guaranteed balance, so I think your second suggestion works for me. As our administrator suggested, I could upload the 2 lists as different experiments on SONA systems and make participating in one a disqualifier for the other and vice versa.

    Thank you so much for your reply!

    Kind regards,


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