<commit_before>var Kc = Kc || {};
Kc.Inline = Kc.Inline || {};
(function(namespace, $) {
	namespace.determineElementWidth = function(element) {
		var charWidth = 0;
		if ($(element).is("input, textarea")) {
			charWidth = ($(element).val().length + 2) * 8;
		} else if ($(element).is("select")) {
			charWidth = ($(element).find("option:selected").text().length + 2) * 8;
		}
		if (charWidth < 40) {
			charWidth = 40;
		}
		return charWidth;
	};
	namespace.setWidth = function(element) {
		$(element).css("width", (namespace.determineElementWidth(element) + 'px'));<commit_msg>KRACOEUS-8274 : Extra padding for select<commit_after>var Kc = Kc || {};
Kc.Inline = Kc.Inline || {};
(function(namespace, $) {
	namespace.determineElementWidth = function(element) {
		var charWidth = 0;
		if ($(element).is("input, textarea")) {
			charWidth = ($(element).val().length + 2) * 8;
		} else if ($(element).is("select")) {
			charWidth = ($(element).find("option:selected").text().length + 2) * 8 + 30;
		}
		if (charWidth < 40) {
			charWidth = 40;
		}
		return charWidth;
	};
	namespace.setWidth = function(element) {
		$(element).css("width", (namespace.determineElementWidth(element) + 'px'));
{'fraction_non_alphanumeric': 0.20454545454545456, 'fraction_numerical': 0.020202020202020204, 'mean_word_length': 4.380090497737557, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '1084352', 'n_tokens_mistral': 460, 'n_tokens_neox': 403, 'n_words': 78}