{% extends "global/Page.html" %} {% load staticfiles otree_tags %} {% load staticfiles %} {% block title %} Results {% endblock %} {% block content %} {% for lvl in Constants.difficulty_levels %} {% if forloop.counter == player.min_group %} {% for row in Constants.payoffmatrix %} {% if forloop.counter == player.problem_difficulty %} {% else %} {% endif %} {% if forloop.first %} {% endif %} {% for item in row %} {% if forloop.counter == player.min_group %} {% if forloop.parentloop.counter == player.problem_difficulty %} {% else %} {% endif %} {% else %} {% endif %} {% endfor %} {% endfor %}
Minimum choice in group
{{lvl}} {% else %} {{lvl}} {% endif %} {% endfor %}
Own choice {{forloop.counter}} {{item}} {{item}} {{item}}
{% if is_control %}

Your level of effort shown in yellow was: {{player.problem_difficulty}}

The minimum effort of the group shown in red was: {{player.min_group}}

As shown in the payoff matrix above, you earned: {{player.payoff}}

{% endif %}

{% if not is_control %} {%if player.problem_difficulty == player.min_group%} {% else %} {% endif %} {% for a in agents %} {% if a.get_last_choice == player.min_group %} {% else %} {% endif %} {% endfor %}
Level of effort Payoff
{{player.problem_difficulty}} effort units {{player.payoff}}
{{player.problem_difficulty}} effort units {{player.payoff}}
{{a.get_last_choice}} effort units {{a.get_last_payoff}} points
{{a.get_last_choice}} effort units {{a.get_last_payoff}} points

{% if player.problem_difficulty == player.min_group %}

You chose the minimum effort, so you are highlighted in orange. Other players who chose the minimum effort are in red

{% else %}

You are highlighted in yellow, and the minimum effort is highlighted in red

{% endif %} {% endif %} You have earned {{cum_payoff}} so far, out of a maximum possible {{possible_payoff}} points.

{% formfield player.timeonpage_Results %}
{% endblock %}