{% extends "global/Page.html" %} {% block title %}Results{% endblock %} {% block content %}

School A

{% for player in group.get_players %} {% if player.chosen_bet == "A" %} {% endif %} {% endfor %}
Student ID Score
{{ player.id_in_group }} {{player.number }}

School B

{% for player in group.get_players %} {% if player.chosen_bet == "B" %} {% endif %} {% endfor %}
Student ID Score
{{ player.id_in_group }} {{player.number }}

Second Phase

{% for player in group.get_players %} {% if player not in top_a and player not in top_b %} {% endif %} {% endfor %}
Student ID Score
{{ player.id_in_group }} {{player.number }}

Result summary

You are student {{ player.id_in_group }}

Your score is {{ player.number }}

{% if player.id_in_group == 1 %} {% if player.chosen_bet == 'A' %} {% if player in top_a %}

Your application is accepted in school A.

{% elif player in top_secondchosen_a %}

Your application is accepted in school A in the second step.

{% elif not top_b %} {% if player in top_thirdchosen_b %}

Your application is accepted in school B in the second step.

{% else %}

You did not get a seat.

{% endif %} {% else %} {% if player in top_secondchosen_b %}

Your application is accepted in school B in the second step.

{% else %}

You did not get a seat.

{% endif %} {% endif %} {% else%} {% if player in top_b %}

Your application is accepted in school B.

{% elif not top_a %} {% if player in top_thirdchosen_a %}

You get accepted in school A in the 2nd step.

{% elif player in top_fourthchosen_b %}

You get accepted in school B in the 2nd step.

{% else %}

You did not get a seat.

{% endif %} {% else %} {% if player in top_secondchosen_a %}

You get accepted in school A in the 2nd step.

{% elif player in top_secondchosen_b %}

You get accepted in school B in the 2nd step.

{% else %}

You did not get a seat.

{% endif %} {% endif %} {% endif %}

Given your score in this round,

{% if player in top_guessa1 %}

Had you applied to school A, you would have been accepted in School A in phase 1.

{% elif player in top_secondguessa1 %}

Had you applied to school A, you would have been accepted in School A in phase 2.

{% elif not top_guessab1 %} {% if player in top_thirdguessab1 %}

Had you applied to school A, you would have been accepted in School B in phase 2.

{% else %}

Had you applied to school A, you would have been rejected by both schools.

{% endif %} {% else %} {% if player in top_secondguessab1 %}

Had you applied to school A, you would have been accepted in School B in phase 2.

{% else %}

Had you applied to school A, you would have been rejected by both schools.

{% endif %} {% endif %} {% if player in top_guessb1 %}

Had you applied to school B, you would have been accepted in School B in phase 1.

{% elif not top_guessba1 %} {% if player in top_thirdguessb1 %}

Had you applied to school B, you would have been accepted in school A in phase 2.

{% elif player in top_fourthguessba1 %}

Had you applied to school B, you would have been accepted in school B in phase 2.

{% else %}

Had you applied to school B, you would have been rejected by both schools.

{% endif %} {% else %} {% if player in top_secondguessb1 %}

Had you applied to school B, you would have been accepted in school A in phase 2.

{% elif player in top_secondguessba1 %}

Had you applied to school B, you would have been accepted in school B in phase 2.

{% else %}

Had you applied to school B, you would have been rejected by both schools.

{% endif %} {% endif %} {% elif player.id_in_group == 2 %} {% if player.chosen_bet == 'A' %} {% if player in top_a %}

Your application is accepted in school A.

{% elif player in top_secondchosen_a %}

Your application is accepted in school A in the second step.

{% elif not top_b %} {% if player in top_thirdchosen_b %}

Your application is accepted in school B in the second step.

{% else %}

You did not get a seat.

{% endif %} {% else %} {% if player in top_secondchosen_b %}

Your application is accepted in school B in the second step.

{% else %}

You did not get a seat.

{% endif %} {% endif %} {% else%} {% if player in top_b %}

Your application is accepted in school B.

{% elif not top_a %} {% if player in top_thirdchosen_a %}

You get accepted in school A in the 2nd step.

{% elif player in top_fourthchosen_b %}

