learning-unlimited / ESP-Website

A website to help manage the logistics of large, short-term educational programs
84 stars 57 forks source link

Lottery isn't assigning lunch blocks #1107

Open benjaminjkraft opened 10 years ago

benjaminjkraft commented 10 years ago

(Modulo some unrelated bugs,) the lottery makes sure that each student has a block free for lunch. However, it doesn't actually assign them to lunches. It's easier for everyone if they already get assigned to lunches, so the lottery should do this. Ideally, it should assign students who have both lunch blocks free so as to equalize the number of students with each lunch block.

willgearty commented 5 years ago

See esp/useful_scripts/add_lunches.py (https://github.com/learning-unlimited/ESP-Website/blob/main/esp/useful_scripts/add_lunches.py)