from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) author = 'Damien Jourdain' doc = """ Additional Questions """ class Constants(BaseConstants): name_in_url = 'award_risk_questions' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass def make_likert(label): return models.IntegerField( choices=[1,2,3,4,5], label=label, widget=widgets.RadioSelectHorizontal, ) class Player(BasePlayer): """Novelty seeking questions""" # From NS1 Scale novelNS1_1 = make_likert('I Prefer variety to routine') novelNS1_2 = make_likert('I Love to think up new ways of doing things') novelNS1_3 = make_likert('I Enjoy hearing new ideas') novelNS1_4 = make_likert('I Like to begin new things') novelNS1_5 =make_likert("I Don't like the idea of change") novelNS1_6 =make_likert('I Dislike changes') novelNS1_7 =make_likert('I Prefer to stick with things that I know') # From Gordon Luo Scale novelGL_1 =make_likert('I am always interested in finding new things to try') novelGL_2 =make_likert('I usually seek out new opportunities or experiences') novelGL_3 =make_likert('Trying new things is important for me to stay happy') """Risk questions""" risk1 = make_likert('Generally speaking, would you say that you are you someone who is willing to take risks or someone who avoids risks?') riskd1 = make_likert('When you are proposed a new seed variety, are you someone who is willing to take risks to try it or someone who avoids the risk to try that seed?') riskd2 = make_likert('When you are required to invest in a new equipment, are you someone who is willing to take the risk or someone who avoids the risk?')