You get accepted in school B in the 2nd step.

{% else %}

You did not get a seat.

{% endif %} {% else %} {% if player in top_secondchosen_a %}

You get accepted in school A in the 2nd step.

{% elif player in top_secondchosen_b %}

You get accepted in school B in the 2nd step.

{% else %}

You did not get a seat.

{% endif %} {% endif %} {% endif %}

Given your score in this round,

{% if player in top_guessa2 %}

Had you applied to school A, you would have been accepted in School A in phase 1.

{% elif player in top_secondguessa2 %}

Had you applied to school A, you would have been accepted in School A in phase 2.

{% elif not top_guessab2 %} {% if player in top_thirdguessab2 %}

Had you applied to school A, you would have been accepted in School B in phase 2.

{% else %}

Had you applied to school A, you would have been rejected by both schools.

{% endif %} {% else %} {% if player in top_secondguessab2 %}

Had you applied to school A, you would have been accepted in School B in phase 2.

{% else %}

Had you applied to school A, you would have been rejected by both schools.

{% endif %} {% endif %} {% if player in top_guessb2 %}

Had you applied to school B, you would have been accepted in School B in phase 1.

{% elif not top_guessba2 %} {% if player in top_thirdguessb2 %}

Had you applied to school B, you would have been accepted in school A in phase 2.

{% elif player in top_fourthguessba2 %}

Had you applied to school B, you would have been accepted in school B in phase 2.

{% else %}

Had you applied to school B, you would have been rejected by both schools.

{% endif %} {% else %} {% if player in top_secondguessb2 %}

Had you applied to school B, you would have been accepted in school A in phase 2.

{% elif player in top_secondguessba2 %}

Had you applied to school B, you would have been accepted in school B in phase 2.

{% else %}

Had you applied to school B, you would have been rejected by both schools.

{% endif %} {% endif %} {% elif player.id_in_group == 3 %} {% if player.chosen_bet == 'A' %} {% if player in top_a %}

Your application is accepted in school A.

{% elif player in top_secondchosen_a %}

Your application is accepted in school A in the second step.

{% elif not top_b %} {% if player in top_thirdchosen_b %}

Your application is accepted in school B in the second step.

{% else %}

You did not get a seat.

{% endif %} {% else %} {% if player in top_secondchosen_b %}

Your application is accepted in school B in the second step.

{% else %}

You did not get a seat.

{% endif %} {% endif %} {% else%} {% if player in top_b %}

Your application is accepted in school B.

{% elif not top_a %} {% if player in top_thirdchosen_a %}

You get accepted in school A in the 2nd step.

{% elif player in top_fourthchosen_b %}

You get accepted in school B in the 2nd step.

{% else %}

You did not get a seat.

{% endif %} {% else %} {% if player in top_secondchosen_a %}

You get accepted in school A in the 2nd step.

{% elif player in top_secondchosen_b %}

You get accepted in school B in the 2nd step.

{% else %}

You did not get a seat.

{% endif %} {% endif %} {% endif %}

Given your score in this round,

{% if player in top_guessa3 %}

Had you applied to school A, you would have been accepted in School A in phase 1.

{% elif player in top_secondguessa3 %}

Had you applied to school A, you would have been accepted in School A in phase 2.

{% elif not top_guessab3 %} {% if player in top_thirdguessab3 %}

Had you applied to school A, you would have been accepted in School B in phase 2.

{% else %}

Had you applied to school A, you would have been rejected by both schools.

{% endif %} {% else %} {% if player in top_secondguessab3 %}

Had you applied to school A, you would have been accepted in School B in phase 2.

{% else %}

Had you applied to school A, you would have been rejected by both schools.

{% endif %} {% endif %} {% if player in top_guessb3 %}

Had you applied to school B, you would have been accepted in School B in phase 1.

{% elif not top_guessba3 %} {% if player in top_thirdguessb3 %}

Had you applied to school B, you would have been accepted in school A in phase 2.

{% elif player in top_fourthguessba3 %}

Had you applied to school B, you would have been accepted in school B in phase 2.

{% else %}

Had you applied to school B, you would have been rejected by both schools.

