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

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:strip-space elements="*"/>

  <!-- Customize these templates by overriding their definitions -->

  <xsl:param name="search-servlet">/search</xsl:param>

  <xsl:param name="ga-code">UA-317750-3</xsl:param>
  <xsl:param name="display-status-line">true</xsl:param>
  <xsl:param name="show-input-descriptions">true</xsl:param>
  <xsl:param name="show-example-queries">true</xsl:param>
  <xsl:param name="show-options">true</xsl:param>
  <xsl:param name="show-progress">true</xsl:param>
  <xsl:param name="show-results-page-footer">false</xsl:param>
  <xsl:param name="init-from-url">false</xsl:param> <!-- Set to 'true' only for generating static HTMLs -->
  <xsl:param name="force-results-page">false</xsl:param> <!-- Set to 'true' only for generating static HTMLs (results page) -->

  <xsl:param name="carrot2.website.url">http://project.carrot2.org</xsl:param>
  <xsl:param name="carrot2.stable.url">http://demo.carrot2.org</xsl:param>
  <xsl:param name="carrot2.head.url">http://demo.carrot2.org/demo-head/</xsl:param>

  <xsl:variable name="beta"><xsl:if test="contains(/processing-instruction('release-info'), 'head')">true</xsl:if></xsl:variable>
  <xsl:variable name="logo-suffix"><xsl:if test="$beta">-beta</xsl:if></xsl:variable>

  <xsl:template name="custom-results-utils">
    <div id="results-utils">
      <a href="{$carrot2.website.url}">About</a> |
      <xsl:choose>
        <xsl:when test="$beta">
          <a href="{$carrot2.stable.url}">Stable</a> |
        </xsl:when>
        <xsl:otherwise>
          <a href="{$carrot2.website.url}/release-2.1-notes.html" class="new">New features!</a> |
          <a href="{$carrot2.head.url}">Beta</a> |
        </xsl:otherwise>
      </xsl:choose>
      <a href="{$carrot2.website.url}/demos.html">More demos</a> |
      <a href="{$carrot2.website.url}/browser-plugins.html">Plugins</a> |
      <a href="{$carrot2.website.url}/download.html">Download</a> |
      <a href="http://sf.net/projects/carrot2">Carrot2 @ sf.net</a> |
      <a href="http://www.carrot-search.com">Carrot Search</a>
    </div>
  </xsl:template>

  <xsl:template name="custom-results-logo">
    <a href="{$contextPath}/"><img border="0" src="{$skinuri}/img/results-logo{$logo-suffix}.gif" id="results-logo" alt="Carrot2 logo" /></a>
  </xsl:template>

  <xsl:template name="custom-startup-logo">
    <a href="{$contextPath}/"><img border="0" src="{$skinuri}/img/startup-logo{$logo-suffix}.gif" id="startup-logo" alt="Carrot2 logo" /></a>
  </xsl:template>

  <xsl:template name="startup-extra-content">
    <div id="startup-extra-ruler" />

    <div id="startup-extra">
      <a href="{$carrot2.website.url}">About</a> |
      <xsl:choose>
        <xsl:when test="$beta">
          <a href="{$carrot2.stable.url}">Stable</a> |
        </xsl:when>
        <xsl:otherwise>
          <a href="{$carrot2.website.url}/release-2.1-notes.html" class="new">New features!</a> |
        </xsl:otherwise>
      </xsl:choose>
      <a href="{$carrot2.website.url}/demos.html">More demos</a> |
      <a href="{$carrot2.website.url}/browser-plugins.html">Plugins</a> |
      <a href="{$carrot2.website.url}/download.html">Download</a> |
      <a href="{$carrot2.website.url}/faq.html">FAQ</a> |
      <a href="{$carrot2.website.url}/support.html">Contact</a>
    </div>
  </xsl:template>

  <xsl:template name="copyright-holder">
    © 2002-<xsl:value-of select="/page/@year" />&#160;<a href="http://stanislaw.osinski.name/"><NAME></a>, <a href="http://www.cs.put.poznan.pl/dweiss/"><NAME></a>
  </xsl:template>

  <xsl:template name="version-info">
  	<xsl:value-of select="normalize-space(/processing-instruction('release-info'))" />
  </xsl:template>
