Describe the bug
When retrieving many answers related to courses, words are comma separated instead of space separated.
To Reproduce
Hit the /ask endpoint with "What are the prerequisites for CPE 357?"
Returns:
"The prerequisites for CPE 357 are: CSC/CPE,102,and,CSC/CPE,103,with,a,grade,of,C-,or,better,or,consent,of,instructor,,or,CSC/CPE,202,and,CSC/CPE,203,with,a,grade,of,C-,or,better,or,consent,of,instructor;,and,CSC,225,or,CPE/EE,229,or,CPE/EE,233..",
Expected behavior
"The prerequisites for CPE 357 are: CSC/CPE 102 and CSC/CPE 103 with a grade of C- or better or consent of instructor, or CSC/CPE 202 and CSC/CPE 203 with a grade of C- or better or consent of instructor; and CSC 225 or CPE/EE 229 or CPE/EE 233."
This is due to how words are joined across multiple lines in the course scraper in the csai-scraping repo. I'll push a fix by the end of today.
Describe the bug When retrieving many answers related to courses, words are comma separated instead of space separated.
To Reproduce Hit the /ask endpoint with "What are the prerequisites for CPE 357?"
Returns:
"The prerequisites for CPE 357 are: CSC/CPE,102,and,CSC/CPE,103,with,a,grade,of,C-,or,better,or,consent,of,instructor,,or,CSC/CPE,202,and,CSC/CPE,203,with,a,grade,of,C-,or,better,or,consent,of,instructor;,and,CSC,225,or,CPE/EE,229,or,CPE/EE,233..",
Expected behavior "The prerequisites for CPE 357 are: CSC/CPE 102 and CSC/CPE 103 with a grade of C- or better or consent of instructor, or CSC/CPE 202 and CSC/CPE 203 with a grade of C- or better or consent of instructor; and CSC 225 or CPE/EE 229 or CPE/EE 233."
This is due to how words are joined across multiple lines in the course scraper in the csai-scraping repo. I'll push a fix by the end of today.