<commit_before>/* section for outer block start */
function replaceSpeChar(div,d1,searchChar)
{
	var y = d1.innerHTML;
	insno=insno+1;
	var starpos = y.indexOf(searchChar); // pos of 1st `.  ie: No.
	var adstr="";
	var c=0;
	for(c=0;c<starpos;c++)
	{
		adstr = y.replace(searchChar,insno);
		starpos = y.indexOf(searchChar); 
		y = adstr;
	}
	addDiv(div,adstr);
}

/* section for outer block end */

function addDiv(div,adstr)
{
	var x = div.innerHTML;
	div.innerHTML = div.innerHTML +adstr;
	alert(div.innerHTML);
}<commit_msg>delete function is added for delete row<commit_after>/* section for outer block start */
function replaceSpeChar(div,d1,searchChar)
{
	var y = d1.innerHTML;
	insno=insno+1;
	var starpos = y.indexOf(searchChar); // pos of 1st `.  ie: No.
	var adstr="";
	var c=0;
	for(c=0;c<starpos;c++)
	{
		adstr = y.replace(searchChar,insno);
		starpos = y.indexOf(searchChar); 
		y = adstr;
	}
	addDiv(div,adstr);
}

/* section for outer block end */

function addDiv(div,adstr)
{
	var x = div.innerHTML;
	div.innerHTML = div.innerHTML +adstr;
	alert(div.innerHTML);
}

function  deleteChecked(subdivtag,action)
{
	var r = new Array(); 
	var element = document.getElementById(subdivtag);
	var pNode = element.parentNode;
	//var counts = element.rows.length;
	var counts = document.forms[0].counter.value;
	var delCounts = 0;
	for(i=1;i<=counts;i++)//2
	{
		itemCheck="chk_"+i;
		var chk = document.getElementById(itemCheck);
		if(document.all[itemCheck].checked==true){
			var currentRow = chk.parentNode.parentNode;
			var k = currentRow.rowIndex;
			pNode.deleteRow(k);
			delCounts++;
		}
	}
	
	//document.forms[0].counter.value = element.rows.length;
	document.forms[0].counter.value = (document.forms[0].counter.value - delCounts);
	document.forms[0].action = action;
	document.forms[0].submit();
		
		
}
		
{'fraction_non_alphanumeric': 0.1566265060240964, 'fraction_numerical': 0.011500547645125958, 'mean_word_length': 4.175637393767706, 'pattern_counts': {'":': 0, '<': 6, '<?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': '2593875', 'n_tokens_mistral': 720, 'n_tokens_neox': 690, 'n_words': 141}