<commit_before><?xml version="1.0" encoding="UTF-8"?>

<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	
	
	<!--***********
	    METADATA
	************-->
	
	<!--Metadata Type-->
	<xs:complexType name="metadataType">
		<xs:sequence>
		
		  <xs:element name="name" type="xs:string" />
		  <xs:element name="description" type="xs:string" />
	  
		</xs:sequence>
	</xs:complexType>		
	
	
	
	<!--*********
	    VALUES
	**********-->
	
	<!--Value Type-->
	<xs:complexType name="valueType">
				
		<xs:attribute name="id" type="xs:positiveInteger" use="required" />
		<xs:attribute name="name" type="xs:string" use="optional" />
		<xs:attribute name="excluded" type="xs:boolean" use="optional" />

	</xs:complexType>	
	
	<!--Values Type-->
	<xs:complexType name="valuesType">
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			
			<xs:element name="value" type="valueType"/>
			
		</xs:sequence>		
	</xs:complexType>	
	
	
	
	
	<!--**********
	    CLASSES
	***********-->
	
	<!--ClassValue Type-->
	<xs:complexType name="classValueType">
		
		<xs:attribute name="id" type="xs:positiveInteger" use="required" />
		
	</xs:complexType>
  
	
	<!--Class Type-->
	<xs:complexType name="classType">    
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			
			<xs:element name="class" type="classType"/>
			<xs:element name="value" type="classValueType"/>	
			
		</xs:sequence>		
		
		<xs:attribute name="id" type="xs:string" use="required" />
		<xs:attribute name="name" type="xs:string" use="required" />
		<xs:attribute name="onSlopeVisible" type="xs:boolean" use="optional" />
		<xs:attribute name="lcpField" type="xs:boolean" use="optional" />	

	</xs:complexType>

	
	<!--Classes Type-->
	<xs:complexType name="classesType">
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			
			<xs:element name="class" type="classType"/>
			
		</xs:sequence>
	</xs:complexType>
	
	

	<!--*******
	    ROOT
	********-->
	
	<xs:element name="root">
		<xs:complexType>
			<xs:sequence>

				<xs:element name="metadata" type="metadataType"/>
				<xs:element name="values" type="classesType"/>				
				<xs:element name="classes" type="valuesType"/>

			</xs:sequence>
		</xs:complexType>
	
	</xs:element>

</xs:schema><commit_msg>XSD: Incorrect types corrected<commit_after><?xml version="1.0" encoding="UTF-8"?>

<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	
	
	<!--***********
	    METADATA
	************-->
	
	<!--Metadata Type-->
	<xs:complexType name="metadataType">
		<xs:sequence>
		
		  <xs:element name="name" type="xs:string" />
		  <xs:element name="description" type="xs:string" />
	  
		</xs:sequence>
	</xs:complexType>		
	
	
	
	<!--*********
	    VALUES
	**********-->
	
	<!--Value Type-->
	<xs:complexType name="valueType">
				
		<xs:attribute name="id" type="xs:positiveInteger" use="required" />
		<xs:attribute name="name" type="xs:string" use="optional" />
		<xs:attribute name="excluded" type="xs:boolean" use="optional" />

	</xs:complexType>	
	
	<!--Values Type-->
	<xs:complexType name="valuesType">
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			
			<xs:element name="value" type="valueType"/>
			
		</xs:sequence>		
	</xs:complexType>	
	
	
	
	
	<!--**********
	    CLASSES
	***********-->
	
	<!--ClassValue Type-->
	<xs:complexType name="classValueType">
		
		<xs:attribute name="id" type="xs:positiveInteger" use="required" />
		
	</xs:complexType>
  
	
	<!--Class Type-->
	<xs:complexType name="classType">    
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			
			<xs:element name="class" type="classType"/>
			<xs:element name="value" type="classValueType"/>	
			
		</xs:sequence>		
		
		<xs:attribute name="id" type="xs:string" use="required" />
		<xs:attribute name="name" type="xs:string" use="required" />
		<xs:attribute name="onSlopeVisible" type="xs:boolean" use="optional" />
		<xs:attribute name="lcpField" type="xs:boolean" use="optional" />	

	</xs:complexType>

	
	<!--Classes Type-->
	<xs:complexType name="classesType">
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			
			<xs:element name="class" type="classType"/>
			
		</xs:sequence>
	</xs:complexType>
	
	

	<!--*******
	    ROOT
	********-->
	
	<xs:element name="root">
		<xs:complexType>
			<xs:sequence>

				<xs:element name="metadata" type="metadataType"/>
				<xs:element name="values" type="valuesType"/>				
				<xs:element name="classes" type="classesType"/>

			</xs:sequence>
		</xs:complexType>
	
	</xs:element>

</xs:schema>
{'fraction_non_alphanumeric': 0.22718362012633414, 'fraction_numerical': 0.004791984317142235, 'mean_word_length': 4.057268722466961, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 2, '>': 115, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '3191442', 'n_tokens_mistral': 1806, 'n_tokens_neox': 1536, 'n_words': 246}