<commit_before><!-- JavaScript extend settings -->
<#macro controlJavaScriptSettings>
	$.extend(EXPLORER.settings, { "baseUrl" : "${page.contextURL}", "wsPath" : "/ws/", "locale" : "${rc.getLocale().getLanguage()}" });
</#macro>

<!-- JavaScript init call related to controls -->
<#macro controlJavaScriptInit>
	EXPLORER.i18n.setLanguageResources(${page.languageResources});
	EXPLORER.backbone.setAvailableSearchFields(${page.availableFiltersMap});
	EXPLORER.backbone.initActiveFilters(${page.searchCriteria}, _.has(EXPLORER, 'map') ? EXPLORER.map.setBounds : {}, this);
	EXPLORER.backbone.setNumberOfResult(${page.occurrenceCount?c});
</#macro>

<div id="control">
	<div class="nav_container">
		<ul id="control_buttons" class="buttons">
			<li><a href="#search" class="selected">${rc.getMessage("control.search.header.button")}</a></li>
			<li><a href="#download">${rc.getMessage("control.download.header.button")}</a></li>
			<li><a href="#display">${rc.getMessage("control.display.header.button")}</a></li>
		</ul>
	</div>
	<div id="control_wrapper">
		<div id="occ_preview"><#-- Will be injected --></div>
		<div id="control_bar" class="round clear_fix">
			<!-- Search -->
			<div id="search" class="clear_fix">
				<h3>${rc.getMessage("control.search.create.title")}</h3>
				<div id="filter_select">
					<select id="key_select">
						<optgroup label="${rc.getMessage("filter.group.classification")}">
							<option value="${page.availableFilters.scientificname}">${rc.getMessage("filter.scientificname")}</option>
							<option value="${page.availableFilters.kingdom}">${rc.getMessage("filter.kingdom")}</option>
							<option value="${page.availableFilters.phylum}">${rc.getMessage("filter.phylum")}</option>
							<option value="${page.availableFilters._class}">${rc.getMessage("filter._class")}</option>
							<option value="${page.availableFilters._order}">${rc.getMessage("filter._order")}</option>
							<option value="${page.availableFilters.family}">${rc.getMessage("filter.family")}</option>
							<option value="${page.availableFilters.taxonrank}">${rc.getMessage("filter.taxonrank")}</option>
						</optgroup>
						<optgroup label="${rc.getMessage("filter.group.dataset")}">
							<option value="${page.availableFilters.institutioncode}">${rc.getMessage("filter.institutioncode")}</option>
							<option value="${page.availableFilters.sourcefileid}">${rc.getMessage("filter.sourcefileid")}</option>
						</optgroup>
						<optgroup label="${rc.getMessage("filter.group.specimen")}">
							<option value="${page.availableFilters.collectioncode}">${rc.getMessage("filter.collectioncode")}</option>
							<option value="${page.availableFilters.catalognumber}">${rc.getMessage("filter.catalognumber")}</option>
							<option value="${page.availableFilters.recordedby}">${rc.getMessage("filter.recordedby")}</option>
							<option value="${page.availableFilters.recordnumber}">${rc.getMessage("filter.recordnumber")}</option>
						</optgroup>
						<optgroup label="${rc.getMessage("filter.group.date")}">
							<option value="${page.availableFilters.daterange}">${rc.getMessage("filter.daterange")}</option>
						</optgroup>
						<optgroup label="${rc.getMessage("filter.group.location")}">
							<option value="${page.availableFilters.continent}">${rc.getMessage("filter.continent")}</option>
							<option value="${page.availableFilters.country}">${rc.getMessage("filter.country")}</option>
							<option value="${page.availableFilters.stateprovince}">${rc.getMessage("filter.stateprovince")}</option>
							<option value="${page.availableFilters.county}">${rc.getMessage("filter.county")}</option>
							<option value="${page.availableFilters.municipality}">${rc.getMessage("filter.municipality")}</option>
							<option value="${page.availableFilters.locality}">${rc.getMessage("filter.locality")}</option>
							<option value="${page.availableFilters.altituderange}">${rc.getMessage("filter.altituderange")}</option>
						</optgroup>
						<optgroup label="${rc.getMessage("filter.group.extra")}">
							<option value="${page.availableFilters.hascoordinates}">${rc.getMessage("filter.hascoordinates")}</option>
							<option value="${page.availableFilters.hasmedia}">${rc.getMessage("filter.hasmedia")}</option>
							<option value="${page.availableFilters.hastypestatus}">${rc.getMessage("filter.hastypestatus")}</option>
						</optgroup>
					</select>
				</div>
				<div id="filter_content" class="clear_fix">
				<#-- Content injected with javascript -->
				</div>
				<commit_msg>#14 applied dataset name filter removal from master<commit_after><!-- JavaScript extend settings -->
<#macro controlJavaScriptSettings>
	$.extend(EXPLORER.settings, { "baseUrl" : "${page.contextURL}", "wsPath" : "/ws/", "locale" : "${rc.getLocale().getLanguage()}" });
