<commit_before>from genetic import interface, scheduler

def init(): # call globals.init() from main
    global courses, course_titles, rooms, time_slots, instructors, mainScheduler, start_times, end_times

    # Get all courses and instructors from file
    inp = open("genetic/seeds/Scheduler.csv")
    courses_and_details = interface.csv_dict_reader(inp)
    instructors = interface.get_instructors(courses_and_details)
    courses_credits_and_instructors = \
        interface.include_instructors_in_dict(courses_and_details, instructors)
    courses = interface.get_courses(courses_credits_and_instructors)
    course_titles = [course.code for course in courses]

    # stuff that should be moved to a file
    rooms = ["CHEK 212", "CHEK 105", "CHEK 213"]
    time_slots = ['09:00-10:00', '10:00-11:00', '11:00-12:00', '12:00-13:00']
    time_slot_divide = 2
    #DO NOT DO THIS AGAIN
    #GREG IS SORRY
    try:<commit_msg>Add spaces to rooms; add different building for the sake of testing<commit_after>from genetic import interface, scheduler

def init(): # call globals.init() from main
    global courses, course_titles, rooms, time_slots, instructors, mainScheduler, start_times, end_times

    # Get all courses and instructors from file
    inp = open("genetic/seeds/Scheduler.csv")
    courses_and_details = interface.csv_dict_reader(inp)
    instructors = interface.get_instructors(courses_and_details)
    courses_credits_and_instructors = \
        interface.include_instructors_in_dict(courses_and_details, instructors)
    courses = interface.get_courses(courses_credits_and_instructors)
    course_titles = [course.code for course in courses]

    # stuff that should be moved to a file
    rooms = ["CHEK 212", "CHEK 105", "CHEK 213", "TEMP 001"]
    time_slots = ['09:00-10:00', '10:00-11:00', '11:00-12:00', '12:00-13:00']
    time_slot_divide = 2
    #DO NOT DO THIS AGAIN
    #<NAME>
    try:
{'fraction_non_alphanumeric': 0.0980699008868023, 'fraction_numerical': 0.04538341158059468, 'mean_word_length': 4.387640449438202, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '2285760', 'n_tokens_mistral': 702, 'n_tokens_neox': 637, 'n_words': 160}