<commit_before>extend player

block playercontent
    .row
      .col-md-12
        h3 Records
        table.table.table-condensed.table-striped
          thead
            tr
              th Stat
              th Hero
              th Record
              th Set
              th Games
              th Total
              th Mean
          tbody
            each v, key in histograms
              if key in player.aggData
                - var val = player.aggData[key]
                - var avg = val.sum/val.n
                tr
                  td: abbr(title=tooltips[key])=key.split("_").map(function(s){ return s.charAt(0).toUpperCase() + s.slice(1)}).join(" ")
                  td
                    - var hero = constants.heroes[val.max_match.hero_id]
                    if hero
                      img(src=hero.img, title=hero.localized_name)
                    else
                      val.max_match.hero_id
                  td(class=(key in times ? "format-seconds" : ""), data-format-seconds=val.max) #{val.max}
                  td: a(href=val.max_match.match_id ? "/matches/"+ val.max_match.match_id : "#") #{val.max_match.start_time ? moment.unix(val.max_match.start_time).fromNow() : "never"}
                  td #{val.n}
                  td(class=(key in times ? "format-seconds" : "format"), data-format-seconds=val.sum) #{val.sum}
                  td(class=(key in times ? "format-seconds" : ""), data-format-seconds=avg) #{avg.toFixed(2)}<commit_msg>Add full date as title to the "x days ago" on the player records page<commit_after>extend player

block playercontent
    .row
      .col-md-12
        h3 Records
        table.table.table-condensed.table-striped
          thead
            tr
              th Stat
              th Hero
              th Record
              th Set
              th Games
              th Total
              th Mean
          tbody
            each v, key in histograms
              if key in player.aggData
                - var val = player.aggData[key]
                - var avg = val.sum/val.n
                tr
                  td: abbr(title=tooltips[key])=key.split("_").map(function(s){ return s.charAt(0).toUpperCase() + s.slice(1)}).join(" ")
                  td
                    - var hero = constants.heroes[val.max_match.hero_id]
                    if hero
                      img(src=hero.img, title=hero.localized_name)
                    else
                      val.max_match.hero_id
                  td(class=(key in times ? "format-seconds" : ""), data-format-seconds=val.max) #{val.max}
                  td: a(href=val.max_match.match_id ? "/matches/"+ val.max_match.match_id : "#", title=val.max_match.start_time ? moment.unix(match.start_time).format("ddd D MMMM YYYY, HH:mm:ss Z") : "") #{val.max_match.start_time ? moment.unix(val.max_match.start_time).fromNow() : "never"}
                  td #{val.n}
                  td(class=(key in times ? "format-seconds" : "format"), data-format-seconds=val.sum) #{val.sum}
                  td(class=(key in times ? "format-seconds" : ""), data-format-seconds=avg) #{avg.toFixed(2)}
{'fraction_non_alphanumeric': 0.11985973860376156, 'fraction_numerical': 0.003825310806503028, 'mean_word_length': 1.4592476489028212, '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': '7369811', 'n_tokens_mistral': 940, 'n_tokens_neox': 896, 'n_words': 190}