<commit_before><div class="row">
	<div class="span6">
		<div class="page-header">
			<h4><@spring.message "perfTest.configuration.basicConfiguration"/></h4>
		</div>
		<div class="form-horizontal form-horizontal-2">
			<fieldset>
				<div class="control-group">
					<label for="agentCount" class="control-label"><@spring.message "perfTest.configuration.agent"/></label>
					<div class="controls">
						<table width="100%">
							<colgroup>
								<col width="160px">
								<col>
							</colgroup>
							<tbody>
								<tr>
									<td>
										<div class="input-append">
											<input type="text" class="input input-mini" rel="popover"
												id="agentCount" name="agentCount" value="${(test.agentCount)!0}" 
												data-content='<@spring.message "perfTest.configuration.agent.help"/>' 
												data-original-title="<@spring.message "perfTest.configuration.agent"/>"><span class="add-on"><@spring.message "perfTest.configuration.max"/><span id="maxAgentCount"></span></span>
										</div>
									</td>
									<td>
										<#if clustered == true>											
											<label for="regionSelect" class="region" ><@spring.message "perfTest.configuration.region"/><span rel="popover" data-content='<@spring.message "perfTest.configuration.region.help"/>' data-original-title='<@spring.message "perfTest.configuration.region"/>' type="toggle"><i class="icon-question-sign"></i></span></label>
								 			<select id="regionSelect" name="region" class="pull-right" style="width:120px" >
												<#list regionAgentCountMap?keys as eachRegion>
													<option value="${eachRegion}" <#if (test?? && test.region?? && test.region == eachRegion)>selected </#if> > <@spring.message "${eachRegion}"/></option>
												</#list> 
											</select>
										</#if>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
				<div class="control-group">
					<label for="vuserPerAgent" class="control-label"><@spring.message "perfTest.configuration.vuserPerAgent"/></label>
					<div class="controls">
						<table style="width:100%">
							<colgroup>
								<col width="300px"/>
								<col width="*"/>
							</colgroup>
							<tr>
								<td>
									<div class="input-append">
										<input type="text" class="input input-mini" rel="popover"
											id="vuserPerAgent" name="vuserPerAgent"	value="${(test.vuserPerAgent)!1}" rel="popover"	
											data-content='<@spring.message "perfTest.configuration.vuserPerAgent.help"/>'
											data-original-title="<@spring.message "perfTest.configuration.vuserPerAgent"/>"><span class="add-on"><@spring.message "perfTest.configuration.max"/>${(maxVuserPerAgent)}</span>
									</div>
									<a href="javascript:void(0)"><i class="expand" id="expandAndCollapse"></i></a>	
								</td> 
								<td>
									<div class="pull-right">
										<span class="badge badge-info pull-right" ><span id="vuserlabel"><@spring.message "perfTest.configuration.availVuser"/></span><span id="vuserTotal"></span></span>
									</div> 
								</td>
							</tr>
							<tr id="processAndThreadPanel" style="display:none;">
								<td colspan="2">
									<span>
									<div class="input-prepend control-group" style="margin-bottom:0">
										<span class="add-on" title='<@spring.message "perfTest.report.process"/>'><@spring.message "perfTest.report.process"/></span><input class="input span1" type="text" id="processes" name="processes" value="${(test.processes)!1}"/> 
									</div>
									<div class="input-prepend control-group" style="margin-bottom:0">
										<span class="add-on" title='<@spring.message "perfTest.report.thread"/>'><@spring.message "perfTest.report.thread"/></span><input class="input span1" type="text" id="threads" name="threads" value="${(test.threads)!1}"/>
									</div>
									</span>
								</td>
							</tr>
							<tr>
						   		<td class="vuserPerAgent processes threads">
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div class="control-group" id="scriptControl">
					<label for="scriptName" class="control-label"><@spring.message "perfTest.configuration.script"/></label>
					<div class="controls">
						<table style="width:100%">
							<colgroup>
								<col width="*"/>
								<col width="100px"/>
							</colgroup>
							<tr>
							<td>
								<select id="scriptName" class="required" name="scriptName" style="width:275px" oldScript="${(test.scriptName)!}"> 
									<#if test?? && test.lastModifiedUser.userId != currentUser.userId>
										<option value="${test.scriptName}" selected validated="${(scriptItem.properties.validated)!"0"}">${test.scriptName} - belong to ${test.lastModifiedUser.userId}</option>
									<#else>
										<option value=""></option>
									</#if>
									<#if scriptList?? && scriptList?size &gt; 0> 
										<#list scriptList as scriptItem> 
											<option value="${scriptItem.path}" <#if  (test?? && scriptItem.path == test.scriptName) || (quickScript?? && quickScript == scriptItem.path)>selected<#assign scriptExist = true></#if> validated="${(scriptItem.properties.validated)!"0"}">${scriptItem.path}</option> 
										</#list> 
									</#if>
								</select>
							</td>
							<td>
								<input type="hidden" id="scriptRevision" name="scriptRevision" value="${(test.scriptRevision)!-1}" oldRevision="${(test.scriptRevision)!-1}">
								<button class="btn btn-mini btn-info pull-right" type="button" id="showScript" style="margin-top:3px; <#if !(scriptExist??)>display:none;</#if>">
								R
								<#if test?? && test.scriptRevision != -1>
									${test.scriptRevision}
								<#else><commit_msg>[NOBTS] Make the specified scriptable view to admin<commit_after><div class="row">
	<div class="span6">
		<div class="page-header">
			<h4><@spring.message "perfTest.configuration.basicConfiguration"/></h4>
		</div>
		<div class="form-horizontal form-horizontal-2">
			<fieldset>
				<div class="control-group">
					<label for="agentCount" class="control-label"><@spring.message "perfTest.configuration.agent"/></label>
					<div class="controls">
						<table width="100%">
							<colgroup>
								<col width="160px">
								<col>
							</colgroup>
							<tbody>
								<tr>
									<td>
										<div class="input-append">
											<input type="text" class="input input-mini" rel="popover"
												id="agentCount" name="agentCount" value="${(test.agentCount)!0}" 
												data-content='<@spring.message "perfTest.configuration.agent.help"/>' 
												data-original-title="<@spring.message "perfTest.configuration.agent"/>"><span class="add-on"><@spring.message "perfTest.configuration.max"/><span id="maxAgentCount"></span></span>
										</div>
									</td>
									<td>
										<#if clustered == true>											
											<label for="regionSelect" class="region" ><@spring.message "perfTest.configuration.region"/><span rel="popover" data-content='<@spring.message "perfTest.configuration.region.help"/>' data-original-title='<@spring.message "perfTest.configuration.region"/>' type="toggle"><i class="icon-question-sign"></i></span></label>
								 			<select id="regionSelect" name="region" class="pull-right" style="width:120px" >
												<#list regionAgentCountMap?keys as eachRegion>
													<option value="${eachRegion}" <#if (test?? && test.region?? && test.region == eachRegion)>selected </#if> > <@spring.message "${eachRegion}"/></option>
												</#list> 
											</select>
										</#if>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
				<div class="control-group">
					<label for="vuserPerAgent" class="control-label"><@spring.message "perfTest.configuration.vuserPerAgent"/></label>
					<div class="controls">
						<table style="width:100%">
							<colgroup>
								<col width="300px"/>
								<col width="*"/>
							</colgroup>
							<tr>
								<td>
									<div class="input-append">
										<input type="text" class="input input-mini" rel="popover"
											id="vuserPerAgent" name="vuserPerAgent"	value="${(test.vuserPerAgent)!1}" rel="popover"	
											data-content='<@spring.message "perfTest.configuration.vuserPerAgent.help"/>'
											data-original-title="<@spring.message "perfTest.configuration.vuserPerAgent"/>"><span class="add-on"><@spring.message "perfTest.configuration.max"/>${(maxVuserPerAgent)}</span>
									</div>
									<a href="javascript:void(0)"><i class="expand" id="expandAndCollapse"></i></a>	
								</td> 
								<td>
									<div class="pull-right">
										<span class="badge badge-info pull-right" ><span id="vuserlabel"><@spring.message "perfTest.configuration.availVuser"/></span><span id="vuserTotal"></span></span>
									</div> 
								</td>
							</tr>
							<tr id="processAndThreadPanel" style="display:none;">
								<td colspan="2">
									<span>
									<div class="input-prepend control-group" style="margin-bottom:0">
										<span class="add-on" title='<@spring.message "perfTest.report.process"/>'><@spring.message "perfTest.report.process"/></span><input class="input span1" type="text" id="processes" name="processes" value="${(test.processes)!1}"/> 
									</div>
									<div class="input-prepend control-group" style="margin-bottom:0">
										<span class="add-on" title='<@spring.message "perfTest.report.thread"/>'><@spring.message "perfTest.report.thread"/></span><input class="input span1" type="text" id="threads" name="threads" value="${(test.threads)!1}"/>
									</div>
									</span>
								</td>
							</tr>
							<tr>
						   		<td class="vuserPerAgent processes threads">
								</td>
							</tr>
						</table>
					</div>
				</div>
				<div class="control-group" id="scriptControl">
					<label for="scriptName" class="control-label"><@spring.message "perfTest.configuration.script"/></label>
					<div class="controls">
						<table style="width:100%">
							<colgroup>
								<col width="*"/>
								<col width="100px"/>
							</colgroup>
							<tr>
							<td>
								<select id="scriptName" class="required" name="scriptName" style="width:275px" oldScript="${(test.scriptName)!}"> 
									<#if test?? && test.createdUser.userId != currentUser.factualUser.userId>
										<option value="${test.scriptName}" selected validated="${(scriptItem.properties.validated)!"0"}">${test.scriptName} - belong to ${test.lastModifiedUser.userId}</option>
									<#else>
										<option value=""></option>
										<#if scriptList?? && scriptList?size &gt; 0> 
											<#list scriptList as scriptItem> 
												<option value="${scriptItem.path}" <#if  (test?? && scriptItem.path == test.scriptName) || (quickScript?? && quickScript == scriptItem.path)>selected<#assign scriptExist = true></#if> validated="${(scriptItem.properties.validated)!"0"}">${scriptItem.path}</option> 
											</#list> 
										</#if>
									</#if>
									
								</select>
							</td>
							<td>
								<input type="hidden" id="scriptRevision" name="scriptRevision" value="${(test.scriptRevision)!-1}" oldRevision="${(test.scriptRevision)!-1}">
								<button class="btn btn-mini btn-info pull-right" type="button" id="showScript" style="margin-top:3px; <#if !(scriptExist??)>display:none;</#if>">
								R
								<#if test?? && test.scriptRevision != -1>
									${test.scriptRevision}
								<#else>
{'fraction_non_alphanumeric': 0.19412795793163892, 'fraction_numerical': 0.007887817703768623, 'mean_word_length': 2.945712309820194, 'pattern_counts': {'":': 0, '<': 327, '<?xml version=': 0, '>': 327, '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': '6890482', 'n_tokens_mistral': 5116, 'n_tokens_neox': 3498, 'n_words': 584}