</xsl:stylesheet><commit_msg>A quick fix to remove "beta" from the stable release :)<commit_after><?xml version="1.0" encoding="UTF-8" ?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

  <xsl:strip-space elements="*"/>

  <!-- Customize these templates by overriding their definitions -->

  <xsl:param name="search-servlet">/search</xsl:param>

  <xsl:param name="ga-code">UA-317750-3</xsl:param>
  <xsl:param name="display-status-line">true</xsl:param>
  <xsl:param name="show-input-descriptions">true</xsl:param>
  <xsl:param name="show-example-queries">true</xsl:param>
  <xsl:param name="show-options">true</xsl:param>
  <xsl:param name="show-progress">true</xsl:param>
  <xsl:param name="show-results-page-footer">false</xsl:param>
  <xsl:param name="init-from-url">false</xsl:param> <!-- Set to 'true' only for generating static HTMLs -->
  <xsl:param name="force-results-page">false</xsl:param> <!-- Set to 'true' only for generating static HTMLs (results page) -->

  <xsl:param name="carrot2.website.url">http://project.carrot2.org</xsl:param>
  <xsl:param name="carrot2.stable.url">http://demo.carrot2.org</xsl:param>
  <xsl:param name="carrot2.head.url">http://demo.carrot2.org/demo-head/</xsl:param>

  <xsl:variable name="beta"><xsl:if test="contains(/processing-instruction('release-info'), 'head')">true</xsl:if></xsl:variable>
  <xsl:variable name="logo-suffix"><xsl:if test="$beta = 'true'">-beta</xsl:if></xsl:variable>

  <xsl:template name="custom-results-utils">
    <div id="results-utils">
      <a href="{$carrot2.website.url}">About</a> |
      <xsl:choose>
        <xsl:when test="$beta = 'true'">
          <a href="{$carrot2.stable.url}">Stable</a> |
        </xsl:when>
        <xsl:otherwise>
          <a href="{$carrot2.website.url}/release-2.1-notes.html" class="new">New features!</a> |
          <a href="{$carrot2.head.url}">Beta</a> |
        </xsl:otherwise>
      </xsl:choose>
      <a href="{$carrot2.website.url}/demos.html">More demos</a> |
      <a href="{$carrot2.website.url}/browser-plugins.html">Plugins</a> |
      <a href="{$carrot2.website.url}/download.html">Download</a> |
      <a href="http://sf.net/projects/carrot2">Carrot2 @ sf.net</a> |
      <a href="http://www.carrot-search.com">Carrot Search</a>
    </div>
  </xsl:template>

  <xsl:template name="custom-results-logo">
    <a href="{$contextPath}/"><img border="0" src="{$skinuri}/img/results-logo{$logo-suffix}.gif" id="results-logo" alt="Carrot2 logo" /></a>
  </xsl:template>

  <xsl:template name="custom-startup-logo">
    <a href="{$contextPath}/"><img border="0" src="{$skinuri}/img/startup-logo{$logo-suffix}.gif" id="startup-logo" alt="Carrot2 logo" /></a>
  </xsl:template>

  <xsl:template name="startup-extra-content">
    <div id="startup-extra-ruler" />

    <div id="startup-extra">
      <a href="{$carrot2.website.url}">About</a> |
      <xsl:choose>
        <xsl:when test="$beta = 'true'">
          <a href="{$carrot2.stable.url}">Stable</a> |
        </xsl:when>
        <xsl:otherwise>
          <a href="{$carrot2.website.url}/release-2.1-notes.html" class="new">New features!</a> |
        </xsl:otherwise>
      </xsl:choose>
      <a href="{$carrot2.website.url}/demos.html">More demos</a> |
      <a href="{$carrot2.website.url}/browser-plugins.html">Plugins</a> |
      <a href="{$carrot2.website.url}/download.html">Download</a> |
      <a href="{$carrot2.website.url}/faq.html">FAQ</a> |
      <a href="{$carrot2.website.url}/support.html">Contact</a>
    </div>
  </xsl:template>

  <xsl:template name="copyright-holder">
    © 2002-<xsl:value-of select="/page/@year" />&#160;<a href="http://stanislaw.osinski.name/"><NAME></a>, <a href="http://www.cs.put.poznan.pl/dweiss/"><NAME></a>
  </xsl:template>

  <xsl:template name="version-info">
  	<xsl:value-of select="normalize-space(/processing-instruction('release-info'))" />
  </xsl:template>
</xsl:stylesheet>
{'fraction_non_alphanumeric': 0.22664605076665378, 'fraction_numerical': 0.014173431258858395, 'mean_word_length': 4.036988968202466, 'pattern_counts': {'":': 0, '<': 239, '<?xml version=': 2, '>': 239, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2144611', 'n_tokens_mistral': 3014, 'n_tokens_neox': 2768, 'n_words': 360}