Howdy, Stranger!

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

Supported by

WCST card manipulation

Hi everyone,

I am new to OpenSesame and I am currently working on administering a WCST.

I want to manipulate the chances of specific cards being shown after participants make an error, but I am struggeling how and where to implement this.

I appreciate any advice or tips!

Thanks a lot!

Comments

  • Hi @schmer,

    Thanks for reaching out. Your query is a litte too generic to suggest anything specific. Generally speaking, modifying task characteristics on the go typically requires programming (in Python or in Javascript), though it can sometimes also be achieved using the "Run if" parameter of sequence objects. More prcesie advice would require that you described in detail how you implement your task and the selection of stimuli, and possibly that you upload a basic version of your task. If you are new to Open Sesame, I also recommend that you follow the various tutorials and consult the documentation to get familiar with all the basic features before ventiuring into more complicated issues such as coding (the latter might require that you first become familiar with some basics of Python or Javascript).

    Best,

    Fabrice.

    Buy Me A Coffee

  • Hi Fabrice,

    Thanks a lot for your answer!

    So far I have the general experiment running. In addition to the tutorial online and with the help of the forum I added a new variabe to count perseverant response and error.

    I want to increase the chances of specific cards being shown after a perseverant error is made, for example show color1 twice as much as color2.

    here is what i got so far:

    Thank you so much! Looking forward to a reply!

  • Hi,

    I now have the experiment running as I want it inOPenSesame, but when trying to run it in OSWeb I get the following error:

    too many values to unpack (expected too many values to unpack (expected 2)Traceback (most recent call last):

     File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\libqtopensesame\extensions\_extension_manager.py", line 159, in fire

      return_value = ext.fire(event, **kwdict)

              ^^^^^^^^^^^^^^^^^^^^^^^^^

     File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\libqtopensesame\misc\base_subcomponent.py", line 56, in fire

      return getattr(self, u'event_%s' % event)(**kwdict)

          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

     File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\opensesame_extensions\osweb\oswebext\oswebext.py", line 277, in event_osweb_run

      index_path = convert.exp_to_html(

             ^^^^^^^^^^^^^^^^^^^^

     File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\osweb\convert.py", line 370, in exp_to_html

      _, script, pool_paths = _extract_script_and_pool_paths(exp)

                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

     File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\osweb\convert.py", line 608, in _extract_script_and_pool_paths

      script = OSWebWriter(osweb_exp, fd.name).script

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

     File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\libopensesame\osexpfile\_osexpwriter.py", line 49, in __init__

      self._write_tarfile()

     File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\libopensesame\osexpfile\_osexpwriter.py", line 72, in _write_tarfile

      fd.write(self.script)

           ^^^^^^^^^^^

     File "C:\Program Files (x86)\OpenSesame\Lib\site-packages\osweb\oswebwriter.py", line 71, in script

      _, (item, cond), _ = self.parse_cmd(m.group('cmd'))

        ^^^^^^^^^^^^

    ValueError: too many values to unpack (expected 2)

    does anybody knoiw how to deal with this or knows where it comes from?

    Thanks in advance!

  • Hi @schmer,

    Did you check the compatibilty check in the OSWeb control panel? This would flag out the most obvious issues. Please remember that not all functionalities ofs Open Sesame are supported in OSWeb (and then it differs a little between OSWeb 1.4 and OSWeb 2.0). The most likely explanation is that your task contains objects or code that is not compatible with OSWeb. If your experiment is a version of that you upladed earlier, if would not work OSWeb because the latter does not support Python code. You need to replace that code with code written in Javascript in inline_javascript objects. Generally speaking, if you aim to develop a task to run in a browser, the recommended method is to go testing it through your browser from the onset so that you can build it progressively while detecting possible compatibility issues early (using OSWeb 2.0 offers greater functionalities to collect data from the browser locally in case you do not necessarily plan to deploy your task using JATOS).

    Best,

    Fabrice.

    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 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