{% extends "global/Page.html" %} {% load staticfiles otree %} {% block app_styles %} {% endblock %} {% block content %}

{{experiment_name}} (Results) - This is round {{ round_num }}

{% for g in group.in_all_rounds %} {% endfor %} {% for p in player.in_all_rounds %} {% endfor %} {% for o in player.get_others_in_group %} {% for p in o.in_all_rounds %} {% endfor %} {% endfor %} {% for g in group.in_all_rounds %} {% endfor %}
Round{{ g.round_number }}
Your Contribution For Round{{ p.contribution }}
Player {{ o.id_in_group }} {% if p.contribution %} {{ p.contribution }} {% endif %}
Total Contribution{{ g.total_contribution }}
{#
Earnings history including punishment and reward
#}
Earnings history
{% for p in player.in_all_rounds %} {% endfor %} {% for o in player.get_others_in_group %} {% for p in o.in_all_rounds %} {% endfor %} {% endfor %} {% for g in group.in_all_rounds %} {% endfor %} {% for p in player.in_all_rounds %} {% endfor %} {% for o in player.get_others_in_group %} {% for p in o.in_all_rounds %} {% endfor %} {% endfor %}
Your Earnings For Round{{ p.individual_share_after_PR }}
Player {{ o.id_in_group }} {{ p.individual_share_after_PR }}
Group Total Earnings{{ g.total_payoff }}
Your Total Earnings For Round{{ p.payoff }}
Player {{ o.id_in_group }}'s Total Earning For Round {{ p.payoff }}
{#
Punishment/Reward from others to you
#} {##} {# #} {##} {# #} {# #} {# {% for p in player.in_all_rounds %}#} {# #} {# {% endfor %}#} {# #} {# #} {##} {# {% for o in player.get_others_in_group %}#} {# #} {# #} {# {% for p in o.in_all_rounds %}#} {# #} {# {% endfor %}#} {# #} {# #} {# {% endfor %}#} {#
You#} {# {% if player.id_in_group == 1 %}#} {# {% if p.punish_1 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_1 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% elif player.id_in_group == 2 %}#} {# {% if p.punish_2 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_2 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% elif player.id_in_group == 3 %}#} {# {% if p.punish_3 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_3 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% elif player.id_in_group == 4 %}#} {# {% if p.punish_4 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_4 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% endif %}#} {#
Player {{ o.id_in_group }}#} {# {% if player.id_in_group == 1 %}#} {# {% if p.punish_1 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_1 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% elif player.id_in_group == 2 %}#} {# {% if p.punish_2 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_2 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% elif player.id_in_group == 3 %}#} {# {% if p.punish_3 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_3 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% elif player.id_in_group == 4 %}#} {# {% if p.punish_4 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_4 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% endif %}#} {#
#} {##} {#
You have Punished/Rewarded
#} {##} {# #} {##} {# #} {# #} {# {% for p in player.in_all_rounds %}#} {# #} {# {% endfor %}#} {# #} {# #} {##} {# {% for o in player.get_others_in_group %}#} {# #} {# #} {# {% for p in player.in_all_rounds %}#} {# #} {# {% endfor %}#} {# #} {# #} {# {% endfor %}#} {#
You#} {# {% if player.id_in_group == 1 %}#} {# {% if p.punish_1 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_1 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% elif player.id_in_group == 2 %}#} {# {% if p.punish_2 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_2 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% elif player.id_in_group == 3 %}#} {# {% if p.punish_3 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_3 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% elif player.id_in_group == 4 %}#} {# {% if p.punish_4 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_4 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% endif %}#} {#
Player {{ o.id_in_group }}#} {# {% if o.id_in_group == 1 %}#} {# {% if p.punish_1 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_1 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% elif o.id_in_group == 2 %}#} {# {% if p.punish_2 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_2 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% elif o.id_in_group == 3 %}#} {# {% if p.punish_3 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_3 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% elif o.id_in_group == 4 %}#} {# {% if p.punish_4 %}#} {# -{{ Constants.punishment_amount }}#} {# {% endif %}#} {# {% if p.reward_4 %}#} {# +{{ Constants.reward_amount }}#} {# {% endif %}#} {# {% endif %}#} {#
#}
{% next_button %}
{% endblock %}