{% extends "global/Page_volunteer_dilemma.html" %} {% load otree %} {% block content %} {% block title %}
・{{ group.num_of_group }}人のうち、協力したのは{{ group.total_contribution}}人です
・{{ group.threshold}}人以上の協力で成功なので、プロジェクトは
{% if group.total_contribution >= group.threshold %} 成功
{% else %}失敗
{% endif %} です
{% for p in group.get_players %}
参加者{{ p.id_in_group }}:
{% if p.contribution == 1 %}
協力する
{% else %}
協力しない
{% endif %}
{% if p.id_in_group == player.id_in_group %}
(あなた)
{% endif %}
{% endfor %}
| プロジェクトからの利得 ー 協力に要する費用 = 今回の利益 |
| {% if group.total_contribution >= group.threshold %} {{ group.success }} {% else %} {{ group.fail }} {% endif %} ー {% if player.contribution == 1 %} {{ group.cost }} {% else %} 0 {% endif %} = {{ player.payoff }} |