{% extends "global/Page.html" %} {% load otree %} {% block title %} Matching Mechanism Game: Round {{player.round_number}} {% endblock %} {% block content %} {%if player.round_number == 1%}

In this round, each person will simultaneously submit their ordered preference ranking over schools.

You are student {{player.role}}

Given the submitted preferences of the participants and the priority order of each school, seats are allocated in the following way:

  1. An application to the first ranked school (according to their submitted list) is sent for each participant.
  2. Each school accepts the participants with higher priority order until positions are filled. These applicants and their positions are removed from the system. All other applications are rejected by the schools.
  3. The applicants remaining in the system send the application to their second ranked position.
  4. If a school still has available positions remaining from Round 1, then it accepts the applicant with higher priority order until all positions are filled. The remaining applications are rejected.
  5. Each remaining participant is assigned a position at her last choice.

{%elif player.round_number == 2%}

In this round, each person will again simultaneously submit their ordered preference ranking over schools.

You are still student {{player.role}}

With this method, each participant is assigned a seat at the best possible school reported their ranked list that is consistent with the priority order of schools.

Given the submitted preferences of the participants and the priority order of each school, seats are allocated in the following way:

  1. An application to the first ranked school is sent for each participant.
  2. Each school provisionally accepts the applicants with higher priority order until positions are filled, and keeps them on hold. The school rejects the lowest priority ones in excess of its capacity. Throughout the allocation process, a school can hold no more applications than its number of positions!
  3. Whenever an applicant is rejected at a school, her application is sent to the next highest school in her ranking. Whenever a school receives a new application (from an applicant that has been rejected in a previous round by a better ranked school), these applications are considered together with the applications the school was holding. Among the retained and new applicants, the lowest priority ones in excess of the number of the positions are rejected, while remaining applications are retained. This process is repeated until no more applications can be rejected, and the allocation is finalized. Each participant is assigned the position at the school that holds her application at the end of the process.

{% endif %}
Students' Preferences Over Schools
A B C D E
1 3 2 2 2
3 2 1 1 3
2 1 3 3 1

Schools' Priority Lists
1
(1 seat)
2
(2 seats)
3
(2 seats)
E D C
C B A
D A D
B E E
A C B



Select Your Choices:

{% formfields %}

{% next_button %} {% endblock %}