<commit_before><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

<%-- TagLibs --%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>

<%

	response.setHeader("Cache-Control","no-cache");
	response.setHeader("Pragma","no-cache");
	response.setDateHeader ("Expires", 0);
%>
<%-- Imports --%>
<%@
	page language="java" contentType="text/html"
	import="edu.wustl.query.util.global.Constants, org.apache.struts.Globals"
%>
<%@ page language="java" isELIgnored="false"%>
<%@ page import="org.apache.struts.action.ActionMessages, edu.wustl.query.util.global.Utility"%>
<%@ page import="edu.wustl.common.querysuite.queryobject.impl.AbstractQuery"%>
<%@ page import="edu.wustl.query.util.global.Constants"%>
<script language="JavaScript" type="text/javascript" src="jss/advancequery/newReleaseMsg.js"></script>
<script>
function closePopup()
{
	var checkboxArray=document.getElementsByName('chkbox');
	clearSelBoxList(parent.window.document.getElementById("queryId"));
	clearSelBoxList(parent.window.document.getElementById("queryTitle"));
	clearSelBoxList(parent.window.document.getElementById("queryType"));


	var isOptionAdded=false;

	if(checkboxArray!=null)
	{
			var numOfRows =checkboxArray.length;
		
			for(var count = 1; count <= numOfRows; count++)
			{
					var alreadyExist=false;
					var id = 'checkbox_'+count;
					
				if(document.getElementById(id).checked)
				{
					//checks that query already exists in parent window
					if(checkAlreadyPresent(document.getElementById("queryIdControl_"+count).value)==false)
					{
						addOption(parent.window.document.getElementById("queryId"),document.getElementById("queryIdControl_"+count).value,document.getElementById("queryIdControl_"+count).value);

						addOption(parent.window.document.getElementById("queryTitle"),""+document.getElementById("queryTitleControl_"+count).value,document.getElementById("queryIdControl_"+count).value);
						addOption(parent.window.document.getElementById("queryType"),""+document.getElementById("queryTypeControl_"+count).value,document.getElementById("queryIdControl_"+count).value);
       
						  //add selected count query to dropdowns of parent window
						if((document.getElementById("queryTypeControl_"+count).value)=="Get Count")
					  {
						 var countQDD= parent.window.document.getElementsByName("countQueryDropDown");<commit_msg>change related to query type<commit_after><META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

<%-- TagLibs --%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>

<%

	response.setHeader("Cache-Control","no-cache");
	response.setHeader("Pragma","no-cache");
	response.setDateHeader ("Expires", 0);
%>
<%-- Imports --%>
<%@
	page language="java" contentType="text/html"
	import="edu.wustl.query.util.global.Constants, org.apache.struts.Globals"
%>
<%@ page language="java" isELIgnored="false"%>
<%@ page import="org.apache.struts.action.ActionMessages, edu.wustl.query.util.global.Utility"%>
<%@ page import="edu.wustl.common.querysuite.queryobject.impl.AbstractQuery"%>
<%@ page import="edu.wustl.query.util.global.Constants"%>
<script language="JavaScript" type="text/javascript" src="jss/advancequery/newReleaseMsg.js"></script>
<script>
function closePopup()
{
	var checkboxArray=document.getElementsByName('chkbox');
	clearSelBoxList(parent.window.document.getElementById("queryId"));
	clearSelBoxList(parent.window.document.getElementById("queryTitle"));
	clearSelBoxList(parent.window.document.getElementById("queryType"));


	var isOptionAdded=false;

	if(checkboxArray!=null)
	{
			var numOfRows =checkboxArray.length;
		
			for(var count = 1; count <= numOfRows; count++)
			{
					var alreadyExist=false;
					var id = 'checkbox_'+count;
					
				if(document.getElementById(id).checked)
				{
					//checks that query already exists in parent window
					if(checkAlreadyPresent(document.getElementById("queryIdControl_"+count).value)==false)
					{
						addOption(parent.window.document.getElementById("queryId"),document.getElementById("queryIdControl_"+count).value,document.getElementById("queryIdControl_"+count).value);

						addOption(parent.window.document.getElementById("queryTitle"),""+document.getElementById("queryTitleControl_"+count).value,document.getElementById("queryIdControl_"+count).value);
						addOption(parent.window.document.getElementById("queryType"),""+document.getElementById("queryTypeControl_"+count).value,document.getElementById("queryIdControl_"+count).value);
       
						  //add selected count query to dropdowns of parent window
						if((document.getElementById("queryTypeControl_"+count).value)=="GetCount")
					  {
						 var countQDD= parent.window.document.getElementsByName("countQueryDropDown");
{'fraction_non_alphanumeric': 0.16355334163553342, 'fraction_numerical': 0.0008302200083022001, 'mean_word_length': 6.086764705882353, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 31, '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': '14390', 'n_tokens_mistral': 1653, 'n_tokens_neox': 1468, 'n_words': 176}