<commit_before><%-- 
	Copyright 2011-2014 eBusiness Information, Groupe Excilys (www.ebusinessinformation.fr)
--%>
<%@include file="/html/gatling/header.jsp"%>

<portlet:actionURL name="editPortletSample" var="editPortletSampleURL"	windowState="normal" >
	<portlet:param name="portletId" value="${pagePortletId}" />
</portlet:actionURL>
	
<c:choose>
	<c:when test="${not empty script && not empty script[0] && not empty script[0][0] && script[0][0] != ' ' }">
		<aui:form action="" name="addSample" id="addSample">		
		
			<div class="well well-small">
				<liferay-ui:message key="edit-scenario-sample" />
			</div>
			<aui:select inlineField="true" label="portlet-edit-sample-select" name="Sample Script" required="true" id="selectScript">
		<!-- Get the list of the different sample scripts available for the Portlet. The list is store in a class named ListScript (package mustache) -->
			  	<c:forEach var="group" items="${script}">
					<aui:option label="${group[0]}" value="${group[1]}" />
				</c:forEach> 
		
			</aui:select>
			 
			<aui:button id="add" onClick="addLine()" value="portlet-edit-sample-add"/>
		
		</aui:form>
		
		<aui:form action="editPortletSampleURL" name="formPortletSample" method="POST">
			<table class="table table-bordered table-scenario">
				<thead>
					<tr>
						<th ><liferay-ui:message key="portlet-edit-table-header-name" />
							<liferay-ui:icon-help message="name-info-help" /></th>
						<th class="small-column"><liferay-ui:message key="portlet-edit-table-header-weight" />
							<liferay-ui:icon-help message="weight-info-help" /></th>
						<th class="small-column"><liferay-ui:icon-help message="percent-info-help" /></th>
					</tr>
				</thead>
				
				<tbody id="bodyEditScript">
				</tbody>				
			</table>
			
			<aui:button type="submit" id="submitPopupSample"/>		
		</aui:form>
	
	</c:when>
	
	<c:otherwise><commit_msg>update sample.jsp<commit_after><%-- 
	Copyright 2011-2014 eBusiness Information, Groupe Excilys (www.ebusinessinformation.fr)
--%>
<%@include file="/html/gatling/header.jsp"%>

<portlet:actionURL name="editPortletSample" var="editPortletSampleURL"	windowState="normal" >
	<portlet:param name="portletId" value="${pagePortletId}" />
</portlet:actionURL>
	
<c:choose>
	<c:when test="${not empty script && not empty script[0] && not empty script[0][0] && script[0][0] != ' ' }">
		<aui:form action="" name="addSample" id="addSample">		
		
			<div class="well well-small">
				<liferay-ui:message key="edit-scenario-sample" />
			</div>
			<aui:select inlineField="true" label="portlet-edit-sample-select" name="Sample Script" required="true" id="selectScript">
		<!-- Get the list of the different sample scripts available for the Portlet. The list is store in a class named ListScript (package mustache) -->
			  	<c:forEach var="group" items="${script}">
					<aui:option label="${group[0]}" value="${group[1]}" />
				</c:forEach> 
		
			</aui:select>
			 
			<aui:button id="add" onClick="addLine()" value="portlet-edit-sample-add"/>
		
		</aui:form>
		
		<aui:form action="editPortletSampleURL" name="formPortletSample" method="POST">
			<table class="table table-bordered table-scenario">
				<thead>
					<tr>
						<th ><liferay-ui:message key="portlet-edit-table-header-name" />
							<liferay-ui:icon-help message="name-info-help" /></th>
						<th class="small-column"><liferay-ui:message key="scenario-edit-table-header-weight" />
							<liferay-ui:icon-help message="weight-info-help" /></th>
						<th class="small-column"><liferay-ui:icon-help message="percent-info-help" /></th>
					</tr>
				</thead>
				
				<tbody id="bodyEditScript">
				</tbody>				
			</table>
			
			<aui:button type="submit" id="submitPopupSample"/>		
		</aui:form>
	
	</c:when>
	
	<c:otherwise>
{'fraction_non_alphanumeric': 0.18864420270628815, 'fraction_numerical': 0.007959671000265322, 'mean_word_length': 4.060402684563758, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, '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': '989232', 'n_tokens_mistral': 1515, 'n_tokens_neox': 1280, 'n_words': 242}