<commit_before><%= render partial: "shared/notice", locals: { notice: notice } %>

<legend>Voting</legend>
<p>Status: <%= @vote.status %></p>
<p><%= "#{@vote.voting_forms.count} forms" %></p>
<p><%= "#{@vote.candidates.count} candidates" %></p>
<% if @vote.has_ended? %>
  <%= render partial: "results", locals: { candidates: @vote.candidates } %>
<% end %>

<%= link_to 'Back', votes_path %><commit_msg>Adds voting status pills<commit_after><%= render partial: "shared/notice", locals: { notice: notice } %>

<legend>
  Voting
  <span class="badge badge-info"><%= @vote.status %></span>
  <span class="badge"><%= "#{@vote.voting_forms.count} forms" %></span>
  <span class="badge"><%= "#{@vote.candidates.count} candidates" %></span>
</legend>
<p><%= link_to 'PDF', { controller: :votes, action: :show, format: :pdf }%></p>
<% if @vote.has_ended? %>
  <%= render partial: "results", locals: { candidates: @vote.candidates } %>
<% end %>

<%= link_to 'Back', votes_path %>
{'fraction_non_alphanumeric': 0.24897119341563786, 'fraction_numerical': 0.0, 'mean_word_length': 5.486666666666666, 'pattern_counts': {'":': 0, '<': 38, '<?xml version=': 0, '>': 38, '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': '5753519', 'n_tokens_mistral': 382, 'n_tokens_neox': 345, 'n_words': 81}