<commit_before>$(document).ready(function() {
    var uploader;

	$("#plupload_files").pluploadQueue({
		// General settings
		runtimes : 'gears, html5, html4',
		url : '/Plupload/upload/format/json',
		chunk_size: '5mb',
		unique_names: 'true',
		multiple_queues : 'true',
		filters : [
			{title: "Audio Files", extensions: "ogg,mp3"}
		]
	});

	uploader = $("#plupload_files").pluploadQueue();

	uploader.bind('FileUploaded', function(up, file, json) {
		var j = jQuery.parseJSON(json.response);
		
		if(j.error !== undefined) {
			var row = $("<tr/>")
				.append('<td>' + file.name +'</td>')
				.append('<td>' + j.error.message + '</td>');
				
			$("#plupload_error").find("table").append(row);
			$("#plupload_error table").css("display", "inline-table");
		}else{
		    var tempFileName = j.tempfilepath;
		    $.get('/Plupload/copyfile/format/json/name/'+encodeURIComponent(file.name)+'/tempname/'+encodeURIComponent(tempFileName), function(json){
		        var jr = jQuery.parseJSON(json);
		        if(jr.error !== undefined) {
		            var row = $("<tr/>")
		                .append('<td>' + file.name +'</td>')
		                .append('<td>' + jr.error.message + '</td>');
		                
		            $("#plupload_error").find("table").append(row);
		            $("#plupload_error table").css("display", "inline-table");<commit_msg>cc-1710: Added more supported extensions to the allowed upload list<commit_after>$(document).ready(function() {
    var uploader;

	$("#plupload_files").pluploadQueue({
		// General settings
		runtimes : 'gears, html5, html4',
		url : '/Plupload/upload/format/json',
		chunk_size: '5mb',
		unique_names: 'true',
		multiple_queues : 'true',
		filters : [
			{title: "Audio Files", extensions: "ogg,mp3,oga,flac,aac,bwf"}
		]
	});

	uploader = $("#plupload_files").pluploadQueue();

	uploader.bind('FileUploaded', function(up, file, json) {
		var j = jQuery.parseJSON(json.response);
		
		if(j.error !== undefined) {
			var row = $("<tr/>")
				.append('<td>' + file.name +'</td>')
				.append('<td>' + j.error.message + '</td>');
				
			$("#plupload_error").find("table").append(row);
			$("#plupload_error table").css("display", "inline-table");
		}else{
		    var tempFileName = j.tempfilepath;
		    $.get('/Plupload/copyfile/format/json/name/' +
                  encodeURIComponent(file.name)+'/tempname/' +
                  encodeURIComponent(tempFileName), function(json){
		        var jr = jQuery.parseJSON(json);
		        if(jr.error !== undefined) {
		            var row = $("<tr/>")
		                .append('<td>' + file.name +'</td>')
		                .append('<td>' + jr.error.message + '</td>');
		                
		            $("#plupload_error").find("table").append(row);
		            $("#plupload_error table").css("display", "inline-table");
{'fraction_non_alphanumeric': 0.2050194414987628, 'fraction_numerical': 0.0042417815482502655, 'mean_word_length': 2.9034482758620688, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '364764', 'n_tokens_mistral': 1014, 'n_tokens_neox': 910, 'n_words': 154}