<commit_before>{% load i18n %}
{% load core_tags %}

<div id="project_details">
  <div class="wrapper">

    <div id="project_description">
    {% if project.description %}
      <h3>{% trans "Description" %}</h3>
      <div id="project_description">
      <p>
        {{ project.description|restructuredtext }}
      </p>
      </div>
    {% endif %}
    </div>

<!-- BEGIN search bar -->
<div class="search">
  <form action="{% url "haystack_project" %}" method="GET">
    <input type="text" name="q" value="" placeholder="{% blocktrans %}Search {{ project }}{% endblocktrans %}" id="id_site_search">
    <input type="hidden" name="selected_facets" value="project_exact:{{ project.name }}">
    <input type="submit" value="{% trans "Search" %}">
  </form>
</div>
<br>
<!-- END search bar -->

<div class="module"><commit_msg>Point project-search at ES front end.<commit_after>{% load i18n %}
{% load core_tags %}

<div id="project_details">
  <div class="wrapper">

    <div id="project_description">
    {% if project.description %}
      <h3>{% trans "Description" %}</h3>
      <div id="project_description">
      <p>
        {{ project.description|restructuredtext }}
      </p>
      </div>
    {% endif %}
    </div>

<!-- BEGIN search bar -->
<div class="search">
  <form action="{% url "elastic_project_search" project.slug %}" method="GET">
    <input type="text" name="q" value="" placeholder="{% blocktrans %}Search {{ project }}{% endblocktrans %}" id="id_site_search">
    <input type="hidden" name="selected_facets" value="project_exact:{{ project.name }}">
    <input type="submit" value="{% trans "Search" %}">
  </form>
</div>
<br>
<!-- END search bar -->

<div class="module">
{'fraction_non_alphanumeric': 0.20683559222156747, 'fraction_numerical': 0.004714201532115498, 'mean_word_length': 3.7430167597765363, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '667699', 'n_tokens_mistral': 575, 'n_tokens_neox': 541, 'n_words': 131}