<commit_before><div class="topic-navigation">
  <%= link_to "\u21e6 #{t 'app.topics.back'}", topic %>
</div>

<div class="row-fluid">
  <div class="span12">
    <h3><%= Vote.model_name.human(count: 2).capitalize %> <%= Vote.human_attribute_name(:about) %> <%= topic.downcased_title %></h3>
    <table class="table">
      <thead>
        <th><%= VoteConnection.human_attribute_name :description %></th>
        <th><%= Topic.human_attribute_name :party_votes_header %></th>
        <th><%= Vote.human_attribute_name :enacted %></th>
        <th><%= VoteConnection.human_attribute_name :weight %></th>
      </thead>
      <tbody>
        <% topic.vote_connections.each do |connection| %>
          <tr>
            <td>
              <%= link_to connection.vote do %>
                <%= connection.description %>
              <% end %>
            </td>
            <td>
              <% if connection.vote.has_results? %>
                <% @party_groups.each do |group| %>
                  <% group.parties.each do |party| %>
                    <%= render partial: 'votes_party', locals: { party: party, stats: connection.vote.stats } %>
                  <% end %>
                <% end %>

                <% if connection.vote.inferred? %>
                  <div class="alert alert-info"><%= I18n.t('app.votes.non_personal.inferred') %></div>
                <% end %>
              <% else %>
                <div class="alert alert-info"><%= I18n.t('app.votes.non_personal.party_unknown') %></div>
              <% end %>
            </td>
            <td>
              <span class="label label-<%= connection.vote.enacted ? 'success' : 'important' %>">
                <%= connection.vote.enacted_text %>
              </span>
            </td>
            <td><%= connection.weight %></td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </div>
</div><commit_msg>Make topic#votes view more readable by adding some whitespace.<commit_after><div class="topic-navigation">
  <%= link_to "\u21e6 #{t 'app.topics.back'}", topic %>
</div>

<div class="row-fluid">
  <div class="span12">
    
    <h3><%= Vote.model_name.human(count: 2).capitalize %> <%= Vote.human_attribute_name(:about) %> <%= topic.downcased_title %></h3>
    
    <table class="table">

      <thead>
        <th><%= VoteConnection.human_attribute_name :description %></th>
        <th><%= Topic.human_attribute_name :party_votes_header %></th>
        <th><%= Vote.human_attribute_name :enacted %></th>
        <th><%= VoteConnection.human_attribute_name :weight %></th>
      </thead>

      <tbody>
        <% topic.vote_connections.each do |connection| %>
          <tr>

            <td>
              <%= link_to connection.vote do %>
                <%= connection.description %>
              <% end %>
            </td>

            <td>
              <% if connection.vote.has_results? %>
                <% @party_groups.each do |group| %>
                  <% group.parties.each do |party| %>
                    <%= render partial: 'votes_party', locals: { party: party, stats: connection.vote.stats } %>
                  <% end %>
                <% end %>

                <% if connection.vote.inferred? %>
                  <div class="alert alert-info"><%= I18n.t('app.votes.non_personal.inferred') %></div>
                <% end %>
              <% else %>
                <div class="alert alert-info"><%= I18n.t('app.votes.non_personal.party_unknown') %></div>
              <% end %>
            </td>

            <td>
              <span class="label label-<%= connection.vote.enacted ? 'success' : 'important' %>">
                <%= connection.vote.enacted_text %>
              </span>
            </td>

            <td><%= connection.weight %></td>

          </tr>
        <% end %>
      </tbody>

    </table>
  </div>
</div>
{'fraction_non_alphanumeric': 0.177431906614786, 'fraction_numerical': 0.0062256809338521405, 'mean_word_length': 1.7464387464387465, 'pattern_counts': {'":': 0, '<': 135, '<?xml version=': 0, '>': 135, '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': '4868357', 'n_tokens_mistral': 1297, 'n_tokens_neox': 1127, 'n_words': 215}