<commit_before>class CourseCatalog(object):
	def getCourses(, name, number):
		pass

	def addCourse(, name, number):
		pass

	def removeCourse(, name, number):
		pass

	def modifyCourseCapacity(newCapacity):
		pass

	def __init__(self):
		pass

<commit_msg>EC-55:<commit_after>from app.subsystem.courses.course import Course
from app.subsystem.courses.lecture import Lecture
from app.subsystem.courses.tutorial import Tutorial
from app.subsystem.courses.lab import Lab
from app.subsystem.event.event import Event
from itertools import chain


class CourseCatalog(object):


    # Returns List of Courses that contain partialName in either Name or in Deptnum
    #or Department or Number
     def searchCourses(partialName):
        nospacesstring = partialName.replace(" ","")
        c1 = Course.objects.filter(name__icontains=partialName)
        c2 = Course.objects.filter(department__icontains=partialName)
        c3 = Course.objects.filter(number__icontains=partialName)
        c4 = Course.objects.filter(deptnum__icontains=nospacesstring)

        result_list = list(chain(c1, c2, c3, c4))

        return result_list

	# def addCourse(, name, number):
	# 	pass
    #
	# def removeCourse(, name, number):
	# 	pass
    #
	# def modifyCourseCapacity(newCapacity):
	# 	pass
    #
	# def __init__(self):
	# 	pass


{'fraction_non_alphanumeric': 0.09332321699544764, 'fraction_numerical': 0.007587253414264037, 'mean_word_length': 3.940074906367041, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '242358', 'n_tokens_mistral': 444, 'n_tokens_neox': 418, 'n_words': 101}