Howdy, Stranger!

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

Supported by

[solved] Minor issued with logged variables

edited October 2011 in OpenSesame
Hi Sebastiaan,

There are some minor issues with the way variables are logged that I would like to hear your opinion:

1. Using item_index = self.get("count_Trial_sequence") the items do not reset to 0 when you move on to a different block or run... I fixed the problem by using:
item_index = self.get("count_Trial_sequence") - (block_index * number_of_trials_per_block)
but I think there should be a standard way of dealing with this.

2. In the output, average_rt and RT are always the same (shouldn't they be different?)

3. Not all the "count" variables actually count, many of them stay 0 all the time

4. I used self.get(count_block_sequence) in my inline script and worked fine, I see it in variable inspector, but it is not in the logger or the output file.

Thanks for any thoughts you may have on this...

Comments

  • edited October 2011
    1. Using item_index = self.get("count_Trial_sequence") the items do not reset to 0 when you move on to a different block or run... I fixed the problem by using: item_index = self.get("count_Trial_sequence") - (block_index * number_of_trials_per_block) but I think there should be a standard way of dealing with this.

    Yes, maintaining a trial id is a common thing. I don't want to change the behavior of the count_[item] variables per se, but maybe there can be a small plug-in to handle trial id counters. I'll think about the best way to deal with this, but thanks for bringing it to my attention!

    2. In the output, average_rt and RT are always the same (shouldn't they be different?)

    You mean "average_response_time" and "avg_rt", I suppose? Yes, these should maintain averages, but they are reset by feedback items. Is it perhaps the case that a feedback item follows every response? (More info.) Come to think of it, I should make 'resetting' optional in feedback items. (Issue filed)

    3. Not all the "count" variables actually count, many of them stay 0 all the time

    Really? Or only those of items that are called only once (in which case their counter is expected to stay at their initial value, which is 0)? If not, please let me know and I'll mark it as a bug.

    4. I used self.get(count_block_sequence) in my inline script and worked fine, I see it in variable inspector, but it is not in the logger or the output file.

    Is it perhaps the case that block_sequence has not been called at the time of the first logger? By default the logger logs all variables that it can detect the first time that it is called. If you check the 'Use NA ...' option, it will log all variables that appear to exist in the experiment and marks missing values as 'NA'. Does enabling this option fix your problem? If not, again, please let me know and I'll mark it as a bug.

    Thanks for your feedback!

  • edited 3:48PM

    Thanks for your reply Sebastiaan,

    Actually 3 and 4 depend on the same reason. I use a logger during the practice phase which goes before block_sequence appears and before the feedbacks I needed to count. Using the NA option does the trick!

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