<commit_before>import requests
import http.cookiejar
import time

class CourseFinder:
    """ Some sort of description
    - stuff
    """

    def __init__(self):
        pass

    def search(self, query='', requirements=''):
        """ Perform a UofT Course Finder search and return the data.
        """
        url = 'http://coursefinder.utoronto.ca/course-search/search/courseSearch/course/search'

        data = {
            'queryText': query,
            'requirements': requirements,
            'campusParam': 'St. George,Scarborough,Mississauga'
        }

        cookies = http.cookiejar.CookieJar()<commit_msg>Learning doctoring standards<commit_after>import requests
import http.cookiejar
import time


class CourseFinder:
    """A wrapper for utilizing UofT's Course Finder web service."""

    def __init__(self):
        self.host = 'http://coursefinder.utoronto.ca'

    def search(self, query='', requirements=''):
        """Perform a UofT Course Finder search and return data as a dict."""

        url = '%s/course-search/search/courseSearch/course/search' % self.host

        data = {
            'queryText': query,
            'requirements': requirements,
            'campusParam': 'St. George,Scarborough,Mississauga'
        }

        cookies = http.cookiejar.CookieJar()
{'fraction_non_alphanumeric': 0.11485451761102604, 'fraction_numerical': 0.0, 'mean_word_length': 2.590659340659341, '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': '7530763', 'n_tokens_mistral': 375, 'n_tokens_neox': 359, 'n_words': 93}