<commit_before>{%- extends "base.html" %}
{%- block content %}
{%- if results %}
  <h4>{{ results | length }} newest snippets</h4>
  <div class="row">
    {%- for snippet in results %}
    <div class="col-md-6">
      <div class="panel panel-info">
        <div class="panel-heading">
          <a href='{{ url_for('get_snippet', id=snippet.id) }}'>{{ snippet.title }}</a>
        </div>
        <div class="panel-body">
          {{ snippet.text | truncate(250, False) | markdown }}
        </div>
      </div>
    </div>
    {%- endfor %}
  </div>
{%- else %}
  <h4>There are no snippets. Why don't you <a href='{{ url_for('new_snippet') }}'>Create One</a>?</h4>
{%- endif %}<commit_msg>Pack the snippets togather better on the index.<commit_after>{%- extends "base.html" %}
{%- block content %}
{%- if results %}
  <h4>{{ results | length }} newest snippets</h4>
    {%- for column in results | slice(2) %}
    <div class="row col-md-6">
    {%- for snippet in column %}
      <div class="col-md-12">
        <div class="panel panel-info">
          <div class="panel-heading">
            <a href='{{ url_for('get_snippet', id=snippet.id) }}'>{{ snippet.title }}</a>
          </div>
          <div class="panel-body">
            {{ snippet.text | truncate(250, False) | markdown }}
          </div>
        </div>
      </div>
    {%- endfor %}
    </div>
    {%- endfor %}
  </div>
{%- else %}
  <h4>There are no snippets. Why don't you <a href='{{ url_for('new_snippet') }}'>Create One</a>?</h4>
{%- endif %}
{'fraction_non_alphanumeric': 0.21569920844327176, 'fraction_numerical': 0.012532981530343008, 'mean_word_length': 2.439909297052154, 'pattern_counts': {'":': 0, '<': 40, '<?xml version=': 0, '>': 40, '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': '3480673', 'n_tokens_mistral': 577, 'n_tokens_neox': 523, 'n_words': 129}