from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) author = 'Daniyal K. Chawla' doc = """ Grading Project for MTurk """ class Constants(BaseConstants): name_in_url = 'grading_task_end' players_per_group = None completion_code = "COMPLETE123" num_rounds = 1 import random num1 = random.randint(1, 2) flag1 = (num1 == 1) PerScreenPenalty = 0.5 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): def CalculateAmountPM1(self): filename = "mistakes" + str(self.id_in_group) + ".txt" misses = open(filename, "r") filename = "corrects" + str(self.id_in_group) + ".txt" corrects = open(filename, "r") misses = misses.read() corrects = corrects.read() misses = misses.split(",") del misses[-1] corrects = corrects.split(",") del corrects[-1] misNum = 0 for i in misses: i = int(i) misNum += i corNum = 0 for i in corrects: i = int(i) corNum += i corAm = corNum * 0.0025 # piece rate misAm = misNum * 0.01 # penalty rate earnedAmount = corAm - misAm return earnedAmount def CalculateAmountPM2(self): filename = "mistakes" + str(self.id_in_group) + ".txt" misses = open(filename, "r") filename = "corrects" + str(self.id_in_group) + ".txt" corrects = open(filename, "r") misses = misses.read() corrects = corrects.read() misses = misses.split(",") del misses[-1] corrects = corrects.split(",") del corrects[-1] misNum = 0 for i in misses: i = int(i) misNum += i corNum = 0 for i in corrects: i = int(i) corNum += i corAm = corNum * 0.005 # piece rate misAm = misNum * 0.26 # penalty rate earnedAmount = corAm - misAm return earnedAmount yaxis1 = models.FloatField() yaxis2 = models.FloatField() yaxis3 = models.FloatField() yaxis4 = models.FloatField() yaxisFull = models.StringField() yaxisAltFull = models.StringField() yaxisAlternative1 = models.FloatField() yaxisAlternative2 = models.FloatField() yaxisAlternative3 = models.FloatField() yaxisAlternative4 = models.FloatField() showBonusScreen = models.IntegerField(initial=0) scheme2IfBelow8 = models.FloatField() paymentMethod1 = models.FloatField(initial=0) paymentMethod2 = models.FloatField(initial=0) paymentMethodChosen = models.StringField() whichVersionShown = models.IntegerField() earam = models.FloatField(initial=0) postBeliefFlag = models.IntegerField() pc1 = models.StringField( choices=[['Scheme 1', 'Scheme 1 (piece rate: $0.0025, penalty rate: $0.01)'], ['Scheme 2', 'Scheme 2 (piece rate: $0.005, penalty rate: $0.26)']], label="Please select a payment scheme", widget=widgets.RadioSelect, blank=False ) pc2 = models.StringField( choices=[['Scheme 1', 'Scheme 1 (piece rate: $0.005, penalty rate: $0.26)'], ['Scheme 2', 'Scheme 2 (piece rate: $0.0025, penalty rate: $0.01)']], label="Please select a payment scheme", widget=widgets.RadioSelect, blank=False ) postbeliefp1q1 = models.FloatField( label="The first 15 minutes [minutes 0-15]", doc="""label for question 1a""", blank=False, min=0 ) postbeliefp1q2 = models.FloatField( label="The second 15 minutes [minutes 15-30]", doc="""label for question 1b""", blank=False, min=0 ) postbeliefp1q3 = models.FloatField( label="The third 15 minutes [minutes 30-45]", doc="""label for question 1c""", blank=False, min=0 ) postbeliefp1q4 = models.FloatField( label="The last 15 minutes [minutes 45-60]", doc="""label for question 1d""", blank=False, min=0 ) postbeliefp1q5 = models.FloatField( label="The first 15 minutes [minutes 0-15]", doc="""label for question 1a""", blank=False, min=0, max=100, ) postbeliefp1q6 = models.FloatField( label="The second 15 minutes [minutes 15-30]", doc="""label for question 1b""", blank=False, min=0, max=100, ) postbeliefp1q7 = models.FloatField( label="The third 15 minutes [minutes 30-45]", doc="""label for question 1c""", blank=False, min=0, max=100, ) postbeliefp1q8 = models.FloatField( label="The last 15 minutes [minutes 45-60]", doc="""label for question 1d""", blank=False, min=0, max=100, ) ActualPerformance1 = models.IntegerField() ActualPerformance2 = models.IntegerField() ActualPerformance3 = models.IntegerField() ActualPerformance4 = models.IntegerField() ActualPerformance5 = models.FloatField() ActualPerformance6 = models.FloatField() ActualPerformance7 = models.FloatField() ActualPerformance8 = models.FloatField() postbeliefp2q1 = models.FloatField( label="The first 15 minutes [minutes 0-15]", doc="""label for question 1a""", blank=False, min=0 ) postbeliefp2q2 = models.FloatField( label="The second 15 minutes [minutes 15-30]", doc="""label for question 1b""", blank=False, min=0 ) postbeliefp2q3 = models.FloatField( label="The third 15 minutes [minutes 30-45]", doc="""label for question 1c""", blank=False, min=0 ) postbeliefp2q4 = models.FloatField( label="The last 15 minutes [minutes 45-60]", doc="""label for question 1d""", blank=False, min=0 ) postbeliefp2q5 = models.FloatField( label="The first 15 minutes [minutes 0-15]", doc="""label for question 1a""", blank=False, min=0 ) postbeliefp2q6 = models.FloatField( label="The second 15 minutes [minutes 15-30]", doc="""label for question 1b""", blank=False, min=0 ) postbeliefp2q7 = models.FloatField( label="The third 15 minutes [minutes 30-45]", doc="""label for question 1c""", blank=False, min=0 ) postbeliefp2q8 = models.FloatField( label="The last 15 minutes [minutes 45-60]", doc="""label for question 1d""", blank=False, min=0 ) postbeliefp2q9 = models.FloatField( label="The first 15 minutes [minutes 0-15]", doc="""label for question 1a""", blank=False, min=0, max=100, ) postbeliefp2q10 = models.FloatField( label="The second 15 minutes [minutes 15-30]", doc="""label for question 1b""", blank=False, min=0, max=100, ) postbeliefp2q11 = models.FloatField( label="The third 15 minutes [minutes 30-45]", doc="""label for question 1c""", blank=False, min=0, max=100, ) postbeliefp2q12 = models.FloatField( label="The last 15 minutes [minutes 45-60]", doc="""label for question 1d""", blank=False, min=0, max=100, ) postbeliefp2q13 = models.FloatField( label="The first 15 minutes [minutes 0-15]", doc="""label for question 1a""", blank=False, min=0, max=100, ) postbeliefp2q14 = models.FloatField( label="The second 15 minutes [minutes 15-30]", doc="""label for question 1b""", blank=False, min=0, max=100, ) postbeliefp2q15 = models.FloatField( label="The third 15 minutes [minutes 30-45]", doc="""label for question 1c""", blank=False, min=0, max=100, ) postbeliefp2q16 = models.FloatField( label="The last 15 minutes [minutes 45-60]", doc="""label for question 1d""", blank=False, min=0, max=100, ) oq1 = models.StringField( choices=[['5 to 6.29 AM', '5 to 6.29 AM'], ['6.30 to 7.44 AM', '6.30 to 7.44 AM'], ['7.45 to 9.44 AM', '7.45 to 9.44 AM'], ['9.45 to 10.59 AM', '9.45 to 10.59 AM'], ['11 to 11.59 PM', '11 to 11.59 PM'], ['12 PM to 5 AM', '12 PM to 5 AM']], label='1. Considering only your own "feeling beat" rhythm, at what time would you get up if you were entirely free to plan your day?', widget=widgets.RadioSelect, blank=True ) oq2 = models.StringField( choices=[['Very tired', 'Very tired'], ['Fairly tired', 'Fairly tired'], ['Fairly refreshed', 'Fairly refreshed'], ['Very refreshed', 'Very refreshed']], label='2. During the first half-hour after having woken in the morning, how tired do you feel?', widget=widgets.RadioSelect, blank=True ) oq3 = models.StringField( choices=[['8 to 8.59 PM', '8 to 8.59 PM'], ['9 to 10.14 PM', '9 to 10.14 PM'], ['10.15 PM to 12.44 AM', '10.15 PM to 12.44 AM'], ['12.45 to 1.59 AM', '12.45 to 1.59 AM'], ['2 to 3 AM', '2 to 3 AM'], ['3 AM to 8 PM', '3 AM to 8 PM']], label='3. At what time in the evening do you feel tired and as a result in need of sleep?', widget=widgets.RadioSelect, blank=True ) oq4 = models.StringField( choices=[['5 to 7.59 AM', '5 to 7.59 AM'], ['8 to 9.59 AM', '8 to 9.59 AM'], ['10 AM to 4.59 PM', '10 AM to 4.59 PM'], ['5 to 9.59 PM', '5 to 9.59 PM'], ['10 PM to 4.59 AM', '10 PM to 4.59 AM']], label='4. At what time of the day do you think that you reach your "feeling best" peak?', widget=widgets.RadioSelect, blank=True ) oq5 = models.StringField( choices=[['Definitely a morning type', 'Definitely a morning type'], ['Rather more a morning than an evening type', 'Rather more a morning than an evening type'], ['Rather more an evening than a morning type', 'Rather more an evening than a morning type'], ['Definitely an evening type', 'Definitely an evening type']], label='5. One hears about morning and evening types of people. Which ONE of these types do you consider yourself to be?', widget=widgets.RadioSelect, blank=True ) oq6 = models.StringField( choices=[['Very much so', 'Very much so'], ['Somewhat', 'Somewhat'], ['Not really', 'Not really']], label='6. In general, do you think you have a good sense about how your work performance is evolving throughout the day?', widget=widgets.RadioSelect, blank=True ) oq7 = models.StringField( choices=[['Very much so', 'Very much so'], ['Somewhat', 'Somewhat'], ['Not really', 'Not really']], label='7. In general, are you tweaking your to-dos based on your peak productivity times (i.e. scheduling the most demanding tasks for when you are at your best)?', widget=widgets.RadioSelect, blank=True ) oq8 = models.StringField( choices=[['Very much so', 'Very much so'], ['Somewhat', 'Somewhat'], ['Not really', 'Not really']], label='8. In general, do you think you have a good sense about when you need to take a break or stop working?', widget=widgets.RadioSelect, blank=True ) oq9 = models.StringField( choices=[['Extremely tired', 'Extremely tired'], ['Moderately tired', 'Moderately tired'], ['Slightly tired', 'Slightly tired'], ['Slightly refreshed', 'Slightly refreshed'], ['Moderately refreshed', 'Moderately refreshed'], ['Extremely refreshed', 'Extremely refreshed']], label='9. How tired did you feel BEFORE you started working on this data entry task?', widget=widgets.RadioSelect, blank=True ) oq10 = models.StringField( choices=[['Extremely tired', 'Extremely tired'], ['Moderately tired', 'Moderately tired'], ['Slightly tired', 'Slightly tired'], ['Slightly refreshed', 'Slightly refreshed'], ['Moderately refreshed', 'Moderately refreshed'], ['Extremely refreshed', 'Extremely refreshed']], label='10. How tired did you feel AFTER you finished working on this data entry task?', widget=widgets.RadioSelect, blank=True ) oq11 = models.StringField( choices=[['Not annoying at all', 'Not annoying at all'], ['Slightly annoying', 'Slightly annoying'], ['Moderately annoying', 'Moderately annoying'], ['Extremely annoying', 'Extremely annoying']], label='11. How annoying would you rate this data entry task?', widget=widgets.RadioSelect, blank=True ) oq12 = models.StringField( choices=[['Annoyed early on (first 15 min) and then equally annoyed from thereon', 'Annoyed early on (first 15 min) and then equally annoyed from thereon'], ['Annoyed early on (first 15 min) but less and less annoyed from thereon', 'Annoyed early on (first 15 min) but less and less annoyed from thereon'], ['Annoyed early on (first 15 min) and increasingly annoyed from thereon', 'Annoyed early on (first 15 min) and increasingly annoyed from thereon'], ['Annoyed halfway through (around 30 min) and then equally annoyed from thereon', 'Annoyed halfway through (around 30 min) and then equally annoyed from thereon'], ['Annoyed halfway through (around 30 min) but less annoyed over time', 'Annoyed halfway through (around 30 min) but less annoyed over time'], ['Annoyed halfway through (around 30 min) and increasingly annoyed from thereon', 'Annoyed halfway through (around 30 min) and increasingly annoyed from thereon'], ['Annoyed late on (after 45 min) and then equally annoyed from thereon', 'Annoyed late on (after 45 min) and then equally annoyed from thereon'], ['Annoyed late on (after 45 min) but less and less annoyed from thereon', 'Annoyed late on (after 45 min) but less and less annoyed from thereon'], ['Annoyed late on (after 45 min) and increasingly annoyed from thereon', 'Annoyed late on (after 45 min) and increasingly annoyed from thereon']], label='12. [If you selected slightly/moderately/extremely annoying in Q11] How would you describe your annoyance levels during this task?', widget=widgets.RadioSelect, blank=True ) oq13 = models.StringField( choices=[['Considerably faster', 'Considerably faster'], ['Slightly faster', 'Slightly faster'], ['No change', 'No change'], ['Slightly slower', 'Slightly slower'], ['Considerably slower', 'Considerably slower']], label='13. Do you think you got faster or slower at transcribing images as time progressed?', widget=widgets.RadioSelect, blank=True ) oq14 = models.StringField( choices=[['Considerably more mistakes', 'Considerably more mistakes'], ['Slightly more mistakes', 'Slightly more mistakes'], ['No change', 'No change'], ['Slightly fewer mistakes', 'Slightly fewer mistakes'], ['Considerably fewer mistakes', 'Considerably fewer mistakes']], label='14. Do you think you made more or fewer mistakes as time progressed?', widget=widgets.RadioSelect, blank=True ) oq15 = models.StringField( choices=[['Daily', 'Daily'], ['At least once a week', 'At least once a week'], ['At least once a month', 'At least once a month'], ['At least once every few months', 'At least once every few months'], ['At least once a year', 'At least once a year'], ['Every few years', 'Every few years'], ['Never (this is the first time)', 'Never (this is the first time)']], label='15. How often do you work on data entry tasks?', widget=widgets.RadioSelect, blank=True ) oq16a = models.StringField( choices=[['Yes', 'Yes'], ['No', 'No']], label='16 a) Did you try using OCR (optical character recognition) software during the data entry work on this HIT?', widget=widgets.RadioSelect, blank=True ) oq16b = models.StringField( choices=[['Yes', 'Yes'],['Partially', 'Partially'], ['No', 'No']], label='16 b) If yes (you tried using OCR), did the OCR software work?', widget=widgets.RadioSelect, blank=True ) oq17 = models.StringField( choices=[['Yes, for both letters and numbers', 'Yes, for both letters and numbers'], ['Yes, but only for letters', 'Yes, but only for letters'], ['Yes, but only for numbers', 'Yes, but only for numbers'], ['No', 'No']], label='17. Do you type without looking at the keyboard?', widget=widgets.RadioSelect, blank=True ) oq18 = models.StringField( choices=[['Yes', 'Yes'], ['No', 'No']], label='18. Do you type with 10 fingers?', widget=widgets.RadioSelect, blank=True ) oq19 = models.StringField( choices=[['QWERTY (standard in the U.S.)', 'QWERTY (standard in the U.S.)'], ['AZERTY (used in French speaking countries)', 'AZERTY (used in French speaking countries)'], ['QWERTZ (mostly used in Central Europe)', 'QWERTZ (mostly used in Central Europe)'], ['Dvorak', 'Dvorak'], ['Colemak', 'Colemak'], ['Maltron', 'Maltron'], ['JCUKEN (mostly used in Russia)', 'JCUKEN (mostly used in Russia)'], ['Other', 'Other']], label='19. What is the layout of your keyboard?', widget=widgets.RadioSelect, blank=True ) oq19b = models.StringField( label="If you entered 'Other', please specify", blank=True ) oq20 = models.StringField( choices=[['Yes', 'Yes'], ['No', 'No']], label='20. Does your keyboard have a number block?', widget=widgets.RadioSelect, blank=True ) oq21 = models.StringField( choices=[['Better than normal', 'Better than normal'], ['Normal', 'Normal'], ['Worse than normal', 'Worse than normal']], label='21. How would you rate your eyesight (after using eyesight corrections such as glasses and contact lenses) when it comes to looking at your computer screen?', widget=widgets.RadioSelect, blank=True ) oq22 = models.StringField( choices=[['Female', 'Female'], ['Male', 'Male'], ['Non-binary', 'Non-binary'], ['Prefer not to say', 'Prefer not to say']], label='22. With which gender identity do you most identify?', widget=widgets.RadioSelect, blank=True ) oq23 = models.StringField( choices=[['18-24', '18-24'], ['25-34', '25-34'], ['35-44', '35-44'], ['45-54', '45-54'], ['55-64', '55-64'], ['65 or older', '65 or older']], label='23. How old are you?', widget=widgets.RadioSelect, blank=True ) oq24 = models.StringField( choices=[['Less than high school', 'Less than high school'], ['High school', 'High school'], ['Some college', 'Some college'], ['Associate degree', 'Associate degree'], ['Professional degree', 'Professional degree'], ["Bachelor's degree", "Bachelor's degree"], ["Advanced degree (ex. Master’s, doctorate)", "Advanced degree (ex. Master’s, doctorate)"]], label='24. What is the highest degree or level of school that you have completed?', widget=widgets.RadioSelect, blank=True ) oq24after_1 = models.StringField( choices=[['Up to 10 hours/week', 'Up to 10 hours/week'], ['Up to 20 hours/week', 'Up to 20 hours/week'], ['Up to 30 hours/week', 'Up to 30 hours/week'], ['Up to 40 hours/week', 'Up to 40 hours/week'], ['Up to 50 hours/week', 'Up to 50 hours/week'], ["Up to 60 hours/week", "Up to 60 hours/week"], ["More than 60 hours/week", "More than 60 hours/week"]], label='25. How many hours a week do you typically work on MTurk?', widget=widgets.RadioSelect, blank=True ) oq24after_2 = models.StringField( choices=[['United States', 'United States'],['India', 'India'],['Afghanistan','Afghanistan'],['Åland Islands','Åland Islands'],['Albania','Albania'],['Algeria','Algeria'],['American Samoa','American Samoa'],['Andorra','Andorra'],['Angola','Angola'],['Anguilla','Anguilla'],['Antarctica','Antarctica'],['Antigua and Barbuda','Antigua and Barbuda'],['Argentina','Argentina'],['Armenia','Armenia'],['Aruba','Aruba'],['Australia','Australia'],['Austria','Austria'],['Azerbaijan','Azerbaijan'],['Bahamas','Bahamas'],['Bahrain','Bahrain'],['Bangladesh','Bangladesh'],['Barbados','Barbados'],['Belarus','Belarus'],['Belgium','Belgium'],['Belize','Belize'],['Benin','Benin'],['Bermuda','Bermuda'],['Bhutan','Bhutan'],['Bolivia, Plurinational State of','Bolivia, Plurinational State of'],['Bonaire, Sint Eustatius and Saba','Bonaire, Sint Eustatius and Saba'],['Bosnia and Herzegovina','Bosnia and Herzegovina'],['Botswana','Botswana'],['Bouvet Island','Bouvet Island'],['Brazil','Brazil'],['British Indian Ocean Territory','British Indian Ocean Territory'],['Brunei Darussalam','Brunei Darussalam'],['Bulgaria','Bulgaria'],['Burkina Faso','Burkina Faso'],['Burundi','Burundi'],['Cambodia','Cambodia'],['Cameroon','Cameroon'],['Canada','Canada'],['Cape Verde','Cape Verde'],['Cayman Islands','Cayman Islands'],['Central African Republic','Central African Republic'],['Chad','Chad'],['Chile','Chile'],['China','China'],['Christmas Island','Christmas Island'],['Cocos (Keeling) Islands','Cocos (Keeling) Islands'],['Colombia','Colombia'],['Comoros','Comoros'],['Congo','Congo'],['Congo, the Democratic Republic of the','Congo, the Democratic Republic of the'],['Cook Islands','Cook Islands'],['Costa Rica','Costa Rica'],['Côte dIvoire','Côte dIvoire'],['Croatia','Croatia'],['Cuba','Cuba'],['Curaçao','Curaçao'],['Cyprus','Cyprus'],['Czech Republic','Czech Republic'],['Denmark','Denmark'],['Djibouti','Djibouti'],['Dominica','Dominica'],['Dominican Republic','Dominican Republic'],['Ecuador','Ecuador'],['Egypt','Egypt'],['El Salvador','El Salvador'],['Equatorial Guinea','Equatorial Guinea'],['Eritrea','Eritrea'],['Estonia','Estonia'],['Ethiopia','Ethiopia'],['Falkland Islands (Malvinas)','Falkland Islands (Malvinas)'],['Faroe Islands','Faroe Islands'],['Fiji','Fiji'],['Finland','Finland'],['France','France'],['French Guiana','French Guiana'],['French Polynesia','French Polynesia'],['French Southern Territories','French Southern Territories'],['Gabon','Gabon'],['Gambia','Gambia'],['Georgia','Georgia'],['Germany','Germany'],['Ghana','Ghana'],['Gibraltar','Gibraltar'],['Greece','Greece'],['Greenland','Greenland'],['Grenada','Grenada'],['Guadeloupe','Guadeloupe'],['Guam','Guam'],['Guatemala','Guatemala'],['Guernsey','Guernsey'],['Guinea','Guinea'],['Guinea-Bissau','Guinea-Bissau'],['Guyana','Guyana'],['Haiti','Haiti'],['Heard Island and McDonald Islands','Heard Island and McDonald Islands'],['Holy See (Vatican City State)','Holy See (Vatican City State)'],['Honduras','Honduras'],['Hong Kong','Hong Kong'],['Hungary','Hungary'],['Iceland','Iceland'],['Indonesia','Indonesia'],['Iran, Islamic Republic of','Iran, Islamic Republic of'],['Iraq','Iraq'],['Ireland','Ireland'],['Isle of Man','Isle of Man'],['Israel','Israel'],['Italy','Italy'],['Jamaica','Jamaica'],['Japan','Japan'],['Jersey','Jersey'],['Jordan','Jordan'],['Kazakhstan','Kazakhstan'],['Kenya','Kenya'],['Kiribati','Kiribati'],['Korea, Democratic Peoples Republic of','Korea, Democratic Peoples Republic of'],['Korea, Republic of','Korea, Republic of'],['Kuwait','Kuwait'],['Kyrgyzstan','Kyrgyzstan'],['Lao Peoples Democratic Republic','Lao Peoples Democratic Republic'],['Latvia','Latvia'],['Lebanon','Lebanon'],['Lesotho','Lesotho'],['Liberia','Liberia'],['Libya','Libya'],['Liechtenstein','Liechtenstein'],['Lithuania','Lithuania'],['Luxembourg','Luxembourg'],['Macao','Macao'],['Macedonia, the Former Yugoslav Republic of','Macedonia, the Former Yugoslav Republic of'],['Madagascar','Madagascar'],['Malawi','Malawi'],['Malaysia','Malaysia'],['Maldives','Maldives'],['Mali','Mali'],['Malta','Malta'],['Marshall Islands','Marshall Islands'],['Martinique','Martinique'],['Mauritania','Mauritania'],['Mauritius','Mauritius'],['Mayotte','Mayotte'],['Mexico','Mexico'],['Micronesia, Federated States of','Micronesia, Federated States of'],['Moldova, Republic of','Moldova, Republic of'],['Monaco','Monaco'],['Mongolia','Mongolia'],['Montenegro','Montenegro'],['Montserrat','Montserrat'],['Morocco','Morocco'],['Mozambique','Mozambique'],['Myanmar','Myanmar'],['Namibia','Namibia'],['Nauru','Nauru'],['Nepal','Nepal'],['Netherlands','Netherlands'],['New Caledonia','New Caledonia'],['New Zealand','New Zealand'],['Nicaragua','Nicaragua'],['Niger','Niger'],['Nigeria','Nigeria'],['Niue','Niue'],['Norfolk Island','Norfolk Island'],['Northern Mariana Islands','Northern Mariana Islands'],['Norway','Norway'],['Oman','Oman'],['Pakistan','Pakistan'],['Palau','Palau'],['Palestine, State of','Palestine, State of'],['Panama','Panama'],['Papua New Guinea','Papua New Guinea'],['Paraguay','Paraguay'],['Peru','Peru'],['Philippines','Philippines'],['Pitcairn','Pitcairn'],['Poland','Poland'],['Portugal','Portugal'],['Puerto Rico','Puerto Rico'],['Qatar','Qatar'],['Réunion','Réunion'],['Romania','Romania'],['Russian Federation','Russian Federation'],['Rwanda','Rwanda'],['Saint Barthélemy','Saint Barthélemy'],['Saint Helena, Ascension and Tristan da Cunha','Saint Helena, Ascension and Tristan da Cunha'],['Saint Kitts and Nevis','Saint Kitts and Nevis'],['Saint Lucia','Saint Lucia'],['Saint Martin (French part)','Saint Martin (French part)'],['Saint Pierre and Miquelon','Saint Pierre and Miquelon'],['Saint Vincent and the Grenadines','Saint Vincent and the Grenadines'],['Samoa','Samoa'],['San Marino','San Marino'],['Sao Tome and Principe','Sao Tome and Principe'],['Saudi Arabia','Saudi Arabia'],['Senegal','Senegal'],['Serbia','Serbia'],['Seychelles','Seychelles'],['Sierra Leone','Sierra Leone'],['Singapore','Singapore'],['Sint Maarten (Dutch part)','Sint Maarten (Dutch part)'],['Slovakia','Slovakia'],['Slovenia','Slovenia'],['Solomon Islands','Solomon Islands'],['Somalia','Somalia'],['South Africa','South Africa'],['South Georgia and the South Sandwich Islands','South Georgia and the South Sandwich Islands'],['South Sudan','South Sudan'],['Spain','Spain'],['Sri Lanka','Sri Lanka'],['Sudan','Sudan'],['Suriname','Suriname'],['Svalbard and Jan Mayen','Svalbard and Jan Mayen'],['Swaziland','Swaziland'],['Sweden','Sweden'],['Switzerland','Switzerland'],['Syrian Arab Republic','Syrian Arab Republic'],['Taiwan, Province of China','Taiwan, Province of China'],['Tajikistan','Tajikistan'],['Tanzania, United Republic of','Tanzania, United Republic of'],['Thailand','Thailand'],['Timor-Leste','Timor-Leste'],['Togo','Togo'],['Tokelau','Tokelau'],['Tonga','Tonga'],['Trinidad and Tobago','Trinidad and Tobago'],['Tunisia','Tunisia'],['Turkey','Turkey'],['Turkmenistan','Turkmenistan'],['Turks and Caicos Islands','Turks and Caicos Islands'],['Tuvalu','Tuvalu'],['Uganda','Uganda'],['Ukraine','Ukraine'],['United Arab Emirates','United Arab Emirates'],['United Kingdom','United Kingdom'],['United States Minor Outlying Islands','United States Minor Outlying Islands'],['Uruguay','Uruguay'],['Uzbekistan','Uzbekistan'],['Vanuatu','Vanuatu'],['Venezuela, Bolivarian Republic of','Venezuela, Bolivarian Republic of'],['Viet Nam','Viet Nam'],['Virgin Islands, British','Virgin Islands, British'],['Virgin Islands, U.S.','Virgin Islands, U.S.'],['Wallis and Futuna','Wallis and Futuna'],['Western Sahara','Western Sahara'],['Yemen','Yemen'],['Zambia','Zambia'],['Zimbabwe','Zimbabwe']], label='26. From what country did you complete this HIT?', blank=True ) oq24after_3 = models.IntegerField( min=0, max=10, label='27. In general, how willing or unwilling you are to take risks?', blank=True ) oq25a = models.BooleanField(blank=True, label='a. Consume caffeine / theine / taurine (or similar)') oq25b = models.BooleanField(blank=True, label='b. Drink water frequently') oq25c = models.BooleanField(blank=True, label='c. Have a light lunch') oq25d = models.BooleanField(blank=True, label='d. Get up and move / engage in physical activity') oq25e = models.BooleanField(blank=True, label='e. Go outside') oq25f = models.BooleanField(blank=True, label='f. Open the window / ventilate frequently') oq25g = models.BooleanField(blank=True, label='g. Meditate') oq25h = models.BooleanField(blank=True, label='h. Take a nap') oq25i = models.BooleanField(blank=True, label='i. Listen to music') oq25j = models.BooleanField(blank=True, label='j. Talk to colleagues, friends, family,...') oq25k = models.BooleanField(blank=True, label='k. Chew gum') oq26 = models.BooleanField(blank=True, label='29. I completed the task in a noisy environment (without noise canceling devices)') oq27 = models.BooleanField(blank=True, label='30. I felt hungry while completing the task') oq28 = models.BooleanField(blank=True, label='31. I felt sick while completing the task') oq29 = models.BooleanField(blank=True, label='32. I felt worried while completing the task') oq30 = models.BooleanField(blank=True, label='33. I felt sad or depressed while completing the task') oq31 = models.BooleanField(blank=True, label='34. I felt happy while completing the task') oq32 = models.BooleanField(blank=True, label='35. I felt hot while completing the task') oq33 = models.BooleanField(blank=True, label='36. I felt cold while completing the task') oq34 = models.BooleanField(blank=True, label='37. I was able to complete the task uninterruptedly') completion_code = models.StringField() RespondedToOtherQuestions = models.BooleanField() timeOnPostBeliefs1 = models.FloatField(initial=0) timeOnPostBeliefs2 = models.FloatField(initial=0) timeOnSchemePage1 = models.FloatField(initial=0) timeOnSchemePage2 = models.FloatField(initial=0) timeOnOtherQuestions1 = models.FloatField(initial=0) timeOnOtherQuestions2 = models.FloatField(initial=0) earamIfNegative = models.FloatField() placeholder = models.FloatField()