immersivecognition / unity-experiment-framework

UXF - Framework for creating human behaviour experiments in Unity
https://immersivecognition.github.io/unity-experiment-framework/
MIT License
221 stars 43 forks source link

Feature Request: Automatic PPID Suggestion #106

Open A-Ivan opened 2 years ago

A-Ivan commented 2 years ago

Not sure if this already exists, but it would be great if the naming of the participant numbers could be automatically suggested, starting with participant number 1. The output folder could be searched for folder/output file names named, continuing off where the last number ended. For instance, if there already is a Participant 1 folder and file, the system should automatically suggest/default to participant 2.

If the researcher would like to use a different number they can, but having this automatic suggestion would save some time and having to keep looking through the data files to know which number to use next.

jackbrookes commented 2 years ago

I thought about this- I don't like the idea of possibly causing experimenter errors (e.g. you accidentally run a session twice, now your ppid is out of sync with your log book). Another reason is you may have multiple settings profiles, so data are stored in different folders, which complicates things a bit. I added the random button to give a unique name, which you can jot down in your lab book to associate with a participant's name. I'll leave the issue up and if others like the idea it can be added

Also- UXF is an open platform, so it wouldn't be too difficult to add a new button to the UI that does exactly what you want! You don't even have to change UXF code, just add your button, and a new script onto the UI in your scene.