<commit_before><%= form_for @changeset, @action, fn f -> %>
  <%= if @changeset.action do %>
    <div class="alert alert-danger">
      <p>Oops, something went wrong! Please check the errors below:</p>
      <ul>
        <%= for {attr, message} <- f.errors do %>
          <li><%= humanize(attr) %> <%= message %></li>
        <% end %>
      </ul>
    </div>
  <% end %>

  <div class="form-group">
    <%= label f, :name, "Partner1", class: "control-label" %>
    <%= text_input f, :partner1_id, class: "form-control" %>
  </div>

  <div class="form-group">
    <%= label f, :name, "Partner2", class: "control-label" %>
    <%= text_input f, :partner2_id, class: "form-control" %>
  </div>

  <div class="form-group">
    <%= submit "Submit", class: "btn btn-primary" %>
  </div>
<% end %><commit_msg>Change form labels to allow entry of the ids<commit_after><%= form_for @changeset, @action, fn f -> %>
  <%= if @changeset.action do %>
    <div class="alert alert-danger">
      <p>Oops, something went wrong! Please check the errors below:</p>
      <ul>
        <%= for {attr, message} <- f.errors do %>
          <li><%= humanize(attr) %> <%= message %></li>
        <% end %>
      </ul>
    </div>
  <% end %>

  <div class="form-group">
    <%= label f, :name, "Partner1 ID", class: "control-label" %>
    <%= text_input f, :partner1_id, class: "form-control" %>
  </div>

  <div class="form-group">
    <%= label f, :name, "Partner2 ID", class: "control-label" %>
    <%= text_input f, :partner2_id, class: "form-control" %>
  </div>

  <div class="form-group">
    <%= submit "Submit", class: "btn btn-primary" %>
  </div>
<% end %>
{'fraction_non_alphanumeric': 0.21424223980523432, 'fraction_numerical': 0.004869141813755326, 'mean_word_length': 2.868235294117647, 'pattern_counts': {'":': 0, '<': 59, '<?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': '6627388', 'n_tokens_mistral': 642, 'n_tokens_neox': 580, 'n_words': 154}