{% endif %} {% else %} {% if player in top_secondguessb3 %}

Had you applied to school B, you would have been accepted in school A in phase 2.

{% elif player in top_secondguessba3 %}

Had you applied to school B, you would have been accepted in school B in phase 2.

{% else %}

Had you applied to school B, you would have been rejected by both schools.

{% endif %} {% endif %} {% elif player.id_in_group == 4 %} {% if player.chosen_bet == 'A' %} {% if player in top_a %}

Your application is accepted in school A.

{% elif player in top_secondchosen_a %}

Your application is accepted in school A in the second step.

{% elif not top_b %} {% if player in top_thirdchosen_b %}

Your application is accepted in school B in the second step.

{% else %}

You did not get a seat.

{% endif %} {% else %} {% if player in top_secondchosen_b %}

Your application is accepted in school B in the second step.

{% else %}

You did not get a seat.

{% endif %} {% endif %} {% else%} {% if player in top_b %}

Your application is accepted in school B.

{% elif not top_a %} {% if player in top_thirdchosen_a %}

You get accepted in school A in the 2nd step.

{% elif player in top_fourthchosen_b %}

You get accepted in school B in the 2nd step.

{% else %}

You did not get a seat.

{% endif %} {% else %} {% if player in top_secondchosen_a %}

You get accepted in school A in the 2nd step.

{% elif player in top_secondchosen_b %}

You get accepted in school B in the 2nd step.

{% else %}

You did not get a seat.

{% endif %} {% endif %} {% endif %}

Given your score in this round,

{% if player in top_guessa4 %}

Had you applied to school A, you would have been accepted in School A in phase 1.

{% elif player in top_secondguessa4 %}

Had you applied to school A, you would have been accepted in School A in phase 2.

{% elif not top_guessab4 %} {% if player in top_thirdguessab4 %}

Had you applied to school A, you would have been accepted in School B in phase 2.

{% else %}

Had you applied to school A, you would have been rejected by both schools.

{% endif %} {% else %} {% if player in top_secondguessab4 %}

Had you applied to school A, you would have been accepted in School B in phase 2.

{% else %}

Had you applied to school A, you would have been rejected by both schools.

{% endif %} {% endif %} {% if player in top_guessb4 %}

Had you applied to school B, you would have been accepted in School B in phase 1.

{% elif not top_guessba4 %} {% if player in top_thirdguessb4 %}

Had you applied to school B, you would have been accepted in school A in phase 2.

{% elif player in top_fourthguessba4 %}

Had you applied to school B, you would have been accepted in school B in phase 2.

{% else %}

Had you applied to school B, you would have been rejected by both schools.

{% endif %} {% else %} {% if player in top_secondguessb4 %}

Had you applied to school B, you would have been accepted in school A in phase 2.

{% elif player in top_secondguessba4 %}

Had you applied to school B, you would have been accepted in school B in phase 2.

{% else %}

Had you applied to school B, you would have been rejected by both schools.

{% endif %} {% endif %} {% elif player.id_in_group == 5 %} {% if player.chosen_bet == 'A' %} {% if player in top_a %}

Your application is accepted in school A.

{% elif player in top_secondchosen_a %}

Your application is accepted in school A in the second step.

{% elif not top_b %} {% if player in top_thirdchosen_b %}

Your application is accepted in school B in the second step.

{% else %}

You did not get a seat.

{% endif %} {% else %} {% if player in top_secondchosen_b %}

Your application is accepted in school B in the second step.

{% else %}

You did not get a seat.

{% endif %} {% endif %} {% else%} {% if player in top_b %}

Your application is accepted in school B.

{% elif not top_a %} {% if player in top_thirdchosen_a %}

You get accepted in school A in the 2nd step.

{% elif player in top_fourthchosen_b %}

You get accepted in school B in the 2nd step.

{% else %}

You did not get a seat.

{% endif %} {% else %} {% if player in top_secondchosen_a %}

You get accepted in school A in the 2nd step.

{% elif player in top_secondchosen_b %}

You get accepted in school B in the 2nd step.

{% else %}

You did not get a seat.

{% endif %} {% endif %} {% endif %}

