<commit_before>function createJob(runName){
	var jobData = "{\"runName\" : \"" + runName + "\"}";
	var jobPostUrl = "/loader-server/jobs"
	$.ajax({
		url:jobPostUrl,
		type:"post",
		contentType:"application/json",
		data: jobData,
		success: function(){
			console.log("Job Submitted");},
		error: function(){
			console.log("Job Submission Failed");},
		complete: function(){
			console.log("Job Created, Successfully");
			$("#success").append("<p>Job Created, Successfully!!</p>");
			$("#success").dialog();
		}
	});
}<commit_msg>fixed run created issue<commit_after>function createJob(runName){
	var jobData = "{\"runName\" : \"" + runName + "\"}";
	var jobPostUrl = "/loader-server/jobs"
	$.ajax({
		url:jobPostUrl,
		type:"post",
		contentType:"application/json",
		data: jobData,
		success: function(data){
			console.log("Job Submitted");},
		error: function(){
			console.log("Job Submission Failed");},
		complete: function(xhr, status){
			if(xhr.status==200){
				console.log("Job Created, Successfully");
				$("#success").append("<p>Job Created, Successfully!!</p>");
				$("#success").dialog(
					height:100,
					width:100,
					dialogClass:"dialogClass",
					position:{ my: "center", at: "center", of: window },
					close: function(){
						location.reload();
					});
			} else {
				$("#success").append("<p>Job Creation, Failed!!</p>");
				$("#success").dialog(
					height:100,
					width:100,
					dialogClass:"dialogClass",
					position:{ my: "center", at: "center", of: window },
					close: function(){
						var resp =xhr.responseText.text();
						var respJson = $.parseJSON(resp);
						window.location="/job_details.html?&jobid=" + respJson["jobId"];
					});
			}
		});
}
{'fraction_non_alphanumeric': 0.20960187353629978, 'fraction_numerical': 0.008782201405152224, 'mean_word_length': 3.882857142857143, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5709312', 'n_tokens_mistral': 683, 'n_tokens_neox': 548, 'n_words': 109}