<commit_before><%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<c:if test="${not empty theSample}">
	<jsp:include page="/bodyTitle.jsp">
		<jsp:param name="pageTitle" 
			value="${fn:toUpperCase(location)} Sample ${theSample.domain.name} Characterization" />
		<jsp:param name="topic" value="char_all_tab_help" />
		<jsp:param name="glossaryTopic" value="glossary_help" />
	</jsp:include>
</c:if>
<jsp:include page="/bodyMessage.jsp?bundle=sample" />
<div class="shadetabs" id="summaryTabALL">
	<ul>
		<li class="selected">
			<a
				href="javascript:showSummary('ALL', ${fn:length(characterizationTypes)})"
				title="All"><span>All</span> </a>
			<c:url var="printUrl" value="characterization.do">
				<c:param name="dispatch" value="summaryPrint" />
				<c:param name="sampleId" value="${sampleId}" />
				<c:param name="location" value="${location}" />
			</c:url>
			<c:url var="exportUrl" value="characterization.do">
				<c:param name="dispatch" value="summaryExport" />
				<c:param name="sampleId" value="${sampleId}" />
				<c:param name="location" value="${location}" />
			</c:url>
			<a href="javascript:printPage('${printUrl}')" id="printUrlAll"
				style="display: none;"></a>
			<a href="${exportUrl}" id="exportUrlAll" style="display: none;"></a>
		</li>
		<li>
			<c:forEach var="type" items="${characterizationTypes}"
				varStatus="ind">
				<a
					href="javascript:showSummary('${ind.count}', ${fn:length(characterizationTypes)})"
					title="${type}"><span>${type}</span> </a>
				<a href="javascript:printPage('${printUrl}&type=${type}')"
					id="printUrl${ind.count}" style="display: none;"></a>
				<a href="${exportUrl}&type=${type}" id="exportUrl${ind.count}"
					style="display: none;"></a>
			</c:forEach>
		</li>
		<li>
			<a href="characterization.do?dispatch=setupNew&sampleId=${sampleId }"><span>other</span>
			</a>
		</li>
	</ul>
</div>
<c:forEach var="type" items="${characterizationTypes}" varStatus="ind">
	<div class="shadetabs" id="summaryTab${ind.count}"
		style="display: none;">
		<ul>
			<li>
				<a
					href="javascript:showSummary('ALL',${fn:length(characterizationTypes)})"
					title="All"><span>All</span> </a>
			</li>
			<c:forEach var="type" items="${characterizationTypes}"
				varStatus="ind2">
				<c:choose>
					<c:when test="${ind.count eq ind2.count }">
						<c:set var="selectedClass" value="selected" />
					</c:when>
					<c:otherwise>
						<c:set var="selectedClass" value="" />
					</c:otherwise>
				</c:choose>
				<li class="${selectedClass}">
					<a
						href="javascript:showSummary('${ind2.count}', ${fn:length(characterizationTypes)})"
						title="${type}"><span>${type}</span> </a>
				</li>
			</c:forEach>
			<li>
				<a
					href="characterization.do?dispatch=setupNew&sampleId=${sampleId }"><span>other</span>
				</a>
			</li>
		</ul>
	</div>
</c:forEach>
<table class="summaryViewLayer1" width="100%">
	<c:if test="${! empty characterizationTypes}">
		<tr>
			<td>
				<a href="javascript:printPage('${printUrl}')" id="printLink">Print</a>&nbsp;&nbsp;
				<a href="${exportUrl}" id="exportLink">Export</a>
			</td>
		</tr>
	</c:if>
	<tr>
		<td>
			<c:forEach var="type" items="${characterizationTypes}"
				varStatus="ind">
				<table id="summarySection${ind.count}" width="100%" align="center"
					style="display: block" class="summaryViewLayer2">
					<tr>
						<th align="left" width="1000px">
							${type} &nbsp;&nbsp;&nbsp;
							<a
								href="characterization.do?dispatch=setupNew&sampleId=${sampleId}&charType=${type}"
								class="addlink"><img align="middle" src="images/btn_add.gif"
									border="0" /></a>&nbsp;&nbsp;
							<%--<commit_msg>Remove 1000px width from summaryLayer2.<commit_after><%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<c:if test="${not empty theSample}">
	<jsp:include page="/bodyTitle.jsp">
		<jsp:param name="pageTitle" 
			value="${fn:toUpperCase(location)} Sample ${theSample.domain.name} Characterization" />
		<jsp:param name="topic" value="char_all_tab_help" />
		<jsp:param name="glossaryTopic" value="glossary_help" />
	</jsp:include>
