<commit_before><?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

	<xsd:element name="GUILayout" type="GUILayoutType"/>
	
	<xsd:complexType name="GUILayoutType">
		<xsd:sequence>
			<xsd:element name="Window" type="WindowType" />
		</xsd:sequence>
		<xsd:attribute name="version" type="xsd:nonNegativeInteger" use="optional" default="0" />
	</xsd:complexType>
	
	<xsd:complexType name="WindowType">
		<xsd:sequence>
			<xsd:element name="LayoutImport" type="LayoutImportType"  minOccurs="0" maxOccurs="unbounded" />
			<xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
			<xsd:element name="Event" type="EventType"  minOccurs="0" maxOccurs="unbounded" />
			<xsd:choice minOccurs="0" maxOccurs="unbounded">
				<xsd:element name="Window" type="WindowType" />
				<xsd:element name="AutoWindow" type="AutoWindowType" />
			</xsd:choice>
			<xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
		</xsd:sequence>
		<xsd:attribute name="Type" type="xsd:string" use="required"/>
		<xsd:attribute name="Name" type="xsd:string" use="optional" default="" />
	</xsd:complexType>

	<xsd:complexType name="AutoWindowType">
		<xsd:sequence>
			<xsd:element name="LayoutImport" type="LayoutImportType"  minOccurs="0" maxOccurs="unbounded" />
			<xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
			<xsd:element name="Event" type="EventType"  minOccurs="0" maxOccurs="unbounded" />
			<xsd:choice minOccurs="0" maxOccurs="unbounded">
				<xsd:element name="Window" type="WindowType" />
				<xsd:element name="AutoWindow" type="AutoWindowType" />
			</xsd:choice>
			<xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
		</xsd:sequence>
		<xsd:attribute name="NamePath" type="xsd:string" use="required"/>
	</xsd:complexType>

	<xsd:complexType name="PropertyType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:string">
				<xsd:attribute name="Name" type="xsd:string" use="required"/>
				<xsd:attribute name="Value" type="xsd:string" use="optional"/>
			</xsd:extension>
		</xsd:simpleContent> 
	</xsd:complexType>

	<xsd:complexType name="LayoutImportType">
		<xsd:attribute name="Filename" type="xsd:string" use="required"/>
		<xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
	</xsd:complexType>

	<xsd:complexType name="EventType">
		<xsd:attribute name="Name" type="xsd:string" use="required"/>
		<xsd:attribute name="Function" type="xsd:string" use="required"/>
	</xsd:complexType>

</xsd:schema>

<commit_msg>MOD:update layout.xsd to accept the UserString feature<commit_after><?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

	<xsd:element name="GUILayout" type="GUILayoutType"/>
	
	<xsd:complexType name="GUILayoutType">
		<xsd:sequence>
			<xsd:element name="Window" type="WindowType" />
		</xsd:sequence>
		<xsd:attribute name="version" type="xsd:nonNegativeInteger" use="optional" default="0" />
	</xsd:complexType>
	
	<xsd:complexType name="WindowType">
		<xsd:sequence>
			<xsd:element name="LayoutImport" type="LayoutImportType"  minOccurs="0" maxOccurs="unbounded" />
			<xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
			<xsd:element name="Event" type="EventType"  minOccurs="0" maxOccurs="unbounded" />
			<xsd:choice minOccurs="0" maxOccurs="unbounded">
				<xsd:element name="Window" type="WindowType" />
				<xsd:element name="AutoWindow" type="AutoWindowType" />
			</xsd:choice>
			<xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
			<xsd:element name="UserString" type="UserStringType"  minOccurs="0" maxOccurs="unbounded" />
		</xsd:sequence>
		<xsd:attribute name="Type" type="xsd:string" use="required"/>
		<xsd:attribute name="Name" type="xsd:string" use="optional" default="" />
	</xsd:complexType>

	<xsd:complexType name="AutoWindowType">
		<xsd:sequence>
			<xsd:element name="LayoutImport" type="LayoutImportType"  minOccurs="0" maxOccurs="unbounded" />
			<xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
			<xsd:element name="Event" type="EventType"  minOccurs="0" maxOccurs="unbounded" />
			<xsd:choice minOccurs="0" maxOccurs="unbounded">
				<xsd:element name="Window" type="WindowType" />
				<xsd:element name="AutoWindow" type="AutoWindowType" />
			</xsd:choice>
			<xsd:element name="Property" type="PropertyType"  minOccurs="0" maxOccurs="unbounded" />
		</xsd:sequence>
		<xsd:attribute name="NamePath" type="xsd:string" use="required"/>
	</xsd:complexType>

	<xsd:complexType name="PropertyType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:string">
				<xsd:attribute name="Name" type="xsd:string" use="required"/>
				<xsd:attribute name="Value" type="xsd:string" use="optional"/>
			</xsd:extension>
		</xsd:simpleContent> 
	</xsd:complexType>
	
	<xsd:complexType name="UserStringType">
		<xsd:simpleContent>
			<xsd:extension base="xsd:string">
				<xsd:attribute name="Name" type="xsd:string" use="required"/>
				<xsd:attribute name="Value" type="xsd:string" use="optional"/>
			</xsd:extension>
		</xsd:simpleContent> 
	</xsd:complexType>
	
	<xsd:complexType name="LayoutImportType">
		<xsd:attribute name="Filename" type="xsd:string" use="required"/>
		<xsd:attribute name="ResourceGroup" type="xsd:string" use="optional"  default="" />
	</xsd:complexType>

	<xsd:complexType name="EventType">
		<xsd:attribute name="Name" type="xsd:string" use="required"/>
		<xsd:attribute name="Function" type="xsd:string" use="required"/>
	</xsd:complexType>

</xsd:schema>


{'fraction_non_alphanumeric': 0.18492077311509664, 'fraction_numerical': 0.0064426258053282255, 'mean_word_length': 6.720430107526882, 'pattern_counts': {'":': 0, '<': 118, '<?xml version=': 2, '>': 118, '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': '6627775', 'n_tokens_mistral': 2220, 'n_tokens_neox': 1878, 'n_words': 315}