from otree.api import * doc = """ This app will contain Likert questions on institution based trust """ class C(BaseConstants): NAME_IN_URL = 'InstitutionBasedTrust' 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 class Player(BasePlayer): situational_normality_general = models.StringField( choices=[ ['1', 'Professional learning at my district is typically provided by an external vendor'], ['2', 'Professional learning at my district is provided by an external vendor or developed internally depending on the topic'], ['3', 'Professional learning at my district is typically developed internally'], ], label='Please select the statement that best aligns with your district.', widget=widgets.RadioSelect ) situational_normality_benevolence_1 = models.IntegerField( label='I feel that most external professional learning vendors would act in a school/district’s best interest.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) situational_normality_benevolence_2 = models.IntegerField( label='If a school/district is in need of support, most external professional learning vendors would take a genuine interest in helping them.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) situational_normality_benevolence_3 = models.IntegerField( label='Most external professional learning vendors are interested in educators’ well-being, not just their own well-being.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) situational_normality_integrity_1 = models.IntegerField( label='External professional learning vendors are truthful in their dealings with school districts.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) situational_normality_integrity_2 = models.IntegerField( label='I am personally comfortable relying on external professional learning vendors to fulfill their obligations to my school district.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) situational_normality_integrity_3 = models.IntegerField( label='External professional learning vendors generally fulfill their agreements with school districts.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) situational_normality_competence_1 = models.IntegerField( label='In general, external professional learning vendors are able to meet school districts’ specific needs.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) situational_normality_competence_2 = models.IntegerField( label='I feel that most external professional learning vendors are good at what they do.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) situational_normality_predictability_1 = models.IntegerField( label='In general, external professional learning vendors deliver services at a consistent level of quality.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) situational_normality_predictability_2 = models.IntegerField( label='Based on my experience, if an external professional learning vendor has been successful in the past, I can trust that they’ll be successful going forward.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) structural_assurance_isa_1 = models.IntegerField( label='Online information about external professional learning vendors is generally reliable and trustworthy.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) structural_assurance_isa_2 = models.IntegerField( label='Online sources provide unbiased and credible information about external professional learning vendors.', choices=C.likert_scale_choices, widget=widgets.RadioSelectHorizontal ) structural_assurance_isa_3 = models.IntegerField( label='I don’t need additional verification or sources to validate the information I find online about external professional learning vendors.', 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 ) # PAGES class IG(Page): form_model = "player" form_fields = ["situational_normality_general"] class IB(Page): form_model = "player" form_fields = [ 'situational_normality_benevolence_1', 'situational_normality_benevolence_2', 'situational_normality_benevolence_3', 'situational_normality_integrity_1', 'situational_normality_integrity_2', 'situational_normality_integrity_3', 'attention_check', 'situational_normality_competence_1', 'situational_normality_competence_2', 'situational_normality_predictability_1', 'situational_normality_predictability_2', 'structural_assurance_isa_1', 'structural_assurance_isa_2', 'structural_assurance_isa_3'] page_sequence = [IG,IB]