from email.policy import default from statistics import mode from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) author = 'Your name here' doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'back_button_v3' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): Q1 = models.StringField(label = '', choices=[[1,"(1) Improves in the future"] ,[2,"(2) Decreases in the future"]]) Q2 = models.StringField(label = '', choices=[[1,"""(1) Jenna will LOSE $2 as the company’s actual EPS is 10 cents below the analysts’ consensus forecast """] , [2,"(2) Jenna will GAIN $1"]]) Q1_list = models.StringField(blank=True) Q2_list = models.StringField(blank=True) screen4_times = models.IntegerField(initial=1) screen4_correct = models.IntegerField(initial=0) Q3 = models.StringField(label='', choices=[[1, "Delish Food"] , [2, "Stylish Food"]]) Q11_LHS = models.StringField(blank=True) Q11_RHS = models.StringField(blank=True) Q13_Image1 = models.StringField(blank=True) Q13_Image2 = models.StringField(blank=True) Q13_Image3 = models.StringField(blank=True) Q13_Image4 = models.StringField(blank=True) Q13_Image5 = models.StringField(blank=True) screen10_q1= models.StringField( label="screen18_q2", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen10_q2= models.StringField() screen14 = models.StringField(blank=True) screen14_input_list = models.StringField(blank=True) screen15_q1 = models.StringField( label="screen15_q1", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen15_q2 = models.StringField( label="screen15_q2", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen15_q3 = models.StringField( label="screen15_q3", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen16_q1 = models.StringField( label="screen16_q1", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen16_q2 = models.StringField( label="screen16_q2", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] ] ) screen16_q3 = models.StringField( label="screen16_q3", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] ] ) screen17_q1 = models.StringField( label="screen17_q1", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] ] ) screen17_q2 = models.StringField( label="screen17_q2", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] ] ) screen17_q3 = models.StringField( label="screen17_q3", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen18_q1 = models.StringField( label="screen18_q1", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen18_q2 = models.StringField( label="screen18_q2", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen18_q3 = models.StringField( label="screen18_q3", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] ] ) screen19_q1 = models.StringField( widget=widgets.RadioSelect, choices=[ [1, 'I will gain an additional payment'], [2, 'I will lose some of my payment'], ] ) screen19_q2 = models.StringField( widget=widgets.RadioSelect, choices=[ [1, 'Higher'], [2, 'Lower'], ] ) screen19_q3 = models.StringField( widget=widgets.RadioSelect, choices=[ [1, "The information was grouped together based on the company’s strategic priorities: Balance sheet strength, In-store experience, Engagement with local communities, Build our brand and Strong team spirits"], [2, "The information was grouped together based on the company’s stakeholders: Investors, Customers, Communities, Suppliers and Employees"], ] ) gender = models.StringField( choices=[ [1, "Male "], [2, "Female "], [3, 'Prefer not to say'] ] ) age = models.StringField( choices=[ [15, "15"], [16, "16"], [17, "17"], [18, "18"], [19, "19"], [20, "20"], [21, "21"], [22, "22"], [23, "23"], [24, "24"], [25, "25"], [26, "26"], [27, "27"], [28, "28"], [29, "29"], [30, "30"], [31, "31"], [32, "32"], [33, "33"], [34, "34"], [35, "35"], [36, "36"], [37, "37"], [38, "38"], [39, "39"], [40, "40"], [41, "41"], [42, "42"], [43, "43"], [44, "44"], [45, "45"], [46, "46"], [47, "47"], [48, "48"], [49, "49"], [50, "50"], [51, "51"], [52, "52"], [53, "53"], [54, "54"], [55, "55"], [56, "56"], [57, "57"], [58, "58"], [59, "59"], [60, "60"], [61, "61"], [62, "62"], [63, "63"], [64, "64"], [65, "65"], [66, "66"], [67, "67"], [68, "68"], [69, "69"], [70, "70"], [71, "71"], [72, "72"], [73, "73"], [74, "74"], [75, "75"], [76, "76"], [77, "77"], [78, "78"], [79, "79"], [80, "80+"], ] ) screen20_q3 = models.StringField( widget=widgets.RadioSelect, choices=[ [1, "Yes"], [0, "No"], ] ) screen20_q4 = models.StringField() widget=widgets.RadioSelect, screen20_q5 = models.StringField( widget=widgets.RadioSelect, choices=[ [1, "Yes"], [0, "No"], ] ) screen21_q1 = models.StringField( widget=widgets.RadioSelect, choices=[ [1, "Yes"], [0, "No"], ] ) screen21_q2 = models.StringField( widget=widgets.RadioSelect, choices=[ [1, "Yes"], [0, "No"], ] ) screen21_q3 = models.StringField( widget=widgets.RadioSelect, choices=[ [1, "Short term investor (less than 1 year)"], [2, "Long term investor (more than 1 year)"], ] ) screen21_q4 = models.StringField( widget=widgets.RadioSelect, choices=[ [1, "Speculative profit motive"], [2, "Long term share ownership"], ] ) screen22_q1 = models.StringField( label="screen18_q1", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen22_q2 = models.StringField( label="screen18_q2", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen22_q3 = models.StringField( label="screen18_q3", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen23_q1 = models.StringField( label="screen18_q1", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen23_q2 = models.StringField( label="screen18_q2", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen23_q3 = models.StringField( label="screen18_q3", widget=widgets.RadioSelect, choices=[[1, "1"] , [2, "2"] , [3, "3"] , [4, "4"] , [5, "5"] , [6, "6"] , [7, "7"] , [8, "8"] , [9, "9"] , [10, "10"] ] ) screen24_q1 = models.StringField( blank=True ) screen24_q2_q1 = models.StringField( choices=[ [1, "1 year"], [2, "2 years"], [3, "3 years"], [4, "4 years"], [5, "5 years"], [6, "6 years"], [7, "7 years"], [8, "8 years"], [9, "9 years"], [10, "10 years"], [11, "11 years"], [12, "12 years"], [13, "13 years"], [14, "14 years"], [15, "15 years"], [16, "16 years"], [17, "17 years"], [18, "18 years"], [19, "19 years"], [20, "20 years"], [21, "21 years"], [22, "22 years"], [23, "23 years"], [24, "24 years"], [25, "25 years"], [26, "26 years"], [27, "27 years"], [28, "28 years"], [29, "29 years"], [30, "30 years"], [31, "31 years"], [32, "32 years"], [33, "33 years"], [34, "34 years"], [35, "35+ years"], ], blank=True ) screen24_q2_q2 = models.StringField( choices=[ [1, "1 year"], [2, "2 years"], [3, "3 years"], [4, "4 years"], [5, "5 years"], [6, "6 years"], [7, "7 years"], [8, "8 years"], [9, "9 years"], [10, "10 years"], [11, "11 years"], [12, "12 years"], [13, "13 years"], [14, "14 years"], [15, "15 years"], [16, "16 years"], [17, "17 years"], [18, "18 years"], [19, "19 years"], [20, "20 years"], [21, "21 years"], [22, "22 years"], [23, "23 years"], [24, "24 years"], [25, "25 years"], [26, "26 years"], [27, "27 years"], [28, "28 years"], [29, "29 years"], [30, "30 years"], [31, "31 years"], [32, "32 years"], [33, "33 years"], [34, "34 years"], [35, "35+ years"], ], blank=True ) screen24_q2_q3 = models.StringField( choices=[ [1, "1 year"], [2, "2 years"], [3, "3 years"], [4, "4 years"], [5, "5 years"], [6, "6 years"], [7, "7 years"], [8, "8 years"], [9, "9 years"], [10, "10 years"], [11, "11 years"], [12, "12 years"], [13, "13 years"], [14, "14 years"], [15, "15 years"], [16, "16 years"], [17, "17 years"], [18, "18 years"], [19, "19 years"], [20, "20 years"], [21, "21 years"], [22, "22 years"], [23, "23 years"], [24, "24 years"], [25, "25 years"], [26, "26 years"], [27, "27 years"], [28, "28 years"], [29, "29 years"], [30, "30 years"], [31, "31 years"], [32, "32 years"], [33, "33 years"], [34, "34 years"], [35, "35+ years"], ], blank=True ) screen24_q2_q4 = models.StringField( choices=[ [1, "1 year"], [2, "2 years"], [3, "3 years"], [4, "4 years"], [5, "5 years"], [6, "6 years"], [7, "7 years"], [8, "8 years"], [9, "9 years"], [10, "10 years"], [11, "11 years"], [12, "12 years"], [13, "13 years"], [14, "14 years"], [15, "15 years"], [16, "16 years"], [17, "17 years"], [18, "18 years"], [19, "19 years"], [20, "20 years"], [21, "21 years"], [22, "22 years"], [23, "23 years"], [24, "24 years"], [25, "25 years"], [26, "26 years"], [27, "27 years"], [28, "28 years"], [29, "29 years"], [30, "30 years"], [31, "31 years"], [32, "32 years"], [33, "33 years"], [34, "34 years"], [35, "35+ years"], ], blank=True ) screen24_q2_q5 = models.StringField( blank=True ) screen25_q1_q1 = models.StringField( choices=[ [1, "1"], [2, "2"], [3, "3"], [4, "4"], [5, "5"], [6, "6"], [7, "7"], [8, "8"], [9, "9"], [10, "10"], [11, "11"], [12, "12"], [13, "13"], [14, "14"], [15, "15"], [16, "16"], [17, "17"], [18, "18"], [19, "19"], [20, "20"], [21, "21"], [22, "22"], [23, "23"], [24, "24"], [25, "25+"], ], blank=True ) screen25_q1_q2 = models.StringField( choices=[ [1, "1"], [2, "2"], [3, "3"], [4, "4"], [5, "5"], [6, "6"], [7, "7"], [8, "8"], [9, "9"], [10, "10"], [11, "11"], [12, "12"], [13, "13"], [14, "14"], [15, "15"], [16, "16"], [17, "17"], [18, "18"], [19, "19"], [20, "20"], [21, "21"], [22, "22"], [23, "23"], [24, "24"], [25, "25+"], ], blank=True ) screen25_q1_q3 = models.StringField( choices=[ [1, "1"], [2, "2"], [3, "3"], [4, "4"], [5, "5"], [6, "6"], [7, "7"], [8, "8"], [9, "9"], [10, "10"], [11, "11"], [12, "12"], [13, "13"], [14, "14"], [15, "15"], [16, "16"], [17, "17"], [18, "18"], [19, "19"], [20, "20"], [21, "21"], [22, "22"], [23, "23"], [24, "24"], [25, "25+"], ], blank=True ) screen25_q1_q4 = models.StringField( choices=[ [1, "1"], [2, "2"], [3, "3"], [4, "4"], [5, "5"], [6, "6"], [7, "7"], [8, "8"], [9, "9"], [10, "10"], [11, "11"], [12, "12"], [13, "13"], [14, "14"], [15, "15"], [16, "16"], [17, "17"], [18, "18"], [19, "19"], [20, "20"], [21, "21"], [22, "22"], [23, "23"], [24, "24"], [25, "25+"], ], blank=True ) screen25_q1_q5 = models.StringField( choices=[ [1, "1"], [2, "2"], [3, "3"], [4, "4"], [5, "5"], [6, "6"], [7, "7"], [8, "8"], [9, "9"], [10, "10"], [11, "11"], [12, "12"], [13, "13"], [14, "14"], [15, "15"], [16, "16"], [17, "17"], [18, "18"], [19, "19"], [20, "20"], [21, "21"], [22, "22"], [23, "23"], [24, "24"], [25, "25+"], ], blank=True ) screen25_q1_q6 = models.StringField( blank=True ) screen25_q2_q1 = models.StringField( blank=True ) start_timestamp = models.StringField() screen1_time = models.StringField(blank=True) screen2_time = models.StringField(blank=True) screen3_time = models.StringField(blank=True) screen4_time = models.StringField(blank=True) screen5_time = models.StringField() screen6_time = models.StringField() screen7_time = models.StringField() screen8_time = models.StringField(blank=True) screen9_time = models.StringField(blank=True) screen10_time = models.StringField() screen11_time = models.StringField(blank=True) screen12_time = models.StringField(blank=True) screen13_time = models.StringField(blank=True) screen14_time = models.StringField() screen15_time = models.StringField() screen16_time = models.StringField() screen17_time = models.StringField() screen18_time = models.StringField() screen19_time = models.StringField() screen20_time = models.StringField() screen21_time = models.StringField() screen22_time = models.StringField() screen23_time = models.StringField() screen24_time = models.StringField() screen25_time = models.StringField() finish_time = models.StringField()