from otree.api import * doc = """ Your app description """ class C(BaseConstants): NAME_IN_URL = 'ASCDtrust' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 # Likert scale choices likert_scale_choices = [ [1, 'Strongly Disagree'], [2, 'Disagree'], [3, 'Neutral'], [4, 'Agree'], [5, 'Strongly Agree'] ] attention_scale_choices = [ [False, "Very unlikely"], [True, "Unlikely"], [False, "Neutral"], [False, "Likely"], [False, "Very likely"], ] class Subsession(BaseSubsession): pass class Group(BaseGroup): pass # PAGES class Player(BasePlayer): ascd_benevolence_1 = models.IntegerField( label='I feel that ASCD would act in a school/district’s best interest.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) ascd_benevolence_2 = models.IntegerField( label='If a school/district is in need of support, ASCD would take a genuine interest in helping them. ', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) ascd_benevolence_3 = models.IntegerField( label='ASCD is interested in educators’ well-being, not just their own well-being.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) ascd_integrity_1 = models.IntegerField( label='ASCD is truthful in its dealings with school districts.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) ascd_integrity_2 = models.IntegerField( label='I am personally comfortable relying on ASCD to fulfill its obligations to my school district. ', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) ascd_integrity_3 = models.IntegerField( label='ASCD generally fulfills its agreements with school districts.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) ascd_competence_1 = models.IntegerField( label='ASCD is able to meet school districts’ specific needs.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) ascd_competence_2 = models.IntegerField( label='I feel that ASCD is good at what it does. ', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) ascd_WTD_1 = models.IntegerField( label='I would feel comfortable depending on ASCD as an external professional learning services provider.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) ascd_WTD_2 = models.IntegerField( label='I would feel confident in acting on the professional learning advice I was given by ASCD.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) attention_check = models.BooleanField( label='This is an Attention Check. Please select "Unlikely".', widget=widgets.RadioSelectHorizontal, choices=C.attention_scale_choices ) class ASCDTrust(Page): form_model = 'player' form_fields = [ 'ascd_benevolence_1', 'ascd_benevolence_2', 'ascd_benevolence_3', 'ascd_integrity_1', 'ascd_integrity_2', 'attention_check', 'ascd_integrity_3', 'ascd_competence_1', 'ascd_competence_2', 'ascd_WTD_1', 'ascd_WTD_2' ] page_sequence = [ASCDTrust]