Once schools have been accepted and allocated a number of delegates, figure out which positions each school should get. This should be consistent where possible (ex. one school has all the France slots) and take into consideration school preferences/priority.
School given x delegates (out of however many requested)
We have n positions (sum of all x = n)
Weighted by committee + country preferences, how much MUN likes the school, give each school its x positions
rank schools
iterating through schools
assign all positions with country = 1st choice to school
as many as possible (school might not be able to fill a country)
once 1st choice country taken, switch to 2nd, and so on
randomly assign remaining countries to schools as needed
weight by importance of country (soft power)
School then assigns a delegate to each position
Can manually assign later
Will probably have more positions than delegates
won't work for specialized / crisis committees
not really overlap in committees
just need to take into account what percentage breakdown they put
giving schools countries comes after giving them general/spec/crisis
assign to spec/crisis randomly
assign to general based on algorithm above
schools can only see what they've been given once we say so
Once schools have been accepted and allocated a number of delegates, figure out which positions each school should get. This should be consistent where possible (ex. one school has all the France slots) and take into consideration school preferences/priority.