Could You Please Help Us Create a TMT Task in PsychoPy?

Hi everyone,

We are currently working on creating a Trail Making Task (TMT) in PsychoPy. While there are several existing tasks on Pavlovia, most of them include only the TMT-B condition. We need a complete version that combines both TMT-A and TMT-B.

Moreover, we have encountered numerous issues trying to run the versions we found, as they were written for older versions of PsychoPy. We are specifically using PsychoPy version 2023.2.3 and are struggling to get a working code for our needs.

Could anyone assist us in creating a working script for this version? Alternatively, does anyone have an updated version of the Trail Making Task code that works with PsychoPy 2023.2.3?

Thank you all for your time and attention.

1 Like

Here’s one I made earlier :wink:

Code: VESPR / trail-making · GitLab
Try it: trail-making [PsychoPy]

It has just updated to 2024.1.5 (the next bugfix release) but should be fine in earlier versions. I’d be interested in comments – specifically regarding “incorrect responses”. The issue with an error would be that you would need to be able to reverse and try again.

1 Like

Thank you very much for your response and for informing us about the update. We haven’t encountered any errors. The code and task are working perfectly :slightly_smiling_face:

Thanks again for your help!

Best regards.