<commit_before><div class="well">
  <%= form_for [@commentable, @comment], :html => {:class => "form-inline", :role => "form"} do |f| %>
    <% if @comment.errors.any? %>
      <div class = "error.messages">
        <h2>Please correct the following errors:</h2>
        <ul>
          <% @comment.errors.each do |msg| %>
            <li><%= msg %></li>
          <% end %>
        </ul>
      </div>
    <% end %>

    <div class="form-group">
      <%= f.text_area :content, rows: 4, class: "form-control", placeholder: "Comment on this case" %>
    </div>
    <div class="form-group">
      <div class="actions">
        <%= f.button :submit, class: 'btn btn-default', data: { disable_with: "Submitting..." } %>
      </div>
    </div>
  <% end %>
</div><commit_msg>Made comments a required field<commit_after><div class="well">
  <%= form_for [@commentable, @comment], :html => {:class => "form-inline", :role => "form"} do |f| %>
    <% if @comment.errors.any? %>
      <div class = "error.messages">
        <h2>Please correct the following errors:</h2>
        <ul>
          <% @comment.errors.each do |msg| %>
            <li><%= msg %></li>
          <% end %>
        </ul>
      </div>
    <% end %>

    <div class="form-group">
      <%= f.text_area :content, rows: 4, class: "form-control", placeholder: "Comment on this case", required: 'required' %>
    </div>
    <div class="form-group">
      <div class="actions">
        <%= f.button :submit, class: 'btn btn-default', data: { disable_with: "Submitting..." } %>
      </div>
    </div>
  <% end %>
</div>
{'fraction_non_alphanumeric': 0.21333333333333335, 'fraction_numerical': 0.0038095238095238095, 'mean_word_length': 2.3747323340471094, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 59, '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': '7049818', 'n_tokens_mistral': 558, 'n_tokens_neox': 512, 'n_words': 131}