<commit_before><div class="col-md-6">
  <div class="top-header"><%= @room.title %></div>
  <div class="content">
    <div class="messages">
      <h2>Messages:</h2>
      <% @chat.messages.each do |message| %>
        <div <%= 'align=right' if current_user.id == message.user_id %>>
          <div class="message-body <%= "current-user" if current_user.id == message.user_id %>">
            <p class="attr"><b><%= User.find(message.user_id).email %></b></p>
            <p><%= message.text %></p>
          </div>
        </div>
      <% end %>
    </div>

    <div class="message-form">
      <%= form_for @chat.messages.new, url: chats_messages_path do |f| %>
        <p>
          <%= f.text_area :text, class: "form-control", style: "width: 80%; height: 80px" %>
        </p>
        <p>
          <%= f.submit 'Send Message', class: "btn btn-danger" %>
        </p>
      <% end %>
    </div>
  </div>
</div>

<div class="col-md-3">

</div><commit_msg>Add anchor for chat message<commit_after><div class="col-md-6">
  <div class="top-header"><%= @room.title %></div>
  <div class="content">
    <div class="messages">
      <h2>Messages:</h2>
      <% @chat.messages.each do |message| %>
        <div <%= 'align=right' if current_user.id == message.user_id %>>
          <div class="message-body <%= "current-user" if current_user.id == message.user_id %>">
            <p class="attr"><b><%= User.find(message.user_id).email %></b></p>
            <p id="<%= "last" if message == Message.last %>"><%= message.text %></p>
          </div>
        </div>
      <% end %>
    </div>

    <div class="message-form">
      <%= form_for @chat.messages.new, url: chats_messages_path do |f| %>
        <p>
          <%= f.text_area :text, class: "form-control", style: "width: 80%; height: 80px" %>
        </p>
        <p>
          <%= f.submit 'Send Message', class: "btn btn-danger" %>
        </p>
      <% end %>
    </div>
  </div>
</div>

<div class="col-md-3">
  <%= render 'rooms/options' %>
</div>
{'fraction_non_alphanumeric': 0.22371699053313404, 'fraction_numerical': 0.007972097658196313, 'mean_word_length': 2.31900826446281, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, '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': '492947', 'n_tokens_mistral': 756, 'n_tokens_neox': 699, 'n_words': 150}