<commit_before>.info-title.info-name #{name}
.info-branch #{branch}
.info-submission
  .info-date #{day}
  if uuid
    .info-uuid #{uuid}
.info-help
  a(href=helpLink).help Help
  .dropdown
    button#dLabel.btn.btn-default.dropdown-toggle(data-toggle="dropdown")
      Dropdown csv
      span.caret
    ul.dropdown-menu.dropdown-menu-right
      li.csv-link
        a(href="/tracker/submission/csv?submissionUuid=#{uuid}") Current key metrics
      li.csv-link
        a(href="/tracker/submission/csv?submissionUuid=#{uuid}&keyMetricsOnly=false") Current all metrics
      li.csv-link
        a(href="/tracker/submission/csv?submissionUuid=#{uuid}&daysInterval=7") Last 7 days key metrics
      li.csv-link
        a(href="/tracker/submission/csv?submissionUuid=#{uuid}&daysInterval=7&keyMetricsOnly=false") Last 7 days all metrics<commit_msg>Display csv download link only for valid submission<commit_after>.info-title.info-name #{name}
.info-branch #{branch}
.info-submission
  .info-date #{day}
  if uuid
    .info-uuid #{uuid}
.info-help
  a(href=helpLink).help Help
  if uuid
    .dropdown
      button#dLabel.btn.btn-default.dropdown-toggle(data-toggle="dropdown")
        Dropdown csv
        span.caret
      ul.dropdown-menu.dropdown-menu-right
        li.csv-link
          a(href="/tracker/submission/csv?submissionUuid=#{uuid}") Current key metrics
        li.csv-link
          a(href="/tracker/submission/csv?submissionUuid=#{uuid}&keyMetricsOnly=false") Current all metrics
        li.csv-link
          a(href="/tracker/submission/csv?submissionUuid=#{uuid}&daysInterval=7") Last 7 days key metrics
        li.csv-link
          a(href="/tracker/submission/csv?submissionUuid=#{uuid}&daysInterval=7&keyMetricsOnly=false") Last 7 days all metrics
{'fraction_non_alphanumeric': 0.1362088535754824, 'fraction_numerical': 0.004540295119182747, 'mean_word_length': 3.452020202020202, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3484125', 'n_tokens_mistral': 569, 'n_tokens_neox': 566, 'n_words': 96}