class Constants(BaseConstants): # oTree Constants # -------------------------------------------- name_in_url = 'phase_three' players_per_group = None num_rounds = Experiment.phase_three_rounds() # Experiment Constants # -------------------------------------------- INSTRUCTIONS_ROUND = 1
def play_phase_three(browser): print('--Stage 3--') play_instructions(browser, 'three') for round_number in range(Experiment.phase_three_rounds()): play_phase_three_screen(browser, round_number)
def test_rounds_equals_signals_times_auctions(): experiment = Experiment() rounds = experiment.phase_three_rounds() assert rounds == len(experiment.phase_three.auction_signal_pairs)