<commit_before><?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>

  <Placemark id="empty-placemark"/>

  <NetworkLink id="empty-name">
    <name/>
  </NetworkLink>

  <Document id="empty-description">
    <description/>
  </Document>

  <Folder id="empty-name-description">
    <name/>
    <description/>
  </Folder>

  <GroundOverlay id="name">
    <name>named</name>
  </GroundOverlay>

  <ScreenOverlay id="name-description">
    <name>named</name>
    <description>described</description>
  </ScreenOverlay>

  <PhotoOverlay id="name-description-entity">
    <name>named</name>
    <!-- yes, entity replacements directly in description are uncommon but
    allowed -->
    <description><![CDATA[name is $[name]<br/>id is $[id]]]></description>
  </PhotoOverlay>

  <Placemark id="simple-balloon-style">
    <name>named</name>
    <Style>
      <BalloonStyle>
        <text><![CDATA[name is $[name]<br/>id is $[id]]]></text>
      </BalloonStyle>
    </Style>
  </Placemark>

  <Placemark id="extendeddata-data">
    <name>named</name>
    <Style>
      <BalloonStyle>
        <text><![CDATA[$[d0] $[d1/displayName] $[d1]]]></text>
      </BalloonStyle>
    </Style>
    <ExtendedData>
      <Data name="d0">
        <value>to be or not</value>
      </Data>
      <Data name="d1">
        <displayName>to be that</displayName>
        <value>is the question</value>
      </Data>
    </ExtendedData>
  </Placemark>

  <Document>
    <Schema id="SID" name="SNAME">
      <SimpleField type="string" name="BalloonGirlName">
        <displayName>She was called</displayName>
      </SimpleField>
      <SimpleField type="int" name="BalloonGirlAge">
        <displayName>and she had just turned</displayName>
      </SimpleField>
    </Schema>
    <Placemark id="extendeddata-schemadata">
      <name>named</name>
      <Style>
        <BalloonStyle>
          <text><![CDATA[$[SNAME/BalloonGirlName/displayName] $[SNAME/BalloonGirlName] $[SNAME/BalloonGirlAge/displayName] $[SNAME/BalloonGirlAge]]]></text>
        </BalloonStyle>
      </Style>
      <ExtendedData>
        <SchemaData schemaUrl="#SID">
          <SimpleData name="BalloonGirlName">Balloon Girl</SimpleData>
          <SimpleData name="BalloonGirlAge">23</SimpleData>
        </SchemaData>
      </ExtendedData>
      <Point>
        <coordinates>-123.115786, 49.283323</coordinates>
      </Point>
    </Placemark>
  </Document>

</Document>
</kml>
<commit_msg>use xhtml-valid markup<commit_after><?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>

  <Placemark id="empty-placemark"/>

  <NetworkLink id="empty-name">
    <name/>
  </NetworkLink>

  <Document id="empty-description">
    <description/>
  </Document>

  <Folder id="empty-name-description">
    <name/>
    <description/>
  </Folder>

  <GroundOverlay id="name">
    <name>named</name>
  </GroundOverlay>

  <ScreenOverlay id="name-description">
    <name>named</name>
    <description>described</description>
  </ScreenOverlay>

  <PhotoOverlay id="name-description-entity">
    <name>named</name>
    <!-- yes, entity replacements directly in description are uncommon but
    allowed -->
    <description><![CDATA[name is $[name]<br />id is $[id]]]></description>
  </PhotoOverlay>

  <Placemark id="simple-balloon-style">
    <name>named</name>
    <Style>
      <BalloonStyle>
      <!--
      XHTML in CDATA must conform to the HTML Compatibility guidelines as
      detailed in http://www.w3.org/TR/xhtml1/#guidelines. See in particular section
      C2, which requires <br /> over <br>.
      -->
        <text><![CDATA[name is $[name]<br />id is $[id]]]></text>
      </BalloonStyle>
    </Style>
  </Placemark>

  <Placemark id="extendeddata-data">
    <name>named</name>
    <Style>
      <BalloonStyle>
        <text><![CDATA[$[d0] $[d1/displayName] $[d1]]]></text>
      </BalloonStyle>
    </Style>
    <ExtendedData>
      <Data name="d0">
        <value>to be or not</value>
      </Data>
      <Data name="d1">
        <displayName>to be that</displayName>
        <value>is the question</value>
      </Data>
    </ExtendedData>
  </Placemark>

  <Document>
    <Schema id="SID" name="SNAME">
      <SimpleField type="string" name="BalloonGirlName">
        <displayName>She was called</displayName>
      </SimpleField>
      <SimpleField type="int" name="BalloonGirlAge">
        <displayName>and she had just turned</displayName>
      </SimpleField>
    </Schema>
    <Placemark id="extendeddata-schemadata">
      <name>named</name>
      <Style>
        <BalloonStyle>
          <text><![CDATA[$[SNAME/BalloonGirlName/displayName] $[SNAME/BalloonGirlName] $[SNAME/BalloonGirlAge/displayName] $[SNAME/BalloonGirlAge]]]></text>
        </BalloonStyle>
      </Style>
      <ExtendedData>
        <SchemaData schemaUrl="#SID">
          <SimpleData name="BalloonGirlName">Balloon Girl</SimpleData>
          <SimpleData name="BalloonGirlAge">23</SimpleData>
        </SchemaData>
      </ExtendedData>
      <Point>
        <coordinates>-123.115786, 49.283323</coordinates>
      </Point>
    </Placemark>
  </Document>

</Document>
</kml>

{'fraction_non_alphanumeric': 0.171875, 'fraction_numerical': 0.011766975308641976, 'mean_word_length': 2.9853958493466566, 'pattern_counts': {'":': 0, '<': 216, '<?xml version=': 2, '>': 216, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, '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': '799915', 'n_tokens_mistral': 1824, 'n_tokens_neox': 1714, 'n_words': 310}