<commit_before>extends layout

block append css
  link(href='/static/css/highscores.less', rel='stylesheet/less', type='text/css')
block append scripts
  script(src="/static/js/jquery-ui-1.8.20.custom.min.js", type="text/javascript")
  script(src="/static/js/highscores.js", type="text/javascript")

block content
  .container
    .content
      h2.title FEATS OF #{display_name.toUpperCase()}
      div.title#lordly-title
        i
          if aliases
            for alias,key in aliases
              h3
                a LORD #{alias.toUpperCase()} OF #{key.toUpperCase().replace('_', " ", 1)}
          else
            |  THE UNKNOWN
      h3.title OF THE REALM
        | <nbsp/>
        a(href="../highscores") #{req.params.project.toUpperCase()}

      div#title-maker
        h3.title.center SUBMIT A NOBLE TITLE
        form(method="POST", action='/add-title')
          input(name="alias_display_id", type="hidden", value=alias_display_id)
          label(for="display_name") TITLE:
          input(name="display_name", type="text", value=display_name)
          for api in supported_apis
            -var alias = aliases[api]
            label(for=api) #{api.toUpperCase().replace('_', " ", 1)}:
            input(name=api, type="text", value=alias)

          input(name="submit", type="submit", value=" SUBMIT ")

      table(style="font-size: 16px;", class="feats-table")
        thead
          tr
            th THE HOUR
            th(colspan=2) FEAT
            th(colspan=3) POINTS
        tbody
          each row in events
            tr
              td.time.left=humane_time(row.time)
              td.right=describe(row.event)
              td.left.feat
                div
                  a(href=row.url)=row.title
              td.right<commit_msg>Don't hard-code this path<commit_after>extends layout

block append css
  link(href='/static/css/highscores.less', rel='stylesheet/less', type='text/css')
block append scripts
  script(src="/static/js/jquery-ui-1.8.20.custom.min.js", type="text/javascript")
  script(src="/static/js/highscores.js", type="text/javascript")

block content
  .container
    .content
      h2.title FEATS OF #{display_name.toUpperCase()}
      div.title#lordly-title
        i
          if aliases
            for alias,key in aliases
              h3
                a LORD #{alias.toUpperCase()} OF #{key.toUpperCase().replace('_', " ", 1)}
          else
            |  THE UNKNOWN
      h3.title OF THE REALM
        | <nbsp/>
        a(href="../highscores") #{req.params.project.toUpperCase()}

      div#title-maker
        h3.title.center SUBMIT A NOBLE TITLE
        form(method="POST", action=urls.ADD_TITLE)
          input(name="alias_display_id", type="hidden", value=alias_display_id)
          label(for="display_name") TITLE:
          input(name="display_name", type="text", value=display_name)
          for api in supported_apis
            -var alias = aliases[api]
            label(for=api) #{api.toUpperCase().replace('_', " ", 1)}:
            input(name=api, type="text", value=alias)

          input(name="submit", type="submit", value=" SUBMIT ")

      table(style="font-size: 16px;", class="feats-table")
        thead
          tr
            th THE HOUR
            th(colspan=2) FEAT
            th(colspan=3) POINTS
        tbody
          each row in events
            tr
              td.time.left=humane_time(row.time)
              td.right=describe(row.event)
              td.left.feat
                div
                  a(href=row.url)=row.title
              td.right
{'fraction_non_alphanumeric': 0.13361344537815126, 'fraction_numerical': 0.00784313725490196, 'mean_word_length': 2.000840336134454, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '353995', 'n_tokens_mistral': 1119, 'n_tokens_neox': 1079, 'n_words': 212}