<commit_before><li class="suggestion">
  <aside>
    <div class="vote-count" data-id="<%= suggestion.id %>">
      <%= suggestion.vote_count %>
    </div>

    <div class="vote" data-id="<%= suggestion.id %>">
      <% if vote_for_suggestion %>
        <%= semantic_form_for vote_for_suggestion, html: { method: :delete } do |f| %>
          <%= f.input :suggestion_id, as: :hidden, input_html: { value: suggestion.id } %>
          <%= f.action :submit, button_html: { value: "✔" } %>
        <% end %>
      <% else %>
        <%= semantic_form_for suggestion.votes.build do |f| %>
          <%= f.input :suggestion_id, as: :hidden, input_html: { value: suggestion.id } %>
          <%= f.action :submit, button_html: { value: "✔" } %>
        <% end %>
      <% end %>
    </div>
  </aside>
  <div class="description">
    <%= suggestion.description %>
  </div>
</li><commit_msg>Add additional css class 'undo-vote' to votes which can be undone<commit_after><li class="suggestion">
  <aside>
    <div class="vote-count" data-id="<%= suggestion.id %>">
      <%= suggestion.vote_count %>
    </div>

      <% if vote_for_suggestion %>
        <div class="vote undo-vote" data-id="<%= suggestion.id %>">
          <%= semantic_form_for vote_for_suggestion, html: { method: :delete } do |f| %>
            <%= f.input :suggestion_id, as: :hidden, input_html: { value: suggestion.id } %>
            <%= f.action :submit, button_html: { value: "✔" } %>
          <% end %>
        </div>
      <% else %>
        <div class="vote" data-id="<%= suggestion.id %>">
          <%= semantic_form_for suggestion.votes.build do |f| %>
            <%= f.input :suggestion_id, as: :hidden, input_html: { value: suggestion.id } %>
            <%= f.action :submit, button_html: { value: "✔" } %>
          <% end %>
        </div>
      <% end %>
  </aside>
  <div class="description">
    <%= suggestion.description %>
  </div>
</li>
{'fraction_non_alphanumeric': 0.1955278211128445, 'fraction_numerical': 0.0, 'mean_word_length': 2.504553734061931, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 0, '>': 56, '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': '4212309', 'n_tokens_mistral': 711, 'n_tokens_neox': 635, 'n_words': 137}