<commit_before>function makeStruct(names) {
  var names = names.split(' ');
  var count = names.length;
  function constructor() {
    for (var i = 0; i < count; i++) {
      this[names[i]] = arguments[i];
    }
  }
  return constructor;
} 

var CourseOptionEnum = Object.freeze({
	ACM: {str: "ACM"},
	CS: {str: "CS"}
});
var CourseGradeEnum = Object.freeze({
	EITHER: {str: "EITHER"},
	GRADES: {str: "GRADES"},
	PF: {str: "PASS/FAIL"}
});




var CaltechCourse = makeStruct("ID course_option course_number course_name units section prof_first_name prof_last_name subtitle annotations fixed_time times days locations grade");
/*
ID,
course_option,
course_number,
course_name,
units,
section,
prof_first_name,
prof_last_name,
subtitle,
annotations,
fixed_time,
times,
days,
locations,
grades
*/

var MasterCourseList = [
new CaltechCourse(0,
	CourseOptionEnum.ACM,
	"95",
	"Introductory Methods of Applied Mathematics",
	[4,0,8],
	1,
	"Pierce",
	"N",
	"",
	[],
	true,
	[[11, 12], [11,12]],
	[[1,3,5],[2]],
	["119 KRK", "11 DWN"],
	CourseGradeEnum.EITHER
	),

new CaltechCourse(1,
	CourseOptionEnum.CS,
	"156a",
	"Learning Systems",
	[0-0-9],
	1,
	"Abu-Mostafa",
	"Y",
	"",
	["Organization meeting, M 5-6PM at 070 MRE"],
	false,
	[[8,9]],
	[[1]],
	[],
	CourseGradeEnum.GRADES
	)
];


var activeCoursesID = [];

var activeCoursesAtomicEvents = [];

var activeCourseEventObject = {
	events: activeCoursesAtomicEvents,
	allDayDefault: false
};




function getCourseFullName (course_id) {
	var cc = MasterCourseList[course_id];
	return cc.course_name;
}

function getCourseFixedTime (course_id) {
	var cc = MasterCourseList[course_id];
	return cc.fixed_time;
}

function getCourseMultiplicity (course_id) {
	var cc = MasterCourseList[course_id];
	return cc.times.length;
}
<commit_msg>testing for conflicting classes<commit_after>function makeStruct(names) {
  var names = names.split(' ');
  var count = names.length;
  function constructor() {
    for (var i = 0; i < count; i++) {
      this[names[i]] = arguments[i];
    }
  }
  return constructor;
} 

var CourseOptionEnum = Object.freeze({
	ACM: {str: "ACM"},
	CS: {str: "CS"}
});
var CourseGradeEnum = Object.freeze({
	EITHER: {str: "EITHER"},
	GRADES: {str: "GRADES"},
	PF: {str: "PASS/FAIL"}
});




var CaltechCourse = makeStruct("ID course_option course_number course_name units section prof_first_name prof_last_name subtitle annotations fixed_time times days locations grade");
/*
ID,
course_option,
course_number,
course_name,
units,
section,
prof_first_name,
prof_last_name,
subtitle,
annotations,
fixed_time,
times,
days,
locations,
grades
*/

var MasterCourseList = [
new CaltechCourse(0,
	CourseOptionEnum.ACM,
	"95",
	"Introductory Methods of Applied Mathematics",
	[4,0,8],
	1,
	"Pierce",
	"N",
	"",
	[],
	true,
	[[11, 12], [11,12]],
	[[1,3,5],[2]],
	["119 KRK", "11 DWN"],
	CourseGradeEnum.EITHER
	),

new CaltechCourse(1,
	CourseOptionEnum.CS,
	"156a",
	"Learning Systems",
	[0-0-9],
	1,
	"Abu-Mostafa",
	"Y",
	"",
	["Organization meeting, M 5-6PM at 070 MRE"],
	false,
	[[8,9]],
	[[1]],
	[],
	CourseGradeEnum.GRADES
	),

new CaltechCourse(2,
	CourseOptionEnum.ACM,
	"96",
	"Introductory Methods of Applied Mathematics",
	[4,0,8],
	1,
	"Pierce",
	"N",
	"",
	[],
	true,
	[[11, 12], [11,12]],
	[[1,3,5],[2]],
	["119 KRK", "11 DWN"],
	CourseGradeEnum.EITHER
	),
];


var activeCoursesID = [];

var activeCoursesAtomicEvents = [];

var activeCourseEventObject = {
	events: activeCoursesAtomicEvents,
	allDayDefault: false
};




function getCourseFullName (course_id) {
	var cc = MasterCourseList[course_id];
	return cc.course_name;
}

function getCourseFixedTime (course_id) {
	var cc = MasterCourseList[course_id];
	return cc.fixed_time;
}

function getCourseMultiplicity (course_id) {
	var cc = MasterCourseList[course_id];
	return cc.times.length;
}

{'fraction_non_alphanumeric': 0.1585014409221902, 'fraction_numerical': 0.027770500392978778, 'mean_word_length': 4.855828220858895, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4476397', 'n_tokens_mistral': 1603, 'n_tokens_neox': 1474, 'n_words': 334}