<commit_before>function ddg_spice_in_theaters(rotten) {
	if(rotten.movies.length > 0) {
		console.log(rotten);
		var query = DDG.get_query().split(' ');
		var mpaa;
		for(var i = 0;i < query.length;i++) {
			if(query[i] === 'r' || query[i] === 'pg' || query[i] === 'pg-13' || query[i] === 'g') {
				mpaa = query[i].toUpperCase();
				console.log(mpaa);
			}
		}
		var out = '', length, executed = false;
		out += '<div style="movies"><ul>';
		for(var i = 0;i < rotten.movies.length;i++) {
            var movie = rotten.movies[i];
            var rating;
            if (movie.ratings.critics_score === -1) {
            	rating = "Not Yet Reviewed";
            } else {
            	rating = movie.ratings.critics_rating + ' - ' + movie.ratings.critics_score +'%';
            }
            
			var bullet = '<li><a href="' + movie.links.alternate + '" '
						+ 'title="' + (movie.critics_consensus ? movie.critics_consensus : '') + '">'
                    	+ movie.title +'</a> ('
                    	+ movie.mpaa_rating + ') <i>' 
                    	+ rating
                   		+ '</i></li>';
            if(mpaa) {
            	if(mpaa === movie.mpaa_rating) {
            		executed = true;
					out += bullet;
				}
			} else {
				executed = true;
				out += bullet;
			}
        }
        //Check if the
        if(!executed) {
        	return;
        }
		out += '</ul></div>';
		var items = [[]];
		items[0]['a'] = out;
		items[0]['h'] = 'Currently In Theaters';
		items[0]['s'] = 'Rotten Tomatoes';
		items[0]['u'] = 'http://www.rottentomatoes.com/movie/in-theaters/';
		items[0]['force_big_header'] = true;
		items[0]['f'] = 1;
		nra(items);
	}
}
<commit_msg>Fixed indentation<commit_after>function ddg_spice_in_theaters(rotten) {
	if(rotten.movies.length > 0) {
		console.log(rotten);
		var query = DDG.get_query().split(' ');
		var mpaa;
		for(var i = 0;i < query.length;i++) {
			if(query[i] === 'r' || query[i] === 'pg' || query[i] === 'pg-13' || query[i] === 'g') {
				mpaa = query[i].toUpperCase();
				console.log(mpaa);
			}
		}
		var out = '', length, executed = false;
		out += '<div style="movies"><ul>';
		for(var i = 0;i < rotten.movies.length;i++) {
			var movie = rotten.movies[i];
			var rating;
			if (movie.ratings.critics_score === -1) {
				rating = "Not Yet Reviewed";
			} else {
				rating = movie.ratings.critics_rating + ' - ' + movie.ratings.critics_score +'%';
			}

			var bullet = '<li><a href="' + movie.links.alternate + '" '
						+ 'title="' + (movie.critics_consensus ? movie.critics_consensus : '') + '">'
						+ movie.title +'</a> ('
						+ movie.mpaa_rating + ') <i>' 
						+ rating
						+ '</i></li>';
			if(mpaa) {
				if(mpaa === movie.mpaa_rating) {
					executed = true;
					out += bullet;
				}
			} else {
				executed = true;
				out += bullet;
			}
		}
		//Check if the
		if(!executed) {
			return;
		}
		out += '</ul></div>';
		var items = [[]];
		items[0]['a'] = out;
		items[0]['h'] = 'Currently In Theaters';
		items[0]['s'] = 'Rotten Tomatoes';
		items[0]['u'] = 'http://www.rottentomatoes.com/movie/in-theaters/';
		items[0]['force_big_header'] = true;
		items[0]['f'] = 1;
		nra(items);
	}
}

{'fraction_non_alphanumeric': 0.2112232030264817, 'fraction_numerical': 0.00819672131147541, 'mean_word_length': 2.2983367983367984, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5033686', 'n_tokens_mistral': 1380, 'n_tokens_neox': 1192, 'n_words': 209}