<commit_before>var Event = {};
Event.events = {
	event_list : {
		us_infection : [
			{date: '2014-09-30', description: '<NAME> is confirmed to have ebola'},
			{date: '2014-10-08', description: '<NAME> dies'},
			{date: '2014-10-11', description: '<NAME> tests positive for ebola'},
			{date: '2014-10-15', description: '<NAME> tests positive for ebola'},
			{date: '2014-10-23', description: 'Doctor <NAME> tests positive for ebola'}
		],

		us_imported: [
			{date: '2014-08-02', description: 'Aid worker and missionary arrive for treatment'},
			{date: '2014-09-05', description: 'A doctor arrives for ebola treatment'},
			{date: '2014-09-09', description: 'Second doctor arrives for ebola treatment'},
			// {date: '2014-10-06', description: 'An NBC cameraman arrives for ebola treatment'}
		],

		brazil: [
			{date: '2014-10-10', description: 'A West African man is tested for ebola in Brazil'}
		],		
	},

	get_events: function(event_names) {
		if (!event_names) { return []; }

		var found = [];
		var all_events = this.event_list;
		event_names.forEach(function(d) {
			listed_events = all_events[d];
			if (listed_events) { 
				found = found.concat(listed_events); 
			}
			else { console.error('Unable to find events named ' + d); }
		});

		return found;
	}
};
<commit_msg>minor styling refactors<commit_after>var Event = {};
Event.events = {
	event_list : {
		us_infection : [
			{date: '2014-09-30', description: '<NAME> is confirmed to have ebola'},
			{date: '2014-10-08', description: '<NAME> dies'},
			{date: '2014-10-11', description: '<NAME> tests positive for ebola'},
			{date: '2014-10-15', description: '<NAME> tests positive for ebola'},
			{date: '2014-10-23', description: 'Doctor <NAME> tests positive for ebola'}
		],

		us_imported: [
			{date: '2014-08-02', description: 'Aid worker and missionary arrive for treatment'},
			{date: '2014-09-05', description: 'A doctor arrives in US for ebola treatment'},
			{date: '2014-09-09', description: 'Second doctor arrives for ebola treatment'},
			// {date: '2014-10-06', description: 'An NBC cameraman arrives for ebola treatment'}
		],

		brazil: [
			{date: '2014-10-10', description: 'A West African man is tested for ebola in Brazil'}
		],		
	},

	get_events: function(event_names) {
		if (!event_names) { return []; }

		var found = [];
		var all_events = this.event_list;
		event_names.forEach(function(d) {
			listed_events = all_events[d];
			if (listed_events) { 
				found = found.concat(listed_events); 
			}
			else { console.error('Unable to find events named ' + d); }
		});

		return found;
	}
};

{'fraction_non_alphanumeric': 0.16049382716049382, 'fraction_numerical': 0.06172839506172839, 'mean_word_length': 3.810760667903525, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '5297416', 'n_tokens_mistral': 1079, 'n_tokens_neox': 855, 'n_words': 250}