<commit_before>extend match

block match_content
  .row
    .col-md-12
      +data_table({id:"analysis", heading: "Analysis"})
        each player, i in match.players
          +data_table_header(i, match)
            tr
              th: abbr(title=tooltips.hero_id) Hero
              each val, key in player.analysis
                if val.grade
                  th: abbr(title=val.name)
                    i.fa.fa-fw(class=val.icon)
              th Analysis
          tr(class = player.isRadiant ? "radiant" : "dire")
            +hero_td(player, player.desc)
            //-
            each val, key in player.analysis
              if val.grade
                td
                  if val.valid
                    div: abbr(title=val.display)
                      - var pct = val.pct
                      if pct >= 1
                        span.text-success="A"
                      else if pct >= 0.8
                        span.text-info="B"
                      else if pct >= 0.6
                        span.text-primary="C"
                      else if pct >= 0.4
                        span.text-warning="D"
                      else
                        span.text-danger="F"
                  else
                    ="-"
            each cond in [false]
              td.text-left.small
                each val, key in player.analysis
                  if val.valid
                    - var pct = val.pct
                    if (cond ? pct > 1.1 : pct < 1)
                      div(class="")
                        span(style="margin:3px;"): abbr(title=(val.advice))<commit_msg>adjust grade thresholds<commit_after>extend match

block match_content
  .row
    .col-md-12
      +data_table({id:"analysis", heading: "Analysis"})
        each player, i in match.players
          +data_table_header(i, match)
            tr
              th: abbr(title=tooltips.hero_id) Hero
              each val, key in player.analysis
                if val.grade
                  th: abbr(title=val.name)
                    i.fa.fa-fw(class=val.icon)
              th Analysis
          tr(class = player.isRadiant ? "radiant" : "dire")
            +hero_td(player, player.desc)
            //-
            each val, key in player.analysis
              if val.grade
                td
                  if val.valid
                    div: abbr(title=val.display)
                      - var pct = val.pct
                      if pct >= 1
                        span.text-success="A"
                      else if pct >= 0.75
                        span.text-info="B"
                      else if pct >= 0.5
                        span.text-primary="C"
                      else if pct >= 0.25
                        span.text-warning="D"
                      else
                        span.text-danger="F"
                  else
                    ="-"
            each cond in [false]
              td.text-left.small
                each val, key in player.analysis
                  if val.valid
                    - var pct = val.pct
                    if (cond ? pct > 1.1 : pct < 1)
                      div(class="")
                        span(style="margin:3px;"): abbr(title=(val.advice))
{'fraction_non_alphanumeric': 0.09376927822331894, 'fraction_numerical': 0.00863664404688464, 'mean_word_length': 0.9020527859237537, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '6696450', 'n_tokens_mistral': 903, 'n_tokens_neox': 826, 'n_words': 199}