<commit_before><h2><%= t('admin.routes') %></h2>
<%= link_to t('admin.add_a_route'), admin_url(new_admin_route_path) %>
<%= render :partial => "admin/shared/index_js" %>
<%= render :partial => "admin/shared/search_form", :locals => { :skip_transport_mode => false }  %>
<form method='GET' action="<%= admin_url(merge_admin_routes_path)%>">
  <%= will_paginate @routes, { :admin => true } %>
  <%= t('admin.select') %>
  <%= link_to(t('admin.all'), '', { :class => "index-select-all" }) %>
  <%= link_to(t('admin.none'), '', { :class => "index-select-none" }) %>
  <table class='routes index-list'>
    <tr>
      <th width='12%'><%= sortable('id', t('admin.id)') %></th>
      <th width='5%'><%= sortable('number', t('admin.admin_route_number)') %></th>
      <th width='14%'><%= sortable('name', t('admin.name)') %></th>
      <th width='35%'><%= sortable('description', t('admin.description)') %></th>
      <th width='23%'><%= t('admin.operators') %></th>
      <th width='10%'><%= sortable('regions.name', t('admin.region)') %></th>
      <th width='5%'><%= t('admin.select') %></th>
    </tr>
    <%-@routes.each do |route| %>
      <tr class='<%= cycle("odd", "even") %>'>
        <td>
          <%= link_to route.id, main_url(route_path(route.region, route)) %>
          <%= link_to "(#{t('admin.admin')})", admin_url(admin_route_path(route.id)) %>
        <td><%= route.number   %></td>
        <td><%= route.read_attribute(:name) %></td>
        <td><%= route.description %></td>
        <td><%= raw route.operators.map{ |operator| link_to(operator.name, admin_url(admin_operator_path(operator))) }.join(" ") %></td>
        <td><%= route.region.name %></td>
        <td><%= raw check_box_tag "routes[]", route.id, false, { :class => "select-item" } %></td>
      </tr>
    <%-end %>
    <tr class='footer'>
      <td colspan='8'>
        <%= t('admin.selected_items') %>
        <%= raw submit_tag t('admin.merge') %>
      </td>
    </tr><commit_msg>More bugfixes<commit_after><h2><%= t('admin.routes') %></h2>
<%= link_to t('admin.add_a_route'), admin_url(new_admin_route_path) %>
<%= render :partial => "admin/shared/index_js" %>
<%= render :partial => "admin/shared/search_form", :locals => { :skip_transport_mode => false }  %>
<form method='GET' action="<%= admin_url(merge_admin_routes_path)%>">
  <%= will_paginate @routes, { :admin => true } %>
  <%= t('admin.select') %>
  <%= link_to(t('admin.all'), '', { :class => "index-select-all" }) %>
  <%= link_to(t('admin.none'), '', { :class => "index-select-none" }) %>
  <table class='routes index-list'>
    <tr>
      <th width='12%'><%= sortable('id', t('admin.id')) %></th>
      <th width='5%'><%= sortable('number', t('admin.admin_route_number')) %></th>
      <th width='14%'><%= sortable('name', t('admin.name')) %></th>
      <th width='35%'><%= sortable('description', t('admin.description')) %></th>
      <th width='23%'><%= t('admin.operators') %></th>
      <th width='10%'><%= sortable('regions.name', t('admin.region')) %></th>
      <th width='5%'><%= t('admin.select') %></th>
    </tr>
    <%-@routes.each do |route| %>
      <tr class='<%= cycle("odd", "even") %>'>
        <td>
          <%= link_to route.id, main_url(route_path(route.region, route)) %>
          <%= link_to "(#{t('admin.admin')})", admin_url(admin_route_path(route.id)) %>
        <td><%= route.number   %></td>
        <td><%= route.read_attribute(:name) %></td>
        <td><%= route.description %></td>
        <td><%= raw route.operators.map{ |operator| link_to(operator.name, admin_url(admin_operator_path(operator))) }.join(" ") %></td>
        <td><%= route.region.name %></td>
        <td><%= raw check_box_tag "routes[]", route.id, false, { :class => "select-item" } %></td>
      </tr>
    <%-end %>
    <tr class='footer'>
      <td colspan='8'>
        <%= t('admin.selected_items') %>
        <%= raw submit_tag t('admin.merge') %>
      </td>
    </tr>
{'fraction_non_alphanumeric': 0.2711518858307849, 'fraction_numerical': 0.00764525993883792, 'mean_word_length': 3.6176470588235294, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 155, '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': '905432', 'n_tokens_mistral': 1532, 'n_tokens_neox': 1447, 'n_words': 248}