from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) class Constants(BaseConstants): name_in_url = 'introduction_adding_numbers' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): time_page1 = models.FloatField() time_page2 = models.FloatField() time_page3 = models.FloatField() h1 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label= "I get stressed/anxious in distracting environments. (R)", widget=widgets.RadioSelectHorizontal ) h2 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I am good at working on several projects at the same time.", widget=widgets.RadioSelectHorizontal ) h3 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I do not mind working in distracting environments.", widget=widgets.RadioSelectHorizontal ) h4 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I have trouble limiting my phone usage. (R)", widget=widgets.RadioSelectHorizontal ) h5 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I am more productive when concentrating my efforts on just one project than when switching back and forth between several projects. (R)", widget=widgets.RadioSelectHorizontal ) h6 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I can concentrate well in noisy environments.", widget=widgets.RadioSelectHorizontal ) h7 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I am easily distracted while studying in a library. (R)", widget=widgets.RadioSelectHorizontal ) h8 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I can easily continue working after being interrupted.", widget=widgets.RadioSelectHorizontal ) h9 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I enjoy working on several projects at the same time. ", widget=widgets.RadioSelectHorizontal ) h10 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I can focus well in distracting environments.", widget=widgets.RadioSelectHorizontal ) h11 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I enjoy switching back and forth between several projects.", widget=widgets.RadioSelectHorizontal ) h12 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I can easily concentrate after being interrupted.", widget=widgets.RadioSelectHorizontal ) h13 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I work on several projects at the same time, rather than completing one project and then switching to another. ", widget=widgets.RadioSelectHorizontal ) h14 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I constantly check my phone while studying. (R)", widget=widgets.RadioSelectHorizontal ) h15 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I like to finish one task completely before focusing on anything else. (R)", widget=widgets.RadioSelectHorizontal ) h16 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="I am easily distracted while studying at home. (R)", widget=widgets.RadioSelectHorizontal ) h17 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="When I have a task to complete, I like to break it up by switching to other tasks intermittently. ", widget=widgets.RadioSelectHorizontal ) h18 = models.StringField( choices=["Strongly Disagree", "Disagree", "Slightly Disagree", "Neutral", "Slightly Agree", "Agree", "Strongly Agree"], label="When there is a notification on my phone or laptop, I am tempted to check it. (R)", widget=widgets.RadioSelectHorizontal )