{{ block title }}{{if is_practice}} Practice {{ endif }}Round {{ round_num }} - Outcome{{ endblock }} {{ block content }}

{{if is_practice}} Practice {{ endif }} Round {{ round_num }} Results

Your Choice

{{ choice }} tokens

Tokens earned

{{ payoff_tokens }} tokens

{{ if framing == 'gain' }} {{ if outcome }}
Heavy snow.

You got back {{ choice_multiply_2 }} tokens for the {{ choice }} tokens you spent.

{{ else }}
No heavy snow.

You lost the {{ choice }} tokens you spent.

{{ endif }}
Calculation:
{{ if outcome }}

Kept: {{ endowment_subtract_choice }} tokens + return on spent: {{ choice_multiply_2 }} tokens = {{ payoff_tokens }} tokens

{{ else }}

Kept: {{ endowment_subtract_choice }} tokens + no return on spent tokens = {{ payoff_tokens }} tokens

{{ endif }}
{{ else }} {{ if outcome }}
No heavy rain.

No heavy rain occurred this round. You paid {{ choice_multiply_insurance_cost }} tokens for insurance coverage of {{ choice }} tokens.

{{ else }}
Heavy rain.

Heavy rain occurred. Your protective measures resulted in {{ choice }} tokens. You lost {{ endowment_subtract_choice }} unspent tokens.

{{ endif }}
Calculation:
{{ if outcome }}

Started with: {{ endowment }} tokens - protection cost: {{ choice_multiply_insurance_cost }} tokens = {{ payoff_tokens }} tokens

{{ else }}

Started with: {{ endowment }} tokens - protection cost: {{ choice_multiply_insurance_cost }} tokens - Unspent tokens loss: {{ endowment_subtract_choice }} tokens = {{ payoff_tokens }} tokens

{{ endif }}
{{ endif }}
{{ if history }}
Your History
{{ for round in history }} {{ endfor }}
Round You spent Outcome Tokens earned
{{ if round.is_practice }}Practice - {{endif}}{{ round.round }} {{ round.choice }} {{ if framing == 'gain' }} {{ if round.outcome }} Snow {{ else }} No Snow {{ endif }} {{ else }} {{ if round.outcome }} No Loss {{ else }} Loss {{ endif }} {{ endif }} {{ round.payoff }}
Total Rounds
{{ history|length }}
{{ if framing == 'gain' }}Snow occured{{ else }}No snow{{ endif }}
{{ success_count }}/{{ history|length }}
Average tokens
{{ average_payoff }}
{{ endif }}
{{ next_button }}
{{ endblock }}