schedule-generator icon indicating copy to clipboard operation
schedule-generator copied to clipboard

Some searches hitting 300-section limit in updateTimetables

Open BillyBolton opened this issue 6 years ago • 4 comments

The PHY 1000 courses are not showing up for me either. (I'm specifically looking for course PHY1331). Would you mind trying to update the courses again to see if this works? I see them in the saved CVS sheets but I'm not sure why it's not posting anymore.

Screen Shot 2019-05-21 at 5 12 37 PM

Screen Shot 2019-05-21 at 5 10 52 PM

Screen Shot 2019-05-21 at 5 10 30 PM

Additionally, it looks like I can't connect to the server anymore. Is there a solution to this too?

Screen Shot 2019-05-21 at 5 14 17 PM

BillyBolton avatar May 21 '19 21:05 BillyBolton

As you can see in the csv files, the course is listed there for the summer semester (20195). The issue is that first-year physics courses in the Fall and Winter semesters are currently returning more than the limit of 300 sections in the course search tool. I'll try to figure this out by Friday but it will probably just involve detecting that the limit is being reached in the search, then using more restrictive search criteria to ensure that the sections can be returned.

Capture d’écran, le 2019-05-21 à 22 14 16

davidschlachter avatar May 22 '19 02:05 davidschlachter

(The connection issue was due to a corrupted statistics file, seems to happen about once every year or two)

davidschlachter avatar May 22 '19 02:05 davidschlachter

Awesome, thanks for looking into this!

BillyBolton avatar May 22 '19 20:05 BillyBolton

First year Physics courses are now in the database for the Fall semester, but for the Winter we're still hitting the section limit. I'll need to change the approach used for recursion in updateTimetables.py, a full fix is coming but no ETA at the moment.

davidschlachter avatar May 24 '19 11:05 davidschlachter