{% extends "global/Page.html" %} {% load staticfiles otree_tags %} {% load staticfiles %} {% block title %} Results page 2 {% endblock %} {% block content %} {% if player.problem_difficulty > group.min_group %} {% if choose_lower > 0 %}

Here's what you would have gotten if you'd chosen a problem of difficulty {{choose_lower}}

{% for lvl in Constants.difficulty_levels %} {% if forloop.counter == group.min_group %} {% for row in Constants.payoffmatrix %} {% if forloop.counter == choose_lower %} {% else %} {% endif %} {% if forloop.first %} {% endif %} {% for item in row %} {% if forloop.counter == group.min_group %} {% if forloop.parentloop.counter == choose_lower %} {% elif 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}} {{item}}

Your actual score is the bold number outlined in a box

{% endif %} {% if choose_higher < 8 %}

Here's what you would have gotten if you'd chosen a problem of difficulty {{choose_higher}}

{% for lvl in Constants.difficulty_levels %} {% if forloop.counter == group.min_group %} {% for row in Constants.payoffmatrix %} {% if forloop.counter == choose_higher %} {% else %} {% endif %} {% if forloop.first %} {% endif %} {% for item in row %} {% if forloop.counter == group.min_group %} {% if forloop.parentloop.counter == choose_higher %} {% elif 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}} {{item}}

Your actual score is the bold number outlined in a box

{% endif %} {% if min_higher < 8 %}

Here's what you would have gotten if the minimum effort had been {{min_higher}}

{% for lvl in Constants.difficulty_levels %} {% if forloop.counter == min_higher %} {% for row in Constants.payoffmatrix %} {% if forloop.counter == player.problem_difficulty %} {% else %} {% endif %} {% if forloop.first %} {% endif %} {% for item in row %} {% if forloop.counter == min_higher %} {% if forloop.parentloop.counter == player.problem_difficulty %} {% else %} {% endif %} {% elif forloop.counter == group.min_group and forloop.parentloop.counter == player.problem_difficulty %} {% else %} {% endif %} {% endfor %} {% endfor %}
Minimum choice in group
{{lvl}} {% else %} {{lvl}} {% endif %} {% endfor %}
Own choice {{forloop.counter}} {{item}} {{item}} {{item}} {{item}}

Your actual score is the bold number outlined in a box

{% endif %} {% else %} {% if choose_lower > 0 %}

Here's what you would have gotten if you'd chosen a problem of difficulty {{choose_lower}}, which would become the minimum effort.

{% for lvl in Constants.difficulty_levels %} {% if forloop.counter == choose_lower %} {% for row in Constants.payoffmatrix %} {% if forloop.counter == choose_lower %} {% else %} {% endif %} {% if forloop.first %} {% endif %} {% for item in row %} {% if forloop.counter == choose_lower %} {% if forloop.parentloop.counter == choose_lower %} {% elif forloop.counter == group.min_group and forloop.parentloop.counter == player.problem_difficulty %} {% else %} {% endif %} {% elif forloop.counter == group.min_group and forloop.parentloop.counter == player.problem_difficulty %} {% else %} {% endif %} {% endfor %} {% endfor %}
Minimum choice in group
{{lvl}} {% else %} {{lvl}} {% endif %} {% endfor %}
Own choice {{forloop.counter}} {{item}} {{item}} {{item}} {{item}} {{item}}

Your actual score is the bold number outlined in a box

{% endif %} {% if choose_higher < 8 %}

Here's what you would have gotten if you'd chosen a problem of difficulty {{choose_higher}} and the minimum effort remained at {{group.min_group}}

{% for lvl in Constants.difficulty_levels %} {% if forloop.counter == group.min_group %} {% for row in Constants.payoffmatrix %} {% if forloop.counter == choose_higher %} {% else %} {% endif %} {% if forloop.first %} {% endif %} {% for item in row %} {% if forloop.counter == group.min_group %} {% if forloop.parentloop.counter == choose_higher %} {% elif 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}} {{item}}

Your actual score is the bold number outlined in a box

{% endif %} {% if min_higher < 8 %}

Here's what you would have gotten if you'd chosen a problem of difficulty {{choose_higher}} and the minimum effort had been {{min_higher}}

{% for lvl in Constants.difficulty_levels %} {% if forloop.counter == min_higher %} {% for row in Constants.payoffmatrix %} {% if forloop.counter == choose_higher %} {% else %} {% endif %} {% if forloop.first %} {% endif %} {% for item in row %} {% if forloop.counter == min_higher %} {% if forloop.parentloop.counter == choose_higher %} {% else %} {% endif %} {% elif forloop.counter == group.min_group and forloop.parentloop.counter == player.problem_difficulty %} {% else %} {% endif %} {% endfor %} {% endfor %}
Minimum choice in group
{{lvl}} {% else %} {{lvl}} {% endif %} {% endfor %}
Own choice {{forloop.counter}} {{item}} {{item}} {{item}} {{item}}

Your actual score is the bold number outlined in a box

{% endif %} {% endif %}
{% formfield player.timeonpage_Counterfactuals %}
{% endblock %}