{% extends "global/Base.html" %} {% load staticfiles otree_tags %} {% block title %} Task {{ round }} of {{ num_questions }}
Your budget for this decision is {{ endowment }}.
{% endif %}| 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 %} |
{% elif type == 'rocl' %}
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 %} |
{% elif type == 'complex_prob' %}
{% for prob, sum, abssum in current_lottery %}
With probability
{{ prob }}% :
{% endfor %}
{% 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 }} |
{% elif type == 'complex_amt' %}
{% for prob, sum, abssum in current_lottery %}
With probability {{ prob }}% :
{% endfor %}
Get $ {{ sum }} |
{% endif %}
{% 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 }} |