Search by student ID failed in "PHYS 022"
Closed this issue · 9 comments
hydai commented
hydai commented
Failed between "PHYS102B A" and "PHYS102BA", "EECS102B" and "EECS102BA"...
henryyang42 commented
from data_center.models import *
ds = Department.objects.all()
for d in ds:
d.dept_name = d.dept_name.replace('B A', 'BA')
d.dept_name = d.dept_name.replace('B B', 'BB')
d.save()
Use this to do a hotfix.
Some exception should be handled by human.
hydai commented
I will checkout all department id.
By the way, dept_name for EECS looks like "EECS101B", since it has only one class.
henryyang42 commented
Yes, it's strange. Maybe we should merge 2 same EECS101B
manually.
hydai commented
Failed list (We generate "BA" but actually they have only a "B")
- UPMT100B
- SCI 103B
- QF 100B
- LSIP103B
- LS 100B
- IPNS100B
- IPE 103B
- IEEM100B
- FL 100B
- EECS103B
- CL 100B
- CHEM100B
- CHE 103B
- BMES101B
hydai commented
henryyang42 commented
I have told you we should merge 2 same EECS101B manually.
EECS
is one exception.
henryyang42 commented
I will solve it on crawling.