{% extends "global/Base.html" %} {% load staticfiles otree_tags %} {% block title %} Task {{ round }} of {{ num_questions }}
{% endblock %} {% block content %} {% if player.endowment > 0 %}

Your budget for this decision is {{ endowment }}.

{% endif %} {% for counter, amount, absamount in player.right_side_amounts1 %} {% if counter == 1 %} {% if type == 'list' %} {% elif type == 'rocl' %} {% elif type == 'complex_prob' %} {% elif type == 'complex_amt' %} {% endif %} {% else %} {% endif %} {% endfor %}
Option A Option B
{% for prob, sum, abssum in current_lottery %} With probability {{ prob }}% : {% if sum > 0 %} Get {% elif sum < 0 %} Lose {% elif sum == 0 and player.lottery_amount > 0 %} Get {% elif sum == 0 and player.lottery_amount < 0 %} Lose {% endif %} $ {{ abssum }}

{% endfor %}

We randomly draw an integer number between {{ roclrangestart }} and {{ roclrangeend }}. Call this number X.

{% for prob, sum, abssum in current_lottery %} With probability {{ prob }}% : {% if sum > 0 %} Get {% elif sum < 0 %} Lose {% elif sum == 0 and player.lottery_amount > 0 %} Get {% elif sum == 0 and player.lottery_amount < 0 %} Lose {% endif %} $ {{ abssum }}

{% endfor %}
{% for prob, sum, abssum in current_lottery %}
With probability:
{{ prob }}% :
{% if sum > 0 %} Get {% elif sum < 0 %} Lose {% elif sum == 0 and player.lottery_amount > 0 %} Get {% elif sum == 0 and player.lottery_amount < 0 %} Lose {% endif %} $ {{ abssum }}

{% endfor %}
{% for prob, sum, abssum in current_lottery %}
With probability {{ prob }}% :
Get $ {{ sum }}

{% endfor %}
         {% if amount > 0 %} With certainty: Get {% elif amount < 0 %} With certainty: Lose {% elif amount == 0 and player.lottery_amount > 0 %} With certainty: Get {% elif amount == 0 and player.lottery_amount < 0 %} With certainty: Lose {% endif %} $ {{ absamount }}
         {% if amount > 0 %} With certainty: Get {% elif amount < 0 %} With certainty: Lose {% elif amount == 0 and player.lottery_amount > 0 %} With certainty: Get {% elif amount == 0 and player.lottery_amount < 0 %} With certainty: Lose {% endif %} $ {{ absamount }}
{% endblock %} {% block scripts %} {% endblock %}