<commit_before><?xml version="1.0" encoding="utf-8"?>
<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" 
		xmlns:s="library://ns.adobe.com/flex/spark" 
		xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:datagrid="org.openforis.collect.ui.component.datagrid.*">
	<!-- host component -->
	<fx:Metadata>
		[HostComponent("org.openforis.collect.ui.view.SamplingDesignImportView")]
	</fx:Metadata>
	<fx:Script>
		<![CDATA[
			import org.openforis.collect.i18n.Message;
		]]>
	</fx:Script>
	
	<s:states>
		<s:State name="normal" />
		<s:State name="disabled" />
		<s:State name="default" />
		<s:State name="loading" />
		<s:State name="selectFile" />
		<s:State name="uploading" />
		<s:State name="importing" />
		<s:State name="error" />
	</s:states>
	
	<s:VGroup includeIn="default"
			  itemCreationPolicy="immediate"
			  horizontalAlign="center"
			  height="100%" width="100%"
			  gap="30"
			  >
		
		<s:VGroup height="100%" 
				  maxHeight="490"
				  width="100%"
				  horizontalAlign="center">
			<s:DataGrid id="summaryDataGrid" 
						height="100%"
						rowHeight="22">
				<s:columns>
					<s:ArrayList>
						<s:GridColumn headerText="{Message.get('samplingDesignImport.summaryList.level1Code')}" 
									  dataField="level_1"
									  sortable="false"
									  labelFunction="{hostComponent.levelLabelFunction}"
									  width="100" />
						<s:GridColumn headerText="{Message.get('samplingDesignImport.summaryList.level1Code')}" 
									  dataField="level_2"
									  sortable="false"
									  labelFunction="{hostComponent.levelLabelFunction}"
									  width="100" />
						<s:GridColumn headerText="{Message.get('samplingDesignImport.summaryList.level3Code')}" 
									  dataField="level_3"
									  labelFunction="{hostComponent.levelLabelFunction}"
									  width="100" />
						<s:GridColumn headerText="{Message.get('samplingDesignImport.summaryList.srs')}" 
									  dataField="srsId"
									  sortable="false"
									  labelFunction="{hostComponent.samplingDesignSrsLabelFunction}"
									  width="100" />
						<s:GridColumn headerText="{Message.get('samplingDesignImport.summaryList.x')}" 
									  dataField="x"
									  sortable="false"
									  width="100" />
						<s:GridColumn headerText="{Message.get('samplingDesignImport.summaryList.y')}" 
									  dataField="y"
									  sortable="false"
									  width="100" />
					</s:ArrayList>
				</s:columns>
			</s:DataGrid>
			<commit_msg>OFC-1236 - In Sampling Design import tool, Level 1 column name is repeated 2 times<commit_after><?xml version="1.0" encoding="utf-8"?>
<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" 
		xmlns:s="library://ns.adobe.com/flex/spark" 
		xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:datagrid="org.openforis.collect.ui.component.datagrid.*">
	<!-- host component -->
	<fx:Metadata>
		[HostComponent("org.openforis.collect.ui.view.SamplingDesignImportView")]
	</fx:Metadata>
	<fx:Script>
		<![CDATA[
			import org.openforis.collect.i18n.Message;
		]]>
	</fx:Script>
	
	<s:states>
		<s:State name="normal" />
		<s:State name="disabled" />
		<s:State name="default" />
		<s:State name="loading" />
		<s:State name="selectFile" />
		<s:State name="uploading" />
		<s:State name="importing" />
		<s:State name="error" />
	</s:states>
	
	<s:VGroup includeIn="default"
			  itemCreationPolicy="immediate"
			  horizontalAlign="center"
			  height="100%" width="100%"
			  gap="30"
			  >
		
		<s:VGroup height="100%" 
				  maxHeight="490"
				  width="100%"
				  horizontalAlign="center">
			<s:DataGrid id="summaryDataGrid" 
						height="100%"
						rowHeight="22">
				<s:columns>
					<s:ArrayList>
						<s:GridColumn headerText="{Message.get('samplingDesignImport.summaryList.level1Code')}" 
									  dataField="level_1"
									  sortable="false"
									  labelFunction="{hostComponent.levelLabelFunction}"
									  width="100" />
						<s:GridColumn headerText="{Message.get('samplingDesignImport.summaryList.level2Code')}" 
									  dataField="level_2"
									  sortable="false"
									  labelFunction="{hostComponent.levelLabelFunction}"
									  width="100" />
						<s:GridColumn headerText="{Message.get('samplingDesignImport.summaryList.level3Code')}" 
									  dataField="level_3"
									  labelFunction="{hostComponent.levelLabelFunction}"
									  width="100" />
						<s:GridColumn headerText="{Message.get('samplingDesignImport.summaryList.srs')}" 
									  dataField="srsId"
									  sortable="false"
									  labelFunction="{hostComponent.samplingDesignSrsLabelFunction}"
									  width="100" />
						<s:GridColumn headerText="{Message.get('samplingDesignImport.summaryList.x')}" 
									  dataField="x"
									  sortable="false"
									  width="100" />
						<s:GridColumn headerText="{Message.get('samplingDesignImport.summaryList.y')}" 
									  dataField="y"
									  sortable="false"
									  width="100" />
					</s:ArrayList>
				</s:columns>
			</s:DataGrid>
			
{'fraction_non_alphanumeric': 0.16556291390728478, 'fraction_numerical': 0.023279149106963676, 'mean_word_length': 3.1360995850622406, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 2, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, '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': '6821165', 'n_tokens_mistral': 2295, 'n_tokens_neox': 1585, 'n_words': 193}