<commit_before>
  {% for vote in votes %}
  {% url 'votes:vote' system_name=vote.system.machine_name vote_name=vote.machine_name as vote_url %}

    <div class="list-group-item">
        <a href="{{ vote_url }}">
          {{ vote.name }}
          <a href="#">
            <span class="pull-right glyphicon glyphicon-pencil"></span>
          </a>
        </a>
    </div>

  {% endfor %}<commit_msg>Add option to generate links to results<commit_after>
  {% for vote in votes %}

  {% if results == True %}
    {% url 'votes:results' system_name=vote.system.machine_name vote_name=vote.machine_name as vote_url %}
  {% else %}
    {% url 'votes:vote' system_name=vote.system.machine_name vote_name=vote.machine_name as vote_url %}
  {% endif %}

    <div class="list-group-item">
        <a href="{{ vote_url }}">
          {{ vote.name }}
          <a href="#">
            <span class="pull-right glyphicon glyphicon-pencil"></span>
          </a>
        </a>
    </div>

  {% endfor %}
{'fraction_non_alphanumeric': 0.16565656565656567, 'fraction_numerical': 0.0, 'mean_word_length': 2.4771929824561405, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '6587381', 'n_tokens_mistral': 346, 'n_tokens_neox': 313, 'n_words': 71}