from otree.api import * c = cu doc = '' class C(BaseConstants): NAME_IN_URL = 'Strategy' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): Strategy = models.LongStringField(label='1. Briefly describe your strategy during each supergame:') Recommendations = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='I believe that the algorithm was providing good recommendations.', widget=widgets.RadioSelectHorizontal) Performance = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5']], label='I believe that the algorithm could help me increase performance in this game', widget=widgets.RadioSelectHorizontal) Clarity = models.IntegerField(choices=[[1, '1'], [2, '2'], [3, '3'], [4, '4'], [5, '5'], [6, '6'], [7, '7']], label='', widget=widgets.RadioSelectHorizontal) class Game_questions(Page): form_model = 'player' form_fields = ['Strategy', 'Recommendations', 'Performance', 'Clarity'] page_sequence = [Game_questions]