Given your score in this round,

{% if player in top_guessa5 %}

Had you applied to school A, you would have been accepted in School A in phase 1.

{% elif player in top_secondguessa5 %}

Had you applied to school A, you would have been accepted in School A in phase 2.

{% elif not top_guessab5 %} {% if player in top_thirdguessab5 %}

Had you applied to school A, you would have been accepted in School B in phase 2.

{% else %}

Had you applied to school A, you would have been rejected by both schools.

{% endif %} {% else %} {% if player in top_secondguessab5 %}

Had you applied to school A, you would have been accepted in School B in phase 2.

{% else %}

Had you applied to school A, you would have been rejected by both schools.

{% endif %} {% endif %} {% if player in top_guessb5 %}

Had you applied to school B, you would have been accepted in School B in phase 1.

{% elif not top_guessba5 %} {% if player in top_thirdguessb5 %}

Had you applied to school B, you would have been accepted in school A in phase 2.

{% elif player in top_fourthguessba5 %}

Had you applied to school B, you would have been accepted in school B in phase 2.

{% else %}

Had you applied to school B, you would have been rejected by both schools.

{% endif %} {% else %} {% if player in top_secondguessb5 %}

Had you applied to school B, you would have been accepted in school A in phase 2.

{% elif player in top_secondguessba5 %}

Had you applied to school B, you would have been accepted in school B in phase 2.

{% else %}

Had you applied to school B, you would have been rejected by both schools.

{% endif %} {% endif %} {% else %} {% if player.chosen_bet == 'A' %} {% if player in top_a %}

Your application is accepted in school A.

{% elif player in top_secondchosen_a %}

Your application is accepted in school A in the second step.

{% elif not top_b %} {% if player in top_thirdchosen_b %}

Your application is accepted in school B in the second step.

{% else %}

You did not get a seat.

{% endif %} {% else %} {% if player in top_secondchosen_b %}

Your application is accepted in school B in the second step.

{% else %}

You did not get a seat.

{% endif %} {% endif %} {% else%} {% if player in top_b %}

Your application is accepted in school B.

{% elif not top_a %} {% if player in top_thirdchosen_a %}

You get accepted in school A in the 2nd step.

{% elif player in top_fourthchosen_b %}

You get accepted in school B in the 2nd step.

{% else %}

You did not get a seat.

{% endif %} {% else %} {% if player in top_secondchosen_a %}

You get accepted in school A in the 2nd step.

{% elif player in top_secondchosen_b %}

You get accepted in school B in the 2nd step.

{% else %}

You did not get a seat.

{% endif %} {% endif %} {% endif %}

Given your score in this round,

{% if player in top_guessa6 %}

Had you applied to school A, you would have been accepted in School A in phase 1.

{% elif player in top_secondguessa6 %}

Had you applied to school A, you would have been accepted in School A in phase 2.

{% elif not top_guessab6 %} {% if player in top_thirdguessab6 %}

Had you applied to school A, you would have been accepted in School B in phase 2.

{% else %}

Had you applied to school A, you would have been rejected by both schools.

{% endif %} {% else %} {% if player in top_secondguessab6 %}

Had you applied to school A, you would have been accepted in School B in phase 2.

{% else %}

Had you applied to school A, you would have been rejected by both schools.

{% endif %} {% endif %} {% if player in top_guessb6 %}

Had you applied to school B, you would have been accepted in School B in phase 1.

{% elif not top_guessba6 %} {% if player in top_thirdguessb6 %}

Had you applied to school B, you would have been accepted in school A in phase 2.

{% elif player in top_fourthguessba6 %}

Had you applied to school B, you would have been accepted in school B in phase 2.

{% else %}

Had you applied to school B, you would have been rejected by both schools.

{% endif %} {% else %} {% if player in top_secondguessb6 %}

Had you applied to school B, you would have been accepted in school A in phase 2.

{% elif player in top_secondguessba6 %}

Had you applied to school B, you would have been accepted in school B in phase 2.

{% else %}

Had you applied to school B, you would have been rejected by both schools.

{% endif %} {% endif %} {% endif %} {% next_button %} {% endblock %}