<commit_before>%table.wide_table.mdl-data-table.mdl-js-data-table.mdl-shadow--2dp
  %thead
    %tr
      %th Position
      %th Start Number
      %th Climber
      %th Q1
      %th RQ1
      %th Q2
      %th RQ2
      %th RQ
      %th QRank
      %th RF
      %th PLF
      %th FTime
  %tbody
    - (@race.race_results.where.not(position: nil).order(:position) + @race.race_results.where(position: nil)).each do |rr|
      %tr
        %td= rr.position
        %td= rr.start_number&.value
        %td= rr.racer.full_name
        %td= rr.climbs.dig('q1', 'points')
        %td= rr.climbs.dig('q1', 'position')
        %td= rr.climbs.dig('q2', 'points')
        %td= rr.climbs.dig('q2', 'position')
        %td= rr.climbs.dig('q', 'points')
        %td= rr.climbs.dig('q', 'position')
        %td= rr.climbs.dig('final', 'points')
        %td= rr.climbs.dig('final', 'position')
        %td= rr.climbs.dig('final', 'time')
<commit_msg>Add trophy icon<commit_after>%table.wide_table.mdl-data-table.mdl-js-data-table.mdl-shadow--2dp
  %thead
    %tr
      %th Position
      %th Start Number
      %th Climber
      %th Q1
      %th RQ1
      %th Q2
      %th RQ2
      %th RQ
      %th QRank
      %th RF
      %th PLF
      %th FTime
  %tbody
    - (@race.race_results.where.not(position: nil).order(:position) + @race.race_results.where(position: nil)).each do |rr|
      %tr
        %td
          = rr.position
          - if rr.position && rr.position < 4
            = render partial: 'trophy', locals: { index: rr.position - 1 }
        %td= rr.start_number&.value
        %td= rr.racer.full_name
        %td= rr.climbs.dig('q1', 'points')
        %td= rr.climbs.dig('q1', 'position')
        %td= rr.climbs.dig('q2', 'points')
        %td= rr.climbs.dig('q2', 'position')
        %td= rr.climbs.dig('q', 'points')
        %td= rr.climbs.dig('q', 'position')
        %td= rr.climbs.dig('final', 'points')
        %td= rr.climbs.dig('final', 'position')
        %td= rr.climbs.dig('final', 'time')

{'fraction_non_alphanumeric': 0.1755, 'fraction_numerical': 0.01, 'mean_word_length': 2.0364188163884673, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, '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': '4928506', 'n_tokens_mistral': 816, 'n_tokens_neox': 803, 'n_words': 151}