</c:if>
<jsp:include page="/bodyMessage.jsp?bundle=sample" />
<div class="shadetabs" id="summaryTabALL">
	<ul>
		<li class="selected">
			<a
				href="javascript:showSummary('ALL', ${fn:length(characterizationTypes)})"
				title="All"><span>All</span> </a>
			<c:url var="printUrl" value="characterization.do">
				<c:param name="dispatch" value="summaryPrint" />
				<c:param name="sampleId" value="${sampleId}" />
				<c:param name="location" value="${location}" />
			</c:url>
			<c:url var="exportUrl" value="characterization.do">
				<c:param name="dispatch" value="summaryExport" />
				<c:param name="sampleId" value="${sampleId}" />
				<c:param name="location" value="${location}" />
			</c:url>
			<a href="javascript:printPage('${printUrl}')" id="printUrlAll"
				style="display: none;"></a>
			<a href="${exportUrl}" id="exportUrlAll" style="display: none;"></a>
		</li>
		<li>
			<c:forEach var="type" items="${characterizationTypes}"
				varStatus="ind">
				<a
					href="javascript:showSummary('${ind.count}', ${fn:length(characterizationTypes)})"
					title="${type}"><span>${type}</span> </a>
				<a href="javascript:printPage('${printUrl}&type=${type}')"
					id="printUrl${ind.count}" style="display: none;"></a>
				<a href="${exportUrl}&type=${type}" id="exportUrl${ind.count}"
					style="display: none;"></a>
			</c:forEach>
		</li>
		<li>
			<a href="characterization.do?dispatch=setupNew&sampleId=${sampleId }"><span>other</span>
			</a>
		</li>
	</ul>
</div>
<c:forEach var="type" items="${characterizationTypes}" varStatus="ind">
	<div class="shadetabs" id="summaryTab${ind.count}"
		style="display: none;">
		<ul>
			<li>
				<a
					href="javascript:showSummary('ALL',${fn:length(characterizationTypes)})"
					title="All"><span>All</span> </a>
			</li>
			<c:forEach var="type" items="${characterizationTypes}"
				varStatus="ind2">
				<c:choose>
					<c:when test="${ind.count eq ind2.count }">
						<c:set var="selectedClass" value="selected" />
					</c:when>
					<c:otherwise>
						<c:set var="selectedClass" value="" />
					</c:otherwise>
				</c:choose>
				<li class="${selectedClass}">
					<a
						href="javascript:showSummary('${ind2.count}', ${fn:length(characterizationTypes)})"
						title="${type}"><span>${type}</span> </a>
				</li>
			</c:forEach>
			<li>
				<a
					href="characterization.do?dispatch=setupNew&sampleId=${sampleId }"><span>other</span>
				</a>
			</li>
		</ul>
	</div>
</c:forEach>
<table class="summaryViewLayer1" width="100%">
	<c:if test="${! empty characterizationTypes}">
		<tr>
			<td>
				<a href="javascript:printPage('${printUrl}')" id="printLink">Print</a>&nbsp;&nbsp;
				<a href="${exportUrl}" id="exportLink">Export</a>
			</td>
		</tr>
	</c:if>
	<tr>
		<td>
			<c:forEach var="type" items="${characterizationTypes}"
				varStatus="ind">
				<table id="summarySection${ind.count}" width="100%" align="center"
					style="display: block" class="summaryViewLayer2">
					<tr>
						<th align="left">
							${type} &nbsp;&nbsp;&nbsp;
							<a
								href="characterization.do?dispatch=setupNew&sampleId=${sampleId}&charType=${type}"
								class="addlink"><img align="middle" src="images/btn_add.gif"
									border="0" /></a>&nbsp;&nbsp;
							<%--
{'fraction_non_alphanumeric': 0.23074003795066414, 'fraction_numerical': 0.004174573055028463, 'mean_word_length': 4.708303249097473, 'pattern_counts': {'":': 0, '<': 223, '<?xml version=': 0, '>': 221, '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': '3019286', 'n_tokens_mistral': 3314, 'n_tokens_neox': 2768, 'n_words': 429}