<commit_before><?xml version="1.0" encoding="utf-8"?>
<!--
  vim: sts=2 sw=2 et
  -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method='text'/>

<xsl:template match="/">
  <xsl:for-each select='//anchor'>
    <xsl:value-of select='@id'/><xsl:text>
</xsl:text>
  </xsl:for-each>
  <xsl:for-each select='//chapter'>
    <xsl:if test='substring(@id, 1, 1) != "_"'>
      <xsl:value-of select='@id'/><xsl:text>
</xsl:text>
    </xsl:if>
  </xsl:for-each>
</xsl:template>

</xsl:stylesheet><commit_msg>docs: section ids are externally accessible hyperlinks<commit_after><?xml version="1.0" encoding="utf-8"?>
<!--
  vim: sts=2 sw=2 et
  -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method='text'/>

<xsl:template match="/">

  <xsl:for-each select='//section'>
    <xsl:value-of select='@id'/><xsl:text>
</xsl:text>
  </xsl:for-each>

  <xsl:for-each select='//anchor'>
    <xsl:value-of select='@id'/><xsl:text>
</xsl:text>
  </xsl:for-each>

  <xsl:for-each select='//chapter'>
    <xsl:if test='substring(@id, 1, 1) != "_"'>
      <xsl:value-of select='@id'/><xsl:text>
</xsl:text>
    </xsl:if>
  </xsl:for-each>

</xsl:template>

</xsl:stylesheet>
{'fraction_non_alphanumeric': 0.25721153846153844, 'fraction_numerical': 0.022435897435897436, 'mean_word_length': 4.2259414225941425, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 2, '>': 46, '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': '3262858', 'n_tokens_mistral': 563, 'n_tokens_neox': 496, 'n_words': 77}