If this template helps then use it. If not then just delete and start from scratch.
OS Mac
PsychoPy version 2025.2.1
Standard Standalone Installation? (y/n) Y
Do you want it to also run online? (y/n) Y
What are you trying to achieve?: I have a list of sentences that vary in terms of valence (positive v negative), adverb bias (male v female) and pronoun (he v she).
The issue is for every sentence (say sentence 1, one version has the pronoun “she” and a second identical sentence has pronoun “he”.
I do not want any participant to see both pronoun versions of sentence 1 and so on for all sentences. So this needs to be counterbalanced between participants, selecting an equal number of positive & negative valent sentences, and male and female adverb versions of sentences.
I have uploaded an sheet depicting the conditions and used the item name “sentence he 1” and “sentence she 1” to indicate the sentences that cannot be presented to the same participant. These would need to be counterbalanced between participants. The labels are there for explanation. I should also point out there is a question that follows each sentence.
I anticipate using blocks of items will help with implementation, but how to avoid showing both pronoun versions of a single sentence, while presenting sentences (that are selected for that participant) in a random order, if currently beyond me.
What did you try to make it work?: I have various documents around counterbalancing and randomisation, watched numerous psychopy tutorial videos around this topic.
Link to the most relevant existing thread you have found: Randomize sentence with one of three cue types without repeating
What specifically went wrong when you tried that?: I have not implemented anything yet. Still trying to visualise how this may be implemented in builder, even with some additional code.
Any suggestions to break this problem down would be appreciated. Thanks
David
