Howdy, Stranger!

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

Supported by

Digit format in loop column "correct_response"

When entering single-digit values in the "correct_response" column of a loop table, I notice that the digits are displayed in red and are right-aligned. In contrast, text characters are black and left-aligned. When I use digits (e.g. 1, 2, 3, 4, 5) as the correct_response values, I never get "correct=1" even when the correct digit key was pressed. These two observations suggest that the values were stored as numbers (not text) and cannot match with the keypress response.

Has anyone seen this? I cannot find reference to it anywhere. Is there a method to enter digit values in the correct_response column as text?

thanks for any responses. I am enjoying learning more about OpenSesame.
Jim Lane

Comments

  • Hi Jim,

    The way values are displayed in the loop table is purely visual. But other than that, you're right: numeric correct_response values are indeed not interpreted correctly. I created an issue for this, and it should be fixed for the next maintenance release (3.1.3), which will be released soonish.

    For now, a workaround would be to collect the key press with a simple inline_script, so you can implement your own logic to decide which response is correct. Do you think you'll be able to manage that?

    Cheers!
    Sebastiaan

  • Thanks for the response. I am only beginning with OS. Writing an inline_script will give me something more to learn. But I might try non-digit responses for now, until the issue is corrected in the next release.

    Best,
    Jim Lane

Sign In or Register to comment.