<commit_before>var marker, markersrc, markersize;
var coordx   = new Array();
var coordy   = new Array();

if (ie) {
	markersrc = "images/marker.gif";
} else if(saf) {
	markersrc = "images/blank.gif";
} else {
	markersrc = "images/marker.png";
}


markersize = 32;

//includes
//dwr (3)
//a_saveSamples
//x_core, x_event, x_dom, x_drag
//wz_jsgraphics
//dbox
//overlib


//hold our pending samples
var pendingSamples = new Array();
		
function addToPending(sample)	{
	if((saf && !safInArray(pendingSamples, sample)) || !pendingSamples.inArray(sample))	{
		//add this to the JS array
		pendingSamples[pendingSamples.length] = sample;
		//add to array list
		A_saveTmpSample(sample);
	}
}		
function clearPending()	{
	//clear the JS array
	pendingSamples = new Array();
	//clear the array list and a_js arrays
	A_clearTmpSamples();
	writePendings();
}		

function writePendings()	{
	var html = "";	
	document.getElementById("pending_samples").innerHTML = "";
	if(pendingSamples.length>0)	{
		for(var j=0; j<pendingSamples.length; j++)	{
				html += "<span style=\"margin-left:5px;\">\n";
				html += "<a href=\"#\" onmouseover=\"mapshow('"+pendingSamples[j]+"');return overlib('Sample:<br>\\n "+pendingSamples[j]+"');\" onmouseout=\"maphide();return nd();\">"+ pendingSamples[j] + "</a><br/>\n";
				html += "</span>";
		}
	}
	//html = pendingSamples;	
	document.getElementById("pending_samples").innerHTML = html;
}
		
		
/* http://www.embimedia.com/resources/labs/js-inarray.html */
Array.prototype.inArray = function (value)	{
	// Returns true if the passed value is found in the
	// array.  Returns false if it is not.
	var i;
	for (i=0; i < this.length; i++) {
		// Matches identical (===), not just similar (==).
		if (this[i] == value) {
			return true;
		}
	}
	return false;
};

//saf doesnt like the above inArray
function safInArray(ar, value)	{
	var i;
	for (i=0; i < ar.length; i++) {<commit_msg>removed underline on pca lassoed sample list<commit_after>var marker, markersrc, markersize;
var coordx   = new Array();
var coordy   = new Array();

if (ie) {
	markersrc = "images/marker.gif";
} else if(saf) {
	markersrc = "images/blank.gif";
} else {
	markersrc = "images/marker.png";
}


markersize = 32;

//includes
//dwr (3)
//a_saveSamples
//x_core, x_event, x_dom, x_drag
//wz_jsgraphics
//dbox
//overlib


//hold our pending samples
var pendingSamples = new Array();
		
function addToPending(sample)	{
	if((saf && !safInArray(pendingSamples, sample)) || !pendingSamples.inArray(sample))	{
		//add this to the JS array
		pendingSamples[pendingSamples.length] = sample;
		//add to array list
		A_saveTmpSample(sample);
	}
}		
function clearPending()	{
	//clear the JS array
	pendingSamples = new Array();
	//clear the array list and a_js arrays
	A_clearTmpSamples();
	writePendings();
}		

function writePendings()	{
	var html = "";	
	document.getElementById("pending_samples").innerHTML = "";
	if(pendingSamples.length>0)	{
		for(var j=0; j<pendingSamples.length; j++)	{
				html += "<span style=\"margin-left:5px;\">\n";
				html += "<a style=\"text-decoration:none;\" href=\"#\" onmouseover=\"mapshow('"+pendingSamples[j]+"');return overlib('Sample:<br>\\n "+pendingSamples[j]+"');\" onmouseout=\"maphide();return nd();\">"+ pendingSamples[j] + "</a><br/>\n";
				html += "</span>";
		}
	}
	//html = pendingSamples;	
	document.getElementById("pending_samples").innerHTML = html;
}
		
		
/* http://www.embimedia.com/resources/labs/js-inarray.html */
Array.prototype.inArray = function (value)	{
	// Returns true if the passed value is found in the
	// array.  Returns false if it is not.
	var i;
	for (i=0; i < this.length; i++) {
		// Matches identical (===), not just similar (==).
		if (this[i] == value) {
			return true;
		}
	}
	return false;
};

//saf doesnt like the above inArray
function safInArray(ar, value)	{
	var i;
	for (i=0; i < ar.length; i++) {
{'fraction_non_alphanumeric': 0.17806451612903226, 'fraction_numerical': 0.004129032258064516, 'mean_word_length': 3.9001264222503162, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2202787', 'n_tokens_mistral': 1471, 'n_tokens_neox': 1378, 'n_words': 339}