from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, ) author = 'Magnus Strobel' doc = """ Evaluation sheet """ def create_choice_question(label, choices=5): return models.IntegerField( choices=[ [i, ""] for i in range(1, choices+1) ], label=label, widget=widgets.RadioSelect, ) class Constants(BaseConstants): name_in_url = 'evaluation' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): # Section 1 q_111 = create_choice_question("Nationwide scope of recall.") q_112 = create_choice_question("Number of the implicated products recalled.") q_113 = create_choice_question("Number of confirmed illnesses.") q_114 = create_choice_question("Known deaths") q_121 = create_choice_question("Nationwide scope of recall.") q_122 = create_choice_question("Number of the implicated products recalled.") q_123 = create_choice_question("Number of confirmed illnesses.") q_124 = create_choice_question("Known deaths") q_125 = create_choice_question("RTE meat products safe if cooked above 70 degrees Celsius.") q_126 = create_choice_question("Number of reported case are well within the expected range") q_127 = create_choice_question("Listeriosis is very rare.") q_128 = create_choice_question("Food safety regulations keeps L. monocytogenes at less than 100 CFU/g.") q_129 = create_choice_question("No traces of Listeria.") q_131 = create_choice_question("Global number of listeria outbreaks.") q_132 = create_choice_question("Rate of listeria outbreak events involving more than one country.") q_141 = create_choice_question("The probability of L. monocytogenes in beef products relative to poultry products.") q_151 = create_choice_question("Western Cape reported cases and deaths.") q_152 = create_choice_question("Majority of cases origination.") # Section 2 q_211 = create_choice_question("Very worried about the food safety of livestock.", 7) q_212 = create_choice_question("Very worried about the food safety of ready to eat (RTE) meat products.", 7) q_213 = create_choice_question("Not buying any RTE meat products.", 7) q_214 = create_choice_question("Trying to avoid eating RTE meat products.", 7) q_215 = create_choice_question("Not buying any meat whether processed or not.", 7) q_216 = create_choice_question("Not ordering dishes with RTE meat products in restaurants.", 7) q_217 = create_choice_question("I don't try food again for a long time after a recall.", 7) q_218 = create_choice_question("Other consumers will be slow to buy RTE meat products again.", 7) q_219 = create_choice_question("The food industry needs more safety regulations.", 7) q_221 = create_choice_question("The department of health does a great job keeping the food supply safe.", 7) q_222 = create_choice_question("The department of agriculture does a great job keeping the food supply safe.", 7) q_223 = create_choice_question("The meat industry cares about consumers.", 7) q_224 = create_choice_question("Farmers do a great job keeping the food supply safe.", 7) q_225 = create_choice_question("Food companies don’t care enough about food safety.", 7) q_226 = create_choice_question("The South African food supply chain is the safest in the Africa.", 7) q_227 = create_choice_question("The South African food supply chain is the safest in the world.", 7) q_228 = create_choice_question("Meat producers treat livestock well.", 7) q_229 = create_choice_question("Wholesalers and retailers do a great job removing recalled foods.", 7)