<commit_before><%= form_for @message, :url => cf_message_path(@thread, @parent) do |f| %>
  <% if @message.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@message.errors.count, "error") %> prohibited this thread from being saved:</h2>

      <ul>
      <% @message.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div><commit_msg>now error messages for new message are a little bit more beautiful<commit_after><%= form_for @message, :url => cf_message_path(@thread, @parent) do |f| %>
  <% if @message.errors.any? %>
    <div id="error_explanation" class="alert alert-error">
      <h2><%= pluralize(@message.errors.count, "error") %> prohibited this thread from being saved:</h2>

      <ul>
      <% @message.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
{'fraction_non_alphanumeric': 0.19304152637485972, 'fraction_numerical': 0.004489337822671156, 'mean_word_length': 3.187793427230047, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 33, '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': '227608', 'n_tokens_mistral': 318, 'n_tokens_neox': 289, 'n_words': 74}