{% extends "global/Page.html" %}
{% load staticfiles otree %}
{% block app_styles %}
{% endblock %}
{% block content %}
{{experiment_name}} (Results) - This is round {{ round_num }}
| Round |
{% for g in group.in_all_rounds %}
{{ g.round_number }} |
{% endfor %}
|
| Your Contribution For Round |
{% for p in player.in_all_rounds %}
{{ p.contribution }} |
{% endfor %}
|
{% for o in player.get_others_in_group %}
| Player {{ o.id_in_group }} |
{% for p in o.in_all_rounds %}
{% if p.contribution %}
{{ p.contribution }}
{% endif %}
|
{% endfor %}
|
{% endfor %}
| Total Contribution |
{% for g in group.in_all_rounds %}
{{ g.total_contribution }} |
{% endfor %}
|
{#
Earnings history including punishment and reward
#}
Earnings history
| Your Earnings For Round |
{% for p in player.in_all_rounds %}
{{ p.individual_share_after_PR }} |
{% endfor %}
|
{% for o in player.get_others_in_group %}
| Player {{ o.id_in_group }} |
{% for p in o.in_all_rounds %}
{{ p.individual_share_after_PR }}
|
{% endfor %}
|
{% endfor %}
| Group Total Earnings |
{% for g in group.in_all_rounds %}
{{ g.total_payoff }} |
{% endfor %}
|
| Your Total Earnings For Round |
{% for p in player.in_all_rounds %}
{{ p.payoff }} |
{% endfor %}
|
{% for o in player.get_others_in_group %}
| Player {{ o.id_in_group }}'s Total Earning For Round |
{% for p in o.in_all_rounds %}
{{ p.payoff }}
|
{% endfor %}
|
{% endfor %}
{#
Punishment/Reward from others to you
#}
{##}
{#
#}
{##}
{# #}
{# | You | #}
{# {% for p in player.in_all_rounds %}#}
{# #}
{# {% 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 %}#}
{# | #}
{# {% endfor %}#}
{# | #}
{#
#}
{##}
{# {% for o in player.get_others_in_group %}#}
{# #}
{# | Player {{ o.id_in_group }} | #}
{# {% for p in o.in_all_rounds %}#}
{# #}
{# {% 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 %}#}
{# | #}
{# {% endfor %}#}
{# | #}
{#
#}
{# {% endfor %}#}
{#
#}
{##}
{#
You have Punished/Rewarded
#}
{##}
{#
#}
{##}
{# #}
{# | You | #}
{# {% for p in player.in_all_rounds %}#}
{# #}
{# {% 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 %}#}
{# | #}
{# {% endfor %}#}
{# | #}
{#
#}
{##}
{# {% for o in player.get_others_in_group %}#}
{# #}
{# | Player {{ o.id_in_group }} | #}
{# {% for p in player.in_all_rounds %}#}
{# #}
{# {% 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 %}#}
{# | #}
{# {% endfor %}#}
{# | #}
{#
#}
{# {% endfor %}#}
{#
#}
{% next_button %}
{% endblock %}