{% extends "global/Base.html" %} {% load staticfiles otree_tags %} {% block title %} Decision screen 1
Your budget for this decision is {{ endowment }}.
{% endif %}| Option A | Option B | ||
|
{% for prob, sum in player.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 %}
$ {{ sum | abs }} {% endfor %} |
{% elif type == 'rocl' %}
We randomly draw an integer number between {{ player.rocl_range.0 }} and {{ player.rocl_range.1 }}, with each number being equally likely to be drawn. Call this number X. {% for prob, sum in player.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 %} $ {{ sum | abs }}{% endfor %} |
{% 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 %} $ {{ amount | abs }} | |
| {% 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 %} $ {{ amount | abs }} |