{% extends "global/Base.html" %} {% load staticfiles otree_tags %} {% block title %} Task {{round}} of {{num_q}}
Your budget for this decision is {{ endowment }}.
| Option A | Option B | |
|
{% for prob, sum, abssum 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 %}
$ {{ abssum }} {% 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 }} |