talhavawda / student-lab-sectioning

Student Lab Sectioning with Minimal Perturbation
0 stars 0 forks source link

Courses not specified in the problem inputs's Courses.xlsx input file #1

Open talhavawda opened 3 years ago

talhavawda commented 3 years ago

Some courses that some students may be doing (enrolled/registered for) may not be in the problem input's Courses.xlsx input file.

CURRENTLY ignoring such a course enrollment/registration for the sectioning process (as we do not have the details about that course's lab sessions and allocated timeslots)

If such a course was not in the Courses.xlsx input file then we shall get a KeyError when trying to get its courseID from the courseIdDict.

The "wvl sem 1 2020 students.xlsx" file given by UKZN CAES which shows the allocations for each of the students, leaves these courses as unallocated and places them in an "unallocated" column as an element of a list. The issue with the 2020-Sem1-CAES-Wvl dataset is that there is a total of 10561 course requests and only [4853 -old] 6174 requests are valid and will be specified in the input file - the input files only specify the courses that are the first year CAES modules but the students include all students in the university that do at least one of the CAES first year modules - they are not necessarily CAES students..

Consider if should add it in some way (and how we're going to specify the allocated timeslots)

talhavawda commented 3 years ago

Sir: one way to do this is to make up dummy data (add the extra modules to the Courses input file with dummy values [section times and capacities] such that the solver works properly on the Students input)

talhavawda commented 3 years ago

What I can also do is to check before solving (when processing the input) to see if there was any (at least one) case where a course that a student is registered for isnot in the Courses.xlsx input file and give the option to the user of the system to other proceed as is (that course will not be added as a course request in the input data XML file for the solver) or fix the input data (can modify Courses.xlsx to add this course in there) and come back and re-submit the input for processing

talhavawda commented 3 years ago

This issue comes up in both the InputProcessing.py and ModifiedInputProcessing.py.

To find where it occurs in the files, search for "Issue #1"