from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) author = 'Lilian Friedrich' doc = """ This is a questionnaire to assess initial trust in teams after the scenario. """ class Constants(BaseConstants): name_in_url = 'Questionnaire2' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass def make_field(label): return models.IntegerField( label=label, choices=[ [1, "I strongly disagree"], [2, "I somewhat disagree"], [3, "I neither agree nor disagree"], [4, "I somewhat agree"], [5, "I strongly agree"], ], widget=widgets.RadioSelectHorizontal ) class Player(BasePlayer): trustworthiness1 = make_field(label="") trustworthiness2 = make_field(label="I can rely on those with whom I work in this group.") trustworthiness3 = make_field(label="Overall, the people in my group are very trustworthy.") trustworthiness4 = make_field(label="We are usually considerate of one another's feelings in this work group.") trustworthiness5 = make_field(label="The people in my group are friendly.") trustworthiness6 = models.IntegerField( label="There is no 'team spirit' in my group.", choices=[ # reversed!!! [5, "I strongly disagree"], [4, "I somewhat disagree"], [3, "I neither agree nor disagree"], [2, "I somewhat agree"], [1, "I strongly agree"], ], widget=widgets.RadioSelectHorizontal ) trustworthiness7 = models.IntegerField( label="There is a noticeable lack of confidence among those with whom I work.", choices=[ # reversed!!! [5, "I strongly disagree"], [4, "I somewhat disagree"], [3, "I neither agree nor disagree"], [2, "I somewhat agree"], [1, "I strongly agree"], ], widget=widgets.RadioSelectHorizontal ) trustworthiness8 = make_field(label="We have confidence in one another in this group.") # propensityToTrust1 = models.IntegerField( # label="One should be very cautious when working with people that you personally do not know.", # choices=[ # # reversed!!! # [5, "I strongly disagree"], # [4, "I somewhat disagree"], # [3, "I neither agree nor disagree"], # [2, "I somewhat agree"], # [1, "I strongly agree"], # # ], # widget=widgets.RadioSelectHorizontal # ) # propensityToTrust2 = make_field( # label="Most people that you personally do not know tell the truth about the limits of their knowledge.") # propensityToTrust3 = make_field( # label="Most people that you personally do not know can be counted on to do what they say they will do.") # propensityToTrust4 = models.IntegerField( # label="If possible, it is best to avoid working with people that you personally do not know on projects.", # choices=[ # # reversed!!! # [5, "I strongly disagree"], # [4, "I somewhat disagree"], # [3, "I neither agree nor disagree"], # [2, "I somewhat agree"], # [1, "I strongly agree"], # # ], # widget=widgets.RadioSelectHorizontal # ) # propensityToTrust5 = make_field( # label="Most people that you personally do not know are honest in describing their experience and abilities.") # propensityToTrust6 = make_field( # label="Most people that you personally do not know answer personal questions honestly.") # propensityToTrust7 = make_field( # label="Most people that you personally do not know are very competent in terms of their field of expertise.") ability1 = make_field(label="I feel very confident about the other team members' skills.") ability2 = make_field(label="The other team members have much knowledge about the work that needs to be done.") ability3 = make_field( label="The other team members have specialized capabilities that can increase our performance.") ability4 = make_field(label="The other team members are well qualified.") ability5 = make_field(label="The other team members are very capable of performing their tasks.") ability6 = make_field(label="The other team members seem to be successful in the activities they undertake.") integrity1 = make_field(label="The other team members try hard to be fair in dealing with one another.") integrity2 = make_field(label="The other team members have a strong sense of commitment.") integrity3 = make_field( label="I never am doubtful about whether the other team members will do what they promised.") integrity4 = make_field(label="I like the work values of the members on this team.") integrity5 = models.IntegerField( label="", choices=[ # reversed!!! [5, "I strongly disagree"], [4, "I somewhat disagree"], [3, "I neither agree nor disagree"], [2, "I somewhat agree"], [1, "I strongly agree"], ], widget=widgets.RadioSelectHorizontal ) integrity6 = make_field(label="The other team members display a solid work ethic.") roles = make_field(label="The roles within the team are well defined.") similarity = make_field(label="The team members and I have some similarities.") trust1 = models.IntegerField( label="", choices=[ # reversed [5, "I strongly disagree"], [4, "I somewhat disagree"], [3, "I neither agree nor disagree"], [2, "I somewhat agree"], [1, "I strongly agree"], ], widget=widgets.RadioSelectHorizontal ) trust2 = make_field(label="") trust3 = models.IntegerField( label="I really wish I had a good way to oversee the work of the other team members on the project.", choices=[ # reversed [5, "I strongly disagree"], [4, "I somewhat disagree"], [3, "I neither agree nor disagree"], [2, "I somewhat agree"], [1, "I strongly agree"], ], widget=widgets.RadioSelectHorizontal ) trust4 = make_field(label="") # Intrateam Trust by Jong & Elfring (2010) # trust5 = make_field(label="I am able to count on my team members for help if I have difficulties with my job.") # trust6 = make_field(label="") # trust7 = make_field( # label="I am confident that my team members will keep me informed about issues that concern my work.") # trust8 = make_field(label="I can rely on my team members to keep their word.") # trust9 = make_field(label="I trust my team members.") effectiveness1 = make_field(label="This team is good on coming up with ways to complete their tasks.") effectiveness2 = make_field(label="This team effectively deals with uncertainty and unexpected events.") effectiveness3 = models.IntegerField( label="At times, this team fails to approach its task adequately.", choices=[ # reversed [5, "I strongly disagree"], [4, "I somewhat disagree"], [3, "I neither agree nor disagree"], [2, "I somewhat agree"], [1, "I strongly agree"], ], widget=widgets.RadioSelectHorizontal ) cohesion1 = make_field(label="I and the members of my team are willing to defend one another from criticism.") cohesion2 = make_field(label="I and the members of my team will help each other.") cohesion3 = make_field(label="I and the members of my team will get along.") cohesion4 = make_field(label="I and the members of my team are willing to stick together.")