Problem with between-group treatment assignment in oTree
I’m developing an experiment in oTree where I need to randomly assign 3 different treatments to 2 groups of participants based on a variable called survey2 (1=male, 2=female). I want the treatment assignment to be between-groups, meaning that in each group one third of participants should be assigned to each treatment.