oTree Forum >

Effort task with random selection of questions

#1 by Juliana

Hi everyone,

In my experiment, I have a real effort task with 20 questions / rounds. For each participant, I need to randomly select (without replacement) a set of 20 questions from a pool of 100. Each of the randomly selected questions will be asked in each round. 

In the data, I need to record which question was selected / asked in each round. 

Would anyone be willing to share code that does something similar or do any of the oTree sample tasks have this feature, so that I could check the code?

Thank you!

Juliana

Write a reply

Set forum username