from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) author = 'Lilian' doc = """ This is the introduction to the scenario. """ class Constants(BaseConstants): name_in_url = 'Intro' 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 ) def make_reverse_field(label): return models.IntegerField( label=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 ) 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 = make_reverse_field(label="There is no 'team spirit' in my group.") #trustworthiness7 = make_reverse_field(label="There is a noticeable lack of confidence among those with whom I work.") #trustworthiness8 = make_field(label="We have confidence in one another in this group.") #propensityToTrust1 = make_reverse_field(label="One should be very cautious when working with people that you personally do not know.") #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 = make_reverse_field(label="If possible, it is best to avoid working with people that you personally do not know on projects.") #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.") 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 = make_reverse_field(label="The other team members do not behave in a consistent manner - I am never sure if they are going to do what they promise or not.") integrity6 = make_field(label="The other team members display a solid work ethic.") 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.") #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 = make_reverse_field(label="") #trust2 = make_field(label="") #trust3 = make_reverse_field(label="I really wish I had a good way to oversee the work of the other team members on the project.") #trust4 = make_field(label="") # New items: benevolence, affective/cognitiveTrust, trustInTeamMember, trustInTech benevolence1 = make_field(label="The outcomes of this project are very important to the other team members.") benevolence2 = make_field(label="The other team members behave in a consistent manner") benevolence3 = make_field(label="The other team members do not do anything to disrupt the project.") benevolence4 = make_field(label="The other team members are concerned about what is important to the team.") benevolence5 = make_field(label="The other team members do everything within their capacity to help our team perform.") # Affective + cognitive trust are grouped by "new team trust in flowchart" affectiveTrust1 = make_field(label="We have a sharing relationship. We can all freely share our ideas, feelings, and hopes.") affectiveTrust2 = make_field(label="I can talk freely to my team members about difficulties I am having at the project and know that they will want to listen.") affectiveTrust3 = make_field(label="If I shared my problems with my team members, I know they would respond constructively and caringly.") cognitiveTrust1 = make_field(label="Team members approach this project with professionalism and dedication.") cognitiveTrust2 = make_field(label="Given my team members’ track records, I see no reason to doubt their competence and preparation for the project.") cognitiveTrust3 = make_field(label="I can rely on team members not to make our project more difficult by careless work.") #trustInTeamMember1 = make_field(label="The new team member shows a great deal of integrity.") #trustInTeamMember2 = make_field(label="I can rely on the new team member with whom I work in this group.") #trustInTeamMember3 = make_field(label="Overall, the new team member in my group is very trustworthy.") #trustInTeamMember4 = make_field(label="The new team member is considerate of one another's feelings in this work group. ") #trustInTeamMember5 = make_field(label="The new team member in my group is friendly.") #trustInTeamMember6 = make_reverse_field(label="There is no 'team spirit' in my group with the new team member.") #trustInTeamMember7 = make_reverse_field(label="There is a noticeable lack of confidence among those with whom I work.") #trustInTeamMember8 = make_field(label="I have confidence in the new team member in this group.") #trustInTech1 = make_reverse_field(label="One should be very cautious when working with autonomous systems.") #trustInTech2 = make_field(label="Most autonomous systems tell the truth about the limits of their knowledge.") #trustInTech3 = make_field(label="Most autonomous systems can be counted on to do what they say they will do.") #trustInTech4 = make_reverse_field(label="If possible, it is best to avoid working with autonomous systems on projects.") #trustInTech5 = make_field(label="Most autonomous systems are honest in describing their experience and abilities.") #trustInTech6 = make_field(label="Most autonomous systems answer personal questions honestly.") #trustInTech7 = make_field(label="Most autonomous systems are very competent in terms of their field of ''expertise''.")