<commit_before>if !skip_route
  if itinerary_choices.length > 1
   ul.route-selector
     each index in itinerary_choices
       li(class=index === selected_itinerary_index ? 'selected' : undefined)
         a(href="#", data-index="#{index}")
           span.route-label= t('transit.route')
           | &nbsp;
           = (index + 1)

  .route-info
    span.icon-icon-opening-hours
    | &nbsp;
    = itinerary.duration
    | &nbsp;
    span.icon-icon-by-foot
    | &nbsp;
    = itinerary.walk_distance
    a.show-map(href='#')
      = t('transit.show_on_map')

  .legs
   each leg, index in itinerary.legs
     .leg
       .row.layover-row
         .col-sm-3(class=index === 0 ? 'bold' : '')
           = leg.start_time
         .col-sm-9.bold
           = leg.start_location
       a.collapser.collapsed(class=leg.has_warnings ? 'has-warnings' : '', data-toggle="collapse", data-parent="#route-details", href="#leg-#{index}-details")
         .row.transit-row
           .col-sm-3.leg-icon(class="#{leg.transit_color_class}-color")
             span.icon(class!=leg.icon)
             span.route= leg.route
           .col-sm-9
             span.text= leg.transit_mode + ' ' + leg.transit_details
             span.distance= leg.distance
       .leg-content.collapse(id="leg-#{index}-details")
         .route-line(class="#{leg.transit_color_class}-background-color")
         .steps
           each step in leg.steps
             .step
               span.text= step.text
               if step.time
                 | &nbsp;(
                 = step.time
                 |)
               if step.warning
                 span.warning
                   | &nbsp;-&nbsp;
                   = step.warning
   .end
     .row.layover-row
       .col-sm-3
         span.time.bold= itinerary.end.time
       .col-sm-9
         if itinerary.end.address
           span.bold= itinerary.end.address
           | &nbsp;-&nbsp;
         span= itinerary.end.name
   .accessibility-viewpoint-part.accessibility-viewpoint
   if !profile_set
     a.accessibility-viewpoint(href="#")
       span.icon-icon-wheelchair
         = t('transit.accessibility_not_filtered')<commit_msg>Fix routing summary template indentation<commit_after>if !skip_route
  if itinerary_choices.length > 1
    ul.route-selector
      each index in itinerary_choices
        li(class=index === selected_itinerary_index ? 'selected' : undefined)
          a(href="#", data-index="#{index}")
            span.route-label= t('transit.route')
            | &nbsp;
            = (index + 1)

  .route-info
    span.icon-icon-opening-hours
    | &nbsp;
    = itinerary.duration
    | &nbsp;
    span.icon-icon-by-foot
    | &nbsp;
    = itinerary.walk_distance
    a.show-map(href='#')
      = t('transit.show_on_map')

  .legs
    each leg, index in itinerary.legs
      .leg
        .row.layover-row
          .col-sm-3(class=index === 0 ? 'bold' : '')
            = leg.start_time
          .col-sm-9.bold
            = leg.start_location
        a.collapser.collapsed(class=leg.has_warnings ? 'has-warnings' : '', data-toggle="collapse", data-parent="#route-details", href="#leg-#{index}-details")
          .row.transit-row
            .col-sm-3.leg-icon(class="#{leg.transit_color_class}-color")
              span.icon(class!=leg.icon)
              span.route= leg.route
            .col-sm-9
              span.text= leg.transit_mode + ' ' + leg.transit_details
              span.distance= leg.distance
        .leg-content.collapse(id="leg-#{index}-details")
          .route-line(class="#{leg.transit_color_class}-background-color")
          .steps
            each step in leg.steps
              .step
                span.text= step.text
                if step.time
                  | &nbsp;(
                  = step.time
                  |)
                if step.warning
                  span.warning
                    | &nbsp;-&nbsp;
                    = step.warning
    .end
      .row.layover-row
        .col-sm-3
          span.time.bold= itinerary.end.time
        .col-sm-9
          if itinerary.end.address
            span.bold= itinerary.end.address
            | &nbsp;-&nbsp;
          span= itinerary.end.name
    .accessibility-viewpoint-part.accessibility-viewpoint
    if !profile_set
      a.accessibility-viewpoint(href="#")
        span.icon-icon-wheelchair
          = t('transit.accessibility_not_filtered')
{'fraction_non_alphanumeric': 0.13312202852614896, 'fraction_numerical': 0.004075164138555581, 'mean_word_length': 1.6727162734422263, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4609522', 'n_tokens_mistral': 1410, 'n_tokens_neox': 1369, 'n_words': 201}