Howdy, Stranger!

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

Supported by

Making different subgroups inside a block loop on a math problem verification task

edited February 7 in OpenSesame

Hi there!

I have designed a math problem verification task in OpenSesame, and I would like to make a slight modification, although I am not sure how to go about implementing it. It goes as follows:

My math PVT includes additions and subtractions (12 items for each block total—6 and 6) and 7 blocks of ascending difficulty. I would like the items to be presented based on operation type (e.g., 6 additions, followed by 6 subtractions, and vice versa), but the order of items within the 6 additions and 6 subtractions, as well as which operation group is presented first and which second within each block to be randomized.

I understand that it might be a bit confusing, so I am willing to provide any further information to make it clearer. Any kind of help would be greatly appreciated! Thank you!


  • In other words, I would like in this case the table to shuffle, except the variable "operation" (the order of presented operation to stay the same, while shuffling the items). I have tried shuffle_horiz but it doesn't work, as it shuffles columns horizontally and not vertically, as I would like.

    Any thoughts?

  • Update: I have managed to shuffle all the other columns except the operation column by using the command "sortby operation" in the block loop script.

    The next (and final) step that I am not sure how to achieve is to randomize whether additions (grouped, all 6 items) are presented first and subtractions( grouped, all 6 items) are presented second, or vice versa.

    Any thoughts on that?

  • Hi,

    Not sure whether this is the best approach using the gui, but you could try to separate the two operations into two separate block loops. Alternatively, you might want to think about using plain Python code (within the inline_script item) to achieve that. To be clear, it might be possible to do it with the loop operations and standard Opensesame items, but I am not sure how exactly.


    Buy Me A Coffee

  • Hi Eduard!

    First of all, thanks for the reply!

    I have thought that I could divide the blocks into two different sub-blocks each (one with additions and one with subtractions for each difficulty level) but this way I can't randomise the order in which each sub-block appears. It depends solely on whether I myself put the additions or subtractions sub-block first for each level.

    Given that I am a complete novice in using python scripts, I have not thought of a set of commands that would give me the desired result.

    Do you have any suggestions?

    Thanks again for the help!

  • You could add three items to the sequence:

    • subblock1 (run_if: order =1)
    • sublock2 (run_if: always)
    • subblock1 (run_if: order =2)

    Like that, you could counterbalance the order. Depending on how you define the variable order, you can also randomize the order entirely. Does that make sense?


    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