<commit_before><h1>Listing stops</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Latitude</th>
    <th>Longitude</th>
    <th>Enabled</th>
    <th>Phoentic</th>
  </tr>

<% @stops.each do |stop| %>
  <tr>
    <td><%=h stop.name %></td>
    <td><%=h stop.latitude %></td>
    <td><%=h stop.longitude %></td>
    <td><%=h stop.enabled %></td>
    <td><%=h stop.phoentic %></td>
    <td><%= link_to 'Show', stop %></td>
    <td><%= link_to 'Edit', edit_stop_path(stop) %></td>
    <td><%= link_to 'Destroy', stop, :confirm => 'Are you sure?', :method => :delete %></td><commit_msg>added routes to index<commit_after><h1>Listing stops</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Latitude</th>
    <th>Longitude</th>
    <th>Route(s)</th>
    <th>Enabled</th>
    <th>Phoentic</th>
  </tr>

<% @stops.each do |stop| %>
  <tr>
    <td><%=h stop.name %></td>
    <td><%=h stop.latitude %></td>
    <td><%=h stop.longitude %></td>
    <td><% stop.routes.each do |r| %><%= link_to r.name, r %><BR><% end %></td>
    <td><%=h stop.enabled %></td>
    <td><%=h stop.phoentic %></td>
    <td><%= link_to 'Show', stop %></td>
    <td><%= link_to 'Edit', edit_stop_path(stop) %></td>
    <td><%= link_to 'Destroy', stop, :confirm => 'Are you sure?', :method => :delete %></td>
{'fraction_non_alphanumeric': 0.27610759493670883, 'fraction_numerical': 0.0031645569620253164, 'mean_word_length': 3.259259259259259, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 97, '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': '3687824', 'n_tokens_mistral': 569, 'n_tokens_neox': 548, 'n_words': 113}