<commit_before><h1>Listing Contacts</h1>

<table>
  <thead>
    <tr>
      <th>First</th>
      <th>Last</th>
      <th>Title</th>
      <th>City</th>
      <th>Phone</th>
      <th>Email</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @contacts.each do |contact| %>
      <tr>
        <td><%= contact.first %></td>
        <td><%= contact.last %></td>
        <td><%= contact.title %></td>
        <td><%= contact.city %></td>
        <td><%= contact.phone %></td>
        <td><%= contact.email %></td>
        <td><%= link_to('Show', {:action => 'show', :controller => 'contacts', :id => contact.id}) %></td>
        <td><%= link_to('Edit', {:action => 'edit', :controller => 'contacts', :id => contact.id}) %></td>
        <td><%= link_to('Delete', {:action => 'destroy', :controller => 'contacts', :id => contact.id, :method => :delete,
                         :data => { confirm: 'Are you sure?' }}) %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Contact', new_contact_path %>
<commit_msg>correct links<commit_after><h1>Listing Contacts</h1>

<table>
  <thead>
    <tr>
      <th>First</th>
      <th>Last</th>
      <th>Title</th>
      <th>City</th>
      <th>Phone</th>
      <th>Email</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @contacts.each do |contact| %>
      <tr>
        <td><%= contact.first %></td>
        <td><%= contact.last %></td>
        <td><%= contact.title %></td>
        <td><%= contact.city %></td>
        <td><%= contact.phone %></td>
        <td><%= contact.email %></td>
        <td><%= link_to 'Show', {:action => 'show', :controller => 'contacts', :id => contact.id}) %></td>
        <td><%= link_to 'Edit', {:action => 'edit', :controller => 'contacts', :id => contact.id}) %></td>
        <td><%= link_to 'Delete', {:action => 'destroy', :controller => 'contacts', :id => contact.id}, method: :delete,
                         data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Contact', new_contact_path %>

{'fraction_non_alphanumeric': 0.2570473005255614, 'fraction_numerical': 0.002866698518872432, 'mean_word_length': 2.3504, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 137, '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': '1987112', 'n_tokens_mistral': 805, 'n_tokens_neox': 758, 'n_words': 166}