Wakefield's Daily Tips

Own up to AI

When trying to help people on the forum or through consultancy we are experiencing an increase in the amount of idiosyncratic or opaque code, coming from novice programmers who. ChatGPT and other AI tools can be a great help with programming tasks but they are not experienced with the architecture of PsychoPy Builder. If you use them, please add a comment to your code along the lines of # Created using ChatGPT to create random pseudo-words. Adding your main prompts as comments might also be helpful.

If I think you wrote a section of code yourself then I am likely to assume that you had a reason to take a particular approach (for example that you have more experience with Coder). If I know you have used an AI then I am more willing to propose removing apparently redundant or inefficient code, or suggest a change of approach.