| Reference | Downloads | Github

Fractional factorial design randomization

OS (e.g. Win7):
PsychoPy version (e.g. 1.84.x):

I’ve faced with a problem that seemed quite simple. However, my knowledge of PsychoPy is not enough.
I’m trying to build a problem solving experiment with 4 types of semantic primes and 4 problems. Each type of semantic primes - is a set of 3 sentences.
The problem is that I want to build a script that will randomize semantic primes and problems independently. Full factorial design is not appropriate because each problem has to be presented only once.
Thus, I need a kind of fractional factorial design with 4 random problems in 4 priming conditions. Each priming condition must occur only once and correspond to one problem. Total - only 4 loops.
One solution is to build a separate script for each possible combination. Are there other solutions?

Thank you!