Howdy, Stranger!

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

Supported by

Feature Request: Allow each row, within a 'loop,' to run different 'sequence.'

Feature Request: Allow each row, within a 'loop,' to run different 'sequence.' This would permit easy randomization (i.e., without the user having to write code) of the order in which distinct blocks of trials occur (and would match the capability of another, well-known, proprietary experiment builder).

R

Comments

  • Hi,

    In principle, this is already possible by having a structure like the one below, where you use an Run If statement to select a sequence. But it does require one additional layer (outer_sequence) in the structure.

    How would you like to see this implemented? And would there be any real advantage over the current way?

    Cheers!
    Sebastiaan

  • Thanks. That solution had not occurred to me with regard to randomizing the order of different sequences (as opposed to randomly selecting which sequence(s) to run or not run).

    But suppose I have inner_sequence_1, inner_sequence_2, inner_sequence_3, inner_sequence_4, inner_sequence_5, inner_sequence_6, inner_sequence_7, inner_sequence_8, inner_sequence_9, inner_sequence_10, and I want to run a random _ordering of the sequences.

    The solution you provide above would not work in that case.

    I believe these are previously suggested solutions involving in-line code:
    http://www.cogsci.nl/forum/index.php?p=/discussion/144/solved-randomizing-a-sequence-of-four-blocks
    http://forum.cogsci.nl/index.php?p=/discussion/2580/how-to-randomize-blocks-in-opensesame-a-solution-not-a-question

    However, I illustrate below how the process can be simplified from the researchers point of view, by allowing the run 'item' to be loop row specific, rather than loop-specific:

    R

  • And the tree representation would look like this:

    R

  • But suppose I have inner_sequence_1, inner_sequence_2, inner_sequence_3, inner_sequence_4, inner_sequence_5, inner_sequence_6, inner_sequence_7, inner_sequence_8, inner_sequence_9, inner_sequence_10, and I want to run a random _ordering of the sequences. The solution you provide above would not work in that case.

    It would because you can simply have multiple rows in block_loop with different values for condition. But it would not be very elegant, in that I agree.

    I'll think about a good solution for this use case. One thing that comes to mind is simply to allow variables in the run … statement of a loop. Right now this only works with a literal item name.

  • OK. Thanks! I now see how the RUN IF functionality, combined with sequence-within-a-sequence, can indeed randomly order the blocks/inner-sequences. So it's not necessary to implement the feature I requested. Perhaps adding a section on it, in the documentation, would be useful. Currently, I see that in the forum, people are assuming that block/sequence randomization can only be done via Python script.

    R

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