{% load otree %}

The sequence of events for each period is:

    {% if waiting_for_effort%}
  1. The Employee decides how many additional winning balls to buy (between 0 and {{C.PROBABILITY_DIF}})
  2. {%else%}
  3. The Employee decides how many additional winning balls to buy (between 0 and {{C.PROBABILITY_DIF}})
  4. {%endif%}
  5. The total number of winning balls is {{C.PROBABILITY_MIN}} + Number of balls bought by the employee. There are always {{C.PROBABILITY_TOTAL}} balls in the bag
  6. Profit level (LOW or HIGH) is determined by a random draw. Profit is HIGH if a winning ball is drawn from the bag
  7. {% if participant.vars.treatment_info == 0 %} {% if waiting_for_bonus %}
  8. The supervisor observes the profit level. The supervisor then decides on a bonus for the employee (between 0 and {{C.BONUS_MAX|c}})
  9. {%else%}
  10. The supervisor observes the profit level. The supervisor then decides on a bonus for the employee (between 0 and {{C.BONUS_MAX|c}})
  11. {%endif%} {%endif%} {% if participant.vars.treatment_info == 1 %} {% if waiting_for_bonus %}
  12. The supervisor observes the profit level and how many winning balls the employee bought. The supervisor then decides on a bonus for the employee (between 0 and {{C.BONUS_MAX|c}})
  13. {%else%}
  14. The supervisor observes the profit level and how many winning balls the employee bought. The supervisor then decides on a bonus for the employee (between 0 and {{C.BONUS_MAX|c}})
  15. {%endif%} {%endif%} {% if participant.vars.treatment_info == 2 %} {% if waiting_for_bonus %}
  16. The supervisor observes how many winning balls the employee bought. The supervisor then decides on a bonus for the employee (between 0 and {{C.BONUS_MAX|c}})
  17. {%else%}
  18. The supervisor observes how many winning balls the employee bought. The supervisor then decides on a bonus for the employee (between 0 and {{C.BONUS_MAX|c}})
  19. {%endif%} {%endif%} {% if waiting_for_confrontation %}
  20. The employee observes the bonus
  21. {%else%}
  22. The employee observes the bonus
  23. {%endif%}

The payoff for each role in each period is:

Employee Payoff = Salary – Cost of buying winning balls + Bonus.

Supervisor’s Payoff = Salary + Compensation for profit.