Allocation Run
Upload the exported survey result Excel file or run the bundled dummy data.
Step Progress
Progress updates as each allocation step reports its result.
Final Room Allocation
Each row summarizes one room and lists its four student places.
Run an allocation to render room rows.
Select a room to inspect the students' raw survey result rows.
Room Scores
Lower room score means lower average pair penalty.
How allocation works
- Survey answers are converted into comparable scores for chronotype, environment, hygiene, social behavior, and conflict handling.
- Students are only compared with same-sex students, then pair penalties are calculated. Lower penalties mean the pair is more compatible.
- The allocator forms four-person rooms by starting with chronotype-sensitive students and choosing the lowest-penalty same-sex candidates.
- 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.
- 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.
How scores become room allocations
Compatibility is calculated from survey answers, then applied in a controlled same-sex allocation process.
Input
Survey answers
Q1-Q27, participation, sex and height
Compatibility score modules
Chronotype
Wake and sleep timing, regularity, early and late tolerance
Environment
Temperature, light, noise and smoking tolerance
Hygiene
Shower, laundry and cleaning habits plus tolerance
Social
Sociability, visitors and conflict handling
Repeated Q27 priorities increase the weight of their selected module.
Compare
Same-sex pair penalty
Weighted average of the four module penalties. Lower is more compatible.
Allocation process
- Separate male and female cohorts Only students in the same cohort are compared and placed together.
- Reserve extra-long-bed rooms Eligible students are ordered by height. One priority bed per room.
- Allocate participation A and B Survey participants use compatibility scores. Opt-outs are randomly placed within cohort.
- Form rooms, then optionally swap Greedy four-person rooms can be refined with same-sex one-for-one swaps.
- Final room allocation Room score, bed status and any missing extra-long-bed need are reported.