Hi everyone,
I have 4 teams play a public goods game together. And each team has three players. The team decision is using a majority rule. If at least two players within a team agree, then the decision is made.
I come across an issue.
So I set player_per_group = 3;
I need a wait page when all teams finish all their contribution decisions, they will advance to the results page. But each team will likely take different number of rounds to finish all their decisions.
This causes some teams to move on while other teams stuck on the waiting page.
For example. Team 3 and 4 take 4 rounds to finish their decisions whereas team 1 and team 2 take 5 rounds. So team 3 and 4 move on to the result page after 4 rounds whereas team 1 and team 2 stuck on the waiting page.
So I have on the “Page.py”
class ResultsWaitFinal(WaitPage):
wait_for_all_groups = True
after_all_players_arrive = 'set_team_payoff'
And in the “Models.py”
class Subsession(BaseSubsession):
I think the issues may lie on that each round has a subsession. So after_all_players_arrive = ‘set_team_payoof’ will invoke if everyone is in the same round
Can anyone shed lights on how to solve the issue?
Best.
Charlie