</#macro>

<!-- JavaScript init call related to controls -->
<#macro controlJavaScriptInit>
	EXPLORER.i18n.setLanguageResources(${page.languageResources});
	EXPLORER.backbone.setAvailableSearchFields(${page.availableFiltersMap});
	EXPLORER.backbone.initActiveFilters(${page.searchCriteria}, _.has(EXPLORER, 'map') ? EXPLORER.map.setBounds : {}, this);
	EXPLORER.backbone.setNumberOfResult(${page.occurrenceCount?c});
</#macro>

<div id="control">
	<div class="nav_container">
		<ul id="control_buttons" class="buttons">
			<li><a href="#search" class="selected">${rc.getMessage("control.search.header.button")}</a></li>
			<li><a href="#download">${rc.getMessage("control.download.header.button")}</a></li>
			<li><a href="#display">${rc.getMessage("control.display.header.button")}</a></li>
		</ul>
	</div>
	<div id="control_wrapper">
		<div id="occ_preview"><#-- Will be injected --></div>
		<div id="control_bar" class="round clear_fix">
			<!-- Search -->
			<div id="search" class="clear_fix">
				<h3>${rc.getMessage("control.search.create.title")}</h3>
				<div id="filter_select">
					<select id="key_select">
						<optgroup label="${rc.getMessage("filter.group.classification")}">
							<option value="${page.availableFilters.scientificname}">${rc.getMessage("filter.scientificname")}</option>
							<option value="${page.availableFilters.kingdom}">${rc.getMessage("filter.kingdom")}</option>
							<option value="${page.availableFilters.phylum}">${rc.getMessage("filter.phylum")}</option>
							<option value="${page.availableFilters._class}">${rc.getMessage("filter._class")}</option>
							<option value="${page.availableFilters._order}">${rc.getMessage("filter._order")}</option>
							<option value="${page.availableFilters.family}">${rc.getMessage("filter.family")}</option>
							<option value="${page.availableFilters.taxonrank}">${rc.getMessage("filter.taxonrank")}</option>
						</optgroup>
						<optgroup label="${rc.getMessage("filter.group.dataset")}">
							<option value="${page.availableFilters.institutioncode}">${rc.getMessage("filter.institutioncode")}</option>
<<<<<<< HEAD
=======
							<!-- Removed filter until further definition about dataset names -->
							<!--option value="${page.availableFilters.datasetname}">${rc.getMessage("filter.datasetname")}</option-->
>>>>>>> issue4
							<option value="${page.availableFilters.sourcefileid}">${rc.getMessage("filter.sourcefileid")}</option>
						</optgroup>
						<optgroup label="${rc.getMessage("filter.group.specimen")}">
							<option value="${page.availableFilters.collectioncode}">${rc.getMessage("filter.collectioncode")}</option>
							<option value="${page.availableFilters.catalognumber}">${rc.getMessage("filter.catalognumber")}</option>
							<option value="${page.availableFilters.recordedby}">${rc.getMessage("filter.recordedby")}</option>
							<option value="${page.availableFilters.recordnumber}">${rc.getMessage("filter.recordnumber")}</option>
						</optgroup>
						<optgroup label="${rc.getMessage("filter.group.date")}">
							<option value="${page.availableFilters.daterange}">${rc.getMessage("filter.daterange")}</option>
						</optgroup>
						<optgroup label="${rc.getMessage("filter.group.location")}">
							<option value="${page.availableFilters.continent}">${rc.getMessage("filter.continent")}</option>
							<option value="${page.availableFilters.country}">${rc.getMessage("filter.country")}</option>
							<option value="${page.availableFilters.stateprovince}">${rc.getMessage("filter.stateprovince")}</option>
							<option value="${page.availableFilters.county}">${rc.getMessage("filter.county")}</option>
							<option value="${page.availableFilters.municipality}">${rc.getMessage("filter.municipality")}</option>
							<option value="${page.availableFilters.locality}">${rc.getMessage("filter.locality")}</option>
							<option value="${page.availableFilters.altituderange}">${rc.getMessage("filter.altituderange")}</option>
						</optgroup>
						<optgroup label="${rc.getMessage("filter.group.extra")}">
							<option value="${page.availableFilters.hascoordinates}">${rc.getMessage("filter.hascoordinates")}</option>
							<option value="${page.availableFilters.hasmedia}">${rc.getMessage("filter.hasmedia")}</option>
							<option value="${page.availableFilters.hastypestatus}">${rc.getMessage("filter.hastypestatus")}</option>
						</optgroup>
					</select>
				</div>
				<div id="filter_content" class="clear_fix">
				<#-- Content injected with javascript -->
				</div>
				
{'fraction_non_alphanumeric': 0.21016586409844837, 'fraction_numerical': 0.001177100053504548, 'mean_word_length': 5.553997194950911, 'pattern_counts': {'":': 0, '<': 211, '<?xml version=': 0, '>': 211, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1075104', 'n_tokens_mistral': 3276, 'n_tokens_neox': 2845, 'n_words': 307}