<commit_before>extend match

block match_content
  .row
    .col-md-12
        h2.inline-header Details
        button.btn.btn-xs.btn-dark.toggle-button(data-toggle="collapse" data-target="#details", aria-expanded="true") Toggle Table
        #details.table-responsive.collapse.in
          table.table.table-hover.summable
            each player, i in match.players
              if !(i%10)
                thead
                  tr
                    th Hero
                    th: abbr(title="Lane based on early game position") LANE
                    th: abbr(title="Percentage of standard lane gold obtained") EFF
                    th: abbr(title="Town Portal Scroll purchases") TP
                    th: abbr(title="Observer Ward purchases") OBS
                    th: abbr(title="Sentry Ward purchases") SEN
                    th: abbr(title="Smokes of Deceit purchases") SMK
                    th: abbr(title="Dusts of Appearance purchases") DST
                    th: abbr(title="Gems of True Sight purchases") GEM
                    th: abbr(title="Number of Buybacks") BB
                    th: abbr(title="Seconds of disable on enemy heroes") STUN
                    th: abbr(title="Neutral creeps killed") NK
                    th: abbr(title="Towers killed") TK
                    th: abbr(title="Couriers killed") CK
                    //th: abbr(title="Number of times the player clicked") CLICK
                    each val, key in constants.runes
                      th=val.name

              tbody
                tr(class = player.isRadiant ? "success" : "danger")
                  - var hero = constants.heroes[player.hero_id]
                  - var p = player.parsedPlayer
                  td.hero
                   if hero
                     img(src=hero.img, title=hero.localized_name)
                   else
                     =player.hero_id
                  td #{constants.lane_ids[p.lane] || "-"} (#{p.lane_role})
                  td #{(p.lane_efficiency*100).toFixed(2)}
                  td #{p.purchase.tpscroll || "-"}
                  td #{p.purchase.ward_observer || "-"}
                  td #{p.purchase.ward_sentry || "-"}
                  td #{p.purchase.smoke_of_deceit || "-"}
                  td #{p.purchase.dust || "-"}
                  td #{p.purchase.gem || "-"}
                  td #{p.buyback_log.length || "-"}
                  td #{p.stuns.toFixed(2)}
                  td #{p.neutral_kills || "-"}
                  td #{p.tower_kills || "-"}
                  td #{p.courier_kills || "-"}
                  //td #{p.clicks[0] || "-"}
                  each val, key in constants.runes
                    td #{p.runes[key] || "-"}
                  
        hr
        include /ads/leaderboard_2
        hr
        h2.inline-header Performance
        button.btn.btn-xs.btn-dark.toggle-button(data-toggle="collapse" data-target="#performance", aria-expanded="true") Toggle Table
        include details_performance_table
        hr
        .row
          .col-md-8.table-responsive
            h2 Gold
            table.table.table-hover.summable
              thead
                tr
                  th Hero
                  each val, key in constants.gold_reasons
                    th: abbr(title=val.tooltip)=val.name
<commit_msg>Update match_details.jade<commit_after>extend match

block match_content
  .row
    .col-md-12
        h2.inline-header Details
        button.btn.btn-xs.btn-dark.toggle-button(data-toggle="collapse" data-target="#details", aria-expanded="true") Toggle Table
        #details.table-responsive.collapse.in
          table.table.table-hover.summable
            each player, i in match.players
              if !(i%10)
                thead
                  tr
                    th Hero
                    th: abbr(title="Lane based on early game position") LANE
                    th: abbr(title="Percentage of standard lane gold obtained") EFF
                    th: abbr(title="Town Portal Scroll purchases") TP
                    th: abbr(title="Observer Ward purchases") OBS
                    th: abbr(title="Sentry Ward purchases") SEN
                    th: abbr(title="Smokes of Deceit purchases") SMK
                    th: abbr(title="Dusts of Appearance purchases") DST
                    th: abbr(title="Gems of True Sight purchases") GEM
                    th: abbr(title="Number of Buybacks") BB
                    th: abbr(title="Seconds of disable on enemy heroes") STUN
                    th: abbr(title="Neutral creeps killed") NK
                    th: abbr(title="Towers killed") TK
                    th: abbr(title="Couriers killed") CK
                    //th: abbr(title="Number of times the player clicked") CLICK
                    each val, key in constants.runes
                      th=val.name

              tbody
                tr(class = player.isRadiant ? "success" : "danger")
                  - var hero = constants.heroes[player.hero_id]
                  - var p = player.parsedPlayer
                  td.hero
                   if hero
                     img(src=hero.img, title=hero.localized_name)
                   else
                     =player.hero_id
                  td #{constants.lane_ids[p.lane] || "-"} (#{p.lane_role})
                  td #{(p.lane_efficiency*100).toFixed(2)}
                  td #{p.purchase.tpscroll || "-"}
                  td #{p.purchase.ward_observer || "-"}
                  td #{p.purchase.ward_sentry*2 || "-"}
                  td #{p.purchase.smoke_of_deceit || "-"}
                  td #{p.purchase.dust || "-"}
                  td #{p.purchase.gem || "-"}
                  td #{p.buyback_log.length || "-"}
                  td #{p.stuns.toFixed(2)}
                  td #{p.neutral_kills || "-"}
                  td #{p.tower_kills || "-"}
                  td #{p.courier_kills || "-"}
                  //td #{p.clicks[0] || "-"}
                  each val, key in constants.runes
                    td #{p.runes[key] || "-"}
                  
        hr
        include /ads/leaderboard_2
        hr
        h2.inline-header Performance
        button.btn.btn-xs.btn-dark.toggle-button(data-toggle="collapse" data-target="#performance", aria-expanded="true") Toggle Table
        include details_performance_table
        hr
        .row
          .col-md-8.table-responsive
            h2 Gold
            table.table.table-hover.summable
              thead
                tr
                  th Hero
                  each val, key in constants.gold_reasons
                    th: abbr(title=val.tooltip)=val.name

{'fraction_non_alphanumeric': 0.11121103117505995, 'fraction_numerical': 0.004646282973621103, 'mean_word_length': 1.3097957770854967, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7224736', 'n_tokens_mistral': 1907, 'n_tokens_neox': 1758, 'n_words': 403}