<commit_before>{% extends "base.html" %}
{% load url from future %}

{% block content %}
  <h1>{{ vote.name }}</h1>
  {{ vote.description }}<br>
  Opened: {{ vote.opens }}<br>
  Closed: {{ vote.closes }}<br>
  Method: {{ vote.method }}<br>
  Example Ballot: {{ vote.template }}<br>
  Result: <span class="label label-success">{{ vote.result }}</span><br>
  <hr>
  <h2>Ballots [{{ vote.ballot_set.all.count }}]</h2>
  <ul>
    {% for ballot in vote.ballot_set.all %}
      <li>{{ ballot.identifier }} - {{ ballot.data }}</li>
    {% endfor %}
  </ul>
  <hr>
{% endblock %}<commit_msg>Adds list of voters who voted to view_results<commit_after>{% extends "base.html" %}
{% load url from future %}

{% block content %}
  <h1>{{ vote.name }}</h1>
  {{ vote.description }}<br>
  Opened: {{ vote.opens }}<br>
  Closed: {{ vote.closes }}<br>
  Method: {{ vote.method }}<br>
  Example Ballot: {{ vote.template }}<br>
  Result: <span class="label label-success">{{ vote.result }}</span><br>
  <hr>
  <h2>Ballots [{{ vote.ballot_set.all.count }}]</h2>
  <ul>
    {% for ballot in vote.ballot_set.all %}
      <li>{{ ballot.identifier }} - {{ ballot.data }}</li>
    {% endfor %}
  </ul>
  <hr>
  <h2>Voted (in order of user creation in the database)</h2>
  <ul>
    {% for voter in vote.already_voted.all %}
      <li>{{ voter.username }}
    {% endfor %}
  </ul>
{% endblock %}
{'fraction_non_alphanumeric': 0.22149122807017543, 'fraction_numerical': 0.007309941520467836, 'mean_word_length': 3.3322784810126582, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 0, '>': 44, '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': '2761235', 'n_tokens_mistral': 552, 'n_tokens_neox': 507, 'n_words': 125}