<commit_before>function listAction(listId, action, confirmation, listItem) {
	var form = document.forms[listId + '-form'];
	if (confirmation!='null' && confirmation!='') {
		if (!confirm(confirmation)) {
			return false;
		}
	}
	form.action.value='listsingleaction';
	form.listaction.value=action;
	form.selitems.value=listItem;
	submitForm(form);
}

function listIndepAction(listId, action, confirmation) {
	var form = document.forms[listId + '-form'];
	if (confirmation!='null' && confirmation!='') {
		if (!confirm(confirmation)) {
			return false;
		}
	}
	form.action.value='listindependentaction';
	form.listaction.value=action;
	submitForm(form);
}

function listSelect(listId) {<commit_msg>changed type from binary to text<commit_after>function listAction(listId, action, confirmation, listItem) {
	var form = document.forms[listId + '-form'];
	
	// use the param content as default
	var confText = confirmation;
	try {
	    // try to user the param as an id of a div tag, and use its content
		confText = document.getElementById(confirmation).firstChild.nodeValue;
	} catch (e) {
	    // ignore
	}
	if (confText!='null' && confText!='') {
		if (!confirm(confText)) {
			return false;
		}
	}
	form.action.value='listsingleaction';
	form.listaction.value=action;
	form.selitems.value=listItem;
	submitForm(form);
}

function listIndepAction(listId, action, confirmation) {
	var form = document.forms[listId + '-form'];
	if (confirmation!='null' && confirmation!='') {
		if (!confirm(confirmation)) {
			return false;
		}
	}
	form.action.value='listindependentaction';
	form.listaction.value=action;
	submitForm(form);
}

function listSelect(listId) {
{'fraction_non_alphanumeric': 0.1473429951690821, 'fraction_numerical': 0.0, 'mean_word_length': 5.003623188405797, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7493417', 'n_tokens_mistral': 562, 'n_tokens_neox': 538, 'n_words': 116}