Howdy, Stranger!

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

Supported by

subject_nr assignment on JATOS

Hi everyone!

I'm running the experiment I created with OpenSesame on JATOS. I'm having a problem with subject_nr assignement though. JATOS seems to not be able to assign the subject_nr correctly (meaning, automatically and progressively), rather it always assigns 1 or 0. This is a problem for me, as in a sequence of my experiment participants are assigned to List 1, List 2 or List 3 based on subject_nr, and it's important that the assignment is counterbalanced: if subject_nr is always 0 or 1, participants only get assigned to List 1 or List 3.

I have already tried this, and it seems to not work: I add this inline_javascript at the start of the experiment (inside the sequence that contains everything),

Then I add this inline_javascript inside the sequence that contains the 3 lists, but before the 3 lists.

As I said, this method doesn't work. The second inline does, but there is a problem with the first one, and now I don't even get an output when the participants do the experiment (in the column "State" in JATOS I always get FAIL).


If you have any suggestions or you've come across the same problem and found a solution and you could help me, that would be very much appreciated :)

Comments

  • Hi,

    As far as I understand your code, this problem has nothing to do with JATOS, it's to do with how you use the studyResultId to obtain the subject_nr. I would recommend you debug this in the console, to get the output at every line, and see if you can improve the code.

    Best

    Elisa

  • Also, a better way to solve your problem could be to follow an example. Go to https://www.jatos.org/Example-Studies and search for 'Randomize'. You'll find two example studies that might be easier to adapt to your needs.

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