Howdy, Stranger!

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

Supported by

Toggle recording of correct_[item_name] variable per item

For an experiment I'm currently building, I have participants press 'spacebar' for several reasons, i.e., continuing between instruction screens, indicating they're done reading a particular stimulus, etc.

Currently, for all of these keypresses, the data output is generating a correct_[item_name] column which is just entirely filled with 'undefined'. It is of course logical that it would be undefined as there is not correctness to going to the next instruction screen or stimulus. However, this does cause a lot of extra work for me to clean up the data.

Hence, I was wondering if there is some way to toggle the creation of this variable off per item in your experiment. I've already looked at the script of the respective items, and I see no line of code that would be generating these columns (although I imagine this would be done in the general script somewhere, rather than in the script of each respective item).

Any suggestions for how to toggle this behaviour for each specific item would be much appreciated, as it would greatly reduce clutter of the output.

Comments

  • Hi @KarsLigtenberg,

    If you check the logger, you will note the option "Automatically log all variables". You can unset this one, and instead drag all the variables that you want to keep into the `include` field. Alternatively, you can also use the exclude variable to selectively not log all the correct_[item_name] columns.

    Hope this helps,

    Eduard

    Buy Me A Coffee

  • Hi @eduard ,

    Thank you for the response!

    I had previously tried adapting the logger script, but for some reason that kept resetting every time I swapped away from the logger item again. However, manually typing it into the 'Exclude' box on the control interface does indeed seem to work.

Sign In or Register to comment.