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
Comments
Hi Wouter,
The easiest way to do is probably using a small inline_script, like so:
This will repeat trial_sequence until the response time was less than or equal to 1000. If you insert this inline_script right after trial_sequence, it will do what you need (right?). Of course you can set the stop criterion to whatever you like, such as while self.get('continue') == 1: or whatever.
It might be an idea to add this functionality as a plug-in, so I added it as feature request: https://github.com/smathot/OpenSesame/issues/89
Hope this helps!
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastian,
Thanks, it certainly helps, though I don't think my problem is fully solved yet:
first a question on this snippet:
do
exp.items['trial_sequence'].prepare()
exp.items['trial_sequence'].run()
call 'prepare' and 'run' on 'trial_sequence' or on all items within 'trial_sequence'? (relevant because several items within 'trial_sequence' have their own 'run if' conditions that I do not want to be overruled) I'm assuming it's on 'trial_sequence' itself.
what do you mean by ''If you insert this inline_script right after trial_sequence" precisely? It probably wasn't clear from my question, but the outline of my expt is as follows (in pseudocode):
Practice_loop # runs a couple trials with a relatively long presentation time
pr_block_sequence
reset_variables
pr_block_loop # uses variable wizard to generate different trial settings (Cue and target positions)
trial_sequence # does not run the staircase procedure here
Staircase_loop # gradually alters presentation time to stabilize at desired acc level, then should 'break'
sc_block_sequence
reset_variables
sc_block_loop # uses variable wizard to generate different trial settings (Cue and target positions)
trial_sequence # does run the staircase procedure here
Experiment_loop # runs a fixed number of all different trial combinations, randomized, while monitoring accuracy and changing presentation time accordingly. Does not require a 'break'
reset_variables
ex_block_loop # uses variable wizard to generate different trial settings (Cue and target positions)
trial_sequence # does run the staircase procedure here
So, in the second phase (staircase phase) of the experiment, the loop should be interrupted once accuracy stabilizes, but the trials should still be taken randomly from the possible trial combinations. Now where should I place your code?
Since not all trials in the staircase phase should be the same, I really need to randomly (and in a balanced fashion) assign variables like I normally would in 'sc_block_loop' for each cycle. Is there a simple solution to do this?
This seems equally relevant for the implementation of the feature request you made. What I -personally!- need right now is not a new 'while' item, but actually an extension of the 'loop' item, i.e. a 'Run If...' field. Such an extension would immediately implement 'while' loop functionality. Perhaps you could take it even further and introduce an option to run 'at least xxx times, then run if yyy'. Then, you'd immediately have all the functionality of all the 'reqular' loops ('do...while', 'for' , 'while' and 'loop').
...but maybe you have a different design perspective!
Cheers,
Wouter
The commands trickle down, as it were. So if you call prepare followed by run on a sequence, it will neatly prepare the sequence and all items in it (where necessary) and then run everything. The same is true for a loop. So you don't need to prepare all individual items.
Ah, I see. In that case you should probably have the while loop execute a block at a time.
The structure would then be something like
Right, yes, that might be something to consider. To specify a 'run while' statement instead of a fixed number of cycles. And perhaps some additional options.
Good luck!
Check out SigmundAI.eu for our OpenSesame AI assistant!
Btw, you could take a look at, and possible hack on, the implementation of the loop, of course. As you can see, the code is fairly simple (the runtime anyway, the GUI is a bit messy):
Check out SigmundAI.eu for our OpenSesame AI assistant!
Hi Sebastiaan,
I noticed that the feature request on github for this was depreciated?
I'm trying to break out of a loop when a key is pressed: just a series of sketchpad items being presented until a keypress is detected at which point it moves out to the next part of the experiment. Any ideas?
Jamie
Right, yes. That's because a 'break if' statement has been added to the loop in the development snapshot. This effectively serves as a while loop, thus deprecating the feature request.
In your case, you could make a variation on my first response (see above) but use a different criterion (i.e. while response != 'space' or something). But it might be easier to just handle it with a small inline_script. Something like this should get you started.
Cheers!
Check out SigmundAI.eu for our OpenSesame AI assistant!