<commit_before>(function() {
	window.technicalDetails = {
		init: function() {
		},
	}
})();
<commit_msg>Sending ajax request to retrieve viewable result on double click on technical details component.<commit_after>(function() {
	window.technicalDetails = {
		init: function(dialog) {
			var url = window.componentFormUrls['TECHNICAL DETAILS'];
			var container = dialog.find(".technical-details-container");
			if (container.length == 0) {
				var container = $("<div class=\"technical-details-container\"></div>");
				dialog.append(container);
				$.ajax({
					url: url,
					data: window.technicalDetails.getOutputParamDetails(dialog),
					context: container
				}).done(function(resp) {
					$(this).html(resp);
				});
				window.files.customizeDialog(dialog);
			}
		},

		getOutputParamDetails: function(dialog) {
			var inParam = dialog.find("input[value=INPUT_CONNECTION]");
			var srcRefField = inParam.closest("div").find("input[id$=source_ref]");
			var oParamField = window.experimentForm.getOutputParam(srcRefField);
			if (oParamField) {
				return {
					pv_name: oParamField.attr("name"),
				}
			}
			return {}
		},
	}
})();

{'fraction_non_alphanumeric': 0.15693112467306017, 'fraction_numerical': 0.0008718395815170009, 'mean_word_length': 4.035087719298246, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4028130', 'n_tokens_mistral': 432, 'n_tokens_neox': 351, 'n_words': 63}