Allocation Run

Upload the exported survey result Excel file or run the bundled dummy data.

Students -
Rooms -
Pair Penalties -
Allocation Score -

Step Progress

Progress updates as each allocation step reports its result.

Waiting

Final Room Allocation

Each room card contains four student blocks; partial rooms show open slots.

Run an allocation to render room cards.
Select a room to inspect the students' raw survey result rows.

Room Scores

Lower room score means lower average pair penalty.

How allocation works

  1. Survey answers are converted into comparable scores for chronotype, environment, hygiene, social behavior, and conflict handling.
  2. Students are only compared with same-sex students, then pair penalties are calculated. Lower penalties mean the pair is more compatible.
  3. The allocator forms four-person rooms by starting with chronotype-sensitive students and choosing the lowest-penalty same-sex candidates.
  4. Room score is the average pair penalty inside that room. Lower is better; a partial leftover room is still shown if the count is not divisible by four.
  5. If room swap is enabled, the dashboard tries same-sex one-for-one swaps to make room scores more even across the final allocation.

User Score Preview

Scores calculated from each SurveyResponse method.

Pair Penalty Preview

Highest same-sex pair penalties, capped for readability.

Room Swap for Fairness

After the initial room allocation, the dashboard can try same-sex one-for-one student swaps to make room scores more even across rooms. This can reduce the chance that later rooms have much higher scores, though it may slightly change some otherwise strong individual room matches.