<commit_before>
    <!-- BEGIN project bar -->
    <div id="project_bar">
      <div class="wrapper">

        <div class="project-title">
          <h1><a href="{{ project.get_absolute_url }}">{{ project }}</a></h1>
          <a href="{{ project.user.get_absolute_url }}" class="quiet">({{ project.user }})</a>
          {% if project.version %}<span class="quiet">version {{ project.version }} </span>{% endif %}
        </div>

        <div class="options">

          {% if project.get_latest_build %}
            {% if not project.get_latest_build.success %}
              <p class="build-failure">Build failed (<a href="{{ project.get_builds_url }}">why</a>)</p>
            {% endif %}
          {% else %}
            <p class="build-missing">There are no builds for this project.{% if request.user == project.user %} <a href="{% url projects_edit project.slug %}">Is the repo correct?</a>{% endif %}</p>
          {% endif %}

          <ul>
            {% if project.has_good_build %}
              <li {% block editing-option-view %}{% endblock %}><a href="{{ project.get_docs_url }}">View Docs</a></li>
            {% endif %}

            {% if request.user == project.user %}
              {% if not project.is_imported %}
                <li {% block editing-option-manage %}{% endblock %}><a href="{% url projects_manage project.slug %}">Manage Files</a></li>
              {% endif %}
              <li {% block editing-option-edit-proj %}{% endblock %}><a href="{% url projects_edit project.slug %}">Edit Project</a></li>
            {% endif %}

            {% if project.get_latest_build %}
              <li {% block editing-option-builds %}{% endblock %}><a href="{{ project.get_builds_url }}">Builds</a></li>
            {% endif %}

            {% if project.project_url %}
              <li><a href="{{ project.project_url }}" rel="nofollow,noindex">Project Homepage</a></li>
            {% endif %}

            {% if project.has_versions and request.user == project.user %}
              <li><a href="{% url projects_versions project.slug %}" rel="nofollow,noindex">Versions</a></li>
            {% endif %}

            {% if project.has_pdf %}
              <li><a href="{{ project.get_pdf_url }}" rel="nofollow,noindex">Download PDF</a></li>
            {% endif %}

            {% if project.has_manpage %}
              <li><a href="{{ project.get_manpage_url }}" rel="nofollow,noindex">Manpage (Beta)</a></li>
            {% endif %}<commit_msg>Remove download on pdf button for consistency.<commit_after>
    <!-- BEGIN project bar -->
    <div id="project_bar">
      <div class="wrapper">

        <div class="project-title">
          <h1><a href="{{ project.get_absolute_url }}">{{ project }}</a></h1>
          <a href="{{ project.user.get_absolute_url }}" class="quiet">({{ project.user }})</a>
          {% if project.version %}<span class="quiet">version {{ project.version }} </span>{% endif %}
        </div>

        <div class="options">

          {% if project.get_latest_build %}
            {% if not project.get_latest_build.success %}
              <p class="build-failure">Build failed (<a href="{{ project.get_builds_url }}">why</a>)</p>
            {% endif %}
          {% else %}
            <p class="build-missing">There are no builds for this project.{% if request.user == project.user %} <a href="{% url projects_edit project.slug %}">Is the repo correct?</a>{% endif %}</p>
          {% endif %}

          <ul>
            {% if project.has_good_build %}
              <li {% block editing-option-view %}{% endblock %}><a href="{{ project.get_docs_url }}">View Docs</a></li>
            {% endif %}

            {% if request.user == project.user %}
              {% if not project.is_imported %}
                <li {% block editing-option-manage %}{% endblock %}><a href="{% url projects_manage project.slug %}">Manage Files</a></li>
              {% endif %}
              <li {% block editing-option-edit-proj %}{% endblock %}><a href="{% url projects_edit project.slug %}">Edit Project</a></li>
            {% endif %}

            {% if project.get_latest_build %}
              <li {% block editing-option-builds %}{% endblock %}><a href="{{ project.get_builds_url }}">Builds</a></li>
            {% endif %}

            {% if project.project_url %}
              <li><a href="{{ project.project_url }}" rel="nofollow,noindex">Project Homepage</a></li>
            {% endif %}

            {% if project.has_versions and request.user == project.user %}
              <li><a href="{% url projects_versions project.slug %}" rel="nofollow,noindex">Versions</a></li>
            {% endif %}

            {% if project.has_pdf %}
              <li><a href="{{ project.get_pdf_url }}" rel="nofollow,noindex">PDF</a></li>
            {% endif %}

            {% if project.has_manpage %}
              <li><a href="{{ project.get_manpage_url }}" rel="nofollow,noindex">Manpage (Beta)</a></li>
            {% endif %}
{'fraction_non_alphanumeric': 0.18855421686746987, 'fraction_numerical': 0.0008032128514056225, 'mean_word_length': 2.199100834938985, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1358795', 'n_tokens_mistral': 1600, 'n_tokens_neox': 1425, 'n_words': 321}