<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 (x2)") SEN
                    th: abbr(title="Smoke of Deceit purchases") SMK
                    th: abbr(title="Dust of Appearance purchases (x2)") DST
                    th: abbr(title="Gem 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
              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*2 || "-"}
                  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] || "-"}

        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

              tbody
                each player, i in match.players
                  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
                      each val, key in constants.gold_reasons
                        td #{p.gold_reasons[key] || "-"}
          .col-md-4.table-responsive
            h2 XP
            table.table.table-hover.summable
              thead
                tr
                  th Hero
                  each val, key in constants.xp_reasons
                    th=val
              tbody
                each player, i in match.players
                  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
                      each val, key in constants.xp_reasons
                        td #{p.xp_reasons[key] || "-"}
        hr
        .row
         .col-md-4
           h2 Runes
           table.table.table-hover.summable
            each player, i in match.players
              if !(i%10)
                thead
                  tr
                    th Hero
                    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
                  each val, key in constants.runes
                    td #{p.runes[key] || "-"}
         .col-md-4
           h2 Multi Kills
           table.table.table-hover.summable
            each player, i in match.players
              if !(i%10)
                thead
                  tr
                    th Hero
                    each val,key in constants.multi_kills
                      //th #{val} (#{key})
                      th: abbr(title=val) #{key}
              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
                  each val,key in constants.multi_kills
                    td #{p.multi_kills[key] || "-"}
         .col-md-4
           h2 Kill Streaks
           table.table.table-hover.summable
            each player, i in match.players
              if !(i%10)
                thead
                  tr
                    th Hero
                    each val, key in constants.kill_streaks
                      //th #{val} (#{key})
                      th: abbr(title=val) #{key}
              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
                  each val, key in constants.kill_streaks
                    td #{p.kill_streaks[key] || "-"}  
         
        hr
        .row
          .col-md-6
            h2.inline-header Kill/Death
            #kills.table-responsive
              table.table.table-hover
                thead
                  tr
                    th Hero
                    each player, ind in match.players.slice(match.players.length/2, match.players.length)
                      th(class = player.isRadiant ? "success" : "danger")
                        - var hero = constants.heroes[player.hero_id]
                        if hero
                          img(src=hero.img, title=hero.localized_name)
                        else
                          =player.hero_id      
                tbody
                  each player, ind in match.players.slice(0,match.players.length/2)
                    - var hero = constants.heroes[player.hero_id]
                    - var p = player.parsedPlayer
                    tr
                      td.hero(class = player.isRadiant ? "success" : "danger")
                        if hero
                          img(src=hero.img, title=hero.localized_name)
                        else
                          =player.hero_id      
                        each player2, ind2 in match.players.slice(match.players.length/2, match.players.length)
                          - var hero1 = constants.heroes[player.hero_id]
                          - var hero2 = constants.heroes[player2.hero_id]
                          td <span class="green">#{player.parsedPlayer.kills[hero2.name] || 0}</span>/<span class="red">#{player.parsedPlayer.killed_by[hero2.name] || 0}</span>
          .col-md-6
            h2.inline-header Damage Done/Taken
            #kills.table-responsive
              table.table.table-hover
                thead
                  tr
                    th Hero
                    each player, ind in match.players.slice(match.players.length/2, match.players.length)
                      th(class = player.isRadiant ? "success" : "danger")
                        - var hero = constants.heroes[player.hero_id]
                        if hero
                          img(src=hero.img, title=hero.localized_name)
                        else
                          =player.hero_id      
                tbody
                  each player, ind in match.players.slice(0,match.players.length/2)
                    - var hero = constants.heroes[player.hero_id]
                    - var p = player.parsedPlayer
                    tr
                      td.hero(class = player.isRadiant ? "success" : "danger")
                        if hero
                          img(src=hero.img, title=hero.localized_name)
                        else
                          =player.hero_id      
                        each player2, ind2 in match.players.slice(match.players.length/2, match.players.length)
                          - var hero1 = constants.heroes[player.hero_id]
                          - var hero2 = constants.heroes[player2.hero_id]
                          td <span class="green format">#{player.parsedPlayer.damage[hero2.name] || 0}</span>/<span class="red format">#{player.parsedPlayer.damage_taken[hero2.name] || 0}</span>              <commit_msg>merging master<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 (x2)") SEN
                    th: abbr(title="Smoke of Deceit purchases") SMK
                    th: abbr(title="Dust of Appearance purchases (x2)") DST
                    th: abbr(title="Gem 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
              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*2 || "-"}
                  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] || "-"}

        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

              tbody
                each player, i in match.players
                  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
                      each val, key in constants.gold_reasons
                        td #{p.gold_reasons[key] || "-"}
          .col-md-4.table-responsive
            h2 XP
            table.table.table-hover.summable
              thead
                tr
                  th Hero
                  each val, key in constants.xp_reasons
                    th=val
              tbody
                each player, i in match.players
                  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
                      each val, key in constants.xp_reasons
                        td #{p.xp_reasons[key] || "-"}
        hr
        .row
         .col-md-4
           h2 Runes
           table.table.table-hover.summable
            each player, i in match.players
              if !(i%10)
                thead
                  tr
                    th Hero
                    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
                  each val, key in constants.runes
                    td #{p.runes[key] || "-"}
         .col-md-4
           h2 Multi Kills
           table.table.table-hover.summable
            each player, i in match.players
              if !(i%10)
                thead
                  tr
                    th Hero
                    each val,key in constants.multi_kills
                      //th #{val} (#{key})
                      th: abbr(title=val) #{key}
              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
                  each val,key in constants.multi_kills
                    td #{p.multi_kills[key] || "-"}
         .col-md-4
           h2 Kill Streaks
           table.table.table-hover.summable
            each player, i in match.players
              if !(i%10)
                thead
                  tr
                    th Hero
                    each val, key in constants.kill_streaks
                      //th #{val} (#{key})
                      th: abbr(title=val) #{key}
              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
                  each val, key in constants.kill_streaks
                    td #{p.kill_streaks[key] || "-"}  
         
        hr
        .row
          .col-md-6
            h2.inline-header Kill/Death
            #kills.table-responsive
              table.table.table-hover
                thead
                  tr
                    th Hero
                    each player, ind in match.players.slice(match.players.length/2, match.players.length)
                      th(class = player.isRadiant ? "success" : "danger")
                        - var hero = constants.heroes[player.hero_id]
                        if hero
                          img(src=hero.img, title=hero.localized_name)
                        else
                          =player.hero_id      
                tbody
                  each player, ind in match.players.slice(0,match.players.length/2)
                    - var hero = constants.heroes[player.hero_id]
                    - var p = player.parsedPlayer
                    tr
                      td.hero(class = player.isRadiant ? "success" : "danger")
                        if hero
                          img(src=hero.img, title=hero.localized_name)
                        else
                          =player.hero_id      
                        each player2, ind2 in match.players.slice(match.players.length/2, match.players.length)
                          - var hero1 = constants.heroes[player.hero_id]
                          - var hero2 = constants.heroes[player2.hero_id]
                          td <span class="green">#{player.parsedPlayer.kills[hero2.name] || 0}</span>/<span class="red">#{player.parsedPlayer.killed_by[hero2.name] || 0}</span>
          .col-md-6
            h2.inline-header Damage Done/Taken
            #kills.table-responsive
              table.table.table-hover
                thead
                  tr
                    th Hero
                    each player, ind in match.players.slice(match.players.length/2, match.players.length)
                      th(class = player.isRadiant ? "success" : "danger")
                        - var hero = constants.heroes[player.hero_id]
                        if hero
                          img(src=hero.img, title=hero.localized_name)
                        else
                          =player.hero_id      
                tbody
                  each player, ind in match.players.slice(0,match.players.length/2)
                    - var hero = constants.heroes[player.hero_id]
                    - var p = player.parsedPlayer
                    tr
                      td.hero(class = player.isRadiant ? "success" : "danger")
                        if hero
                          img(src=hero.img, title=hero.localized_name)
                        else
                          =player.hero_id      
                        each player2, ind2 in match.players.slice(match.players.length/2, match.players.length)
                          - var hero1 = constants.heroes[player.hero_id]
                          - var hero2 = constants.heroes[player2.hero_id]
                          td <span class="green format">#{player.parsedPlayer.damage[hero2.name] || 0}</span>/<span class="red format">#{player.parsedPlayer.damage_taken[hero2.name] || 0}</span>              

{'fraction_non_alphanumeric': 0.09323680886211252, 'fraction_numerical': 0.006073267903993781, 'mean_word_length': 1.0642864306488817, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '5300715', 'n_tokens_mistral': 5584, 'n_tokens_neox': 5175, 'n_words': 1115}