<commit_before>extends ../layouts/base
include ../mixins/_view_helpers

block vars
  - htmlClass = "html-writer-dashboard"
  - bodyClass = ""
  - pageTitle = "! Writer dashboard"


mixin dashboardNavigationItem(count, cssClass)
  li.dashboard-navigation-item(class=cssClass)
    a.dashboard-navigation-item-link(href="#dashboard-content")
      block
      span.dashboard-navigation-item-link-count (#{count})
      i.fa.fa-angle-right

block content
  .dashboard-title-container
    //p.dashboard-subtitle Objective:
    h1.dashboard-title We need more bike lines in soho
  .dashboard-overall-stats
    p.dashboard-stat
      span.dashboard-stat-amount 5432
      span.dashboard-stat-title Participants
    p.dashboard-stat
      span.dashboard-stat-amount 3210
      span.dashboard-stat-title Starred
  .writer-dashboard
    .writer-dashboard-navigation
      h2.writer-dashboard-navigation-title Questions
      ul.dashboard-navigation
        +dashboardNavigationItem(2000)
          | hello world
        +dashboardNavigationItem(1827, 'on')
          | How much wood can a woodchuck chuck?
        +dashboardNavigationItem(999)
          | What colour is the sky?
        +dashboardNavigationItem(210)
          | hello world
        +dashboardNavigationItem(40)
          | How much wood can a woodchuck chuck?
        +dashboardNavigationItem(20)
          | What colour is the sky?

    .writer-dashboard-content-container
      ul.writer-dashboard-content-filter-list
        li.writer-dashboard-content-filter-list-item
          a.writer-dashboard-content-filter-list-item-button.on(href="#")
            i.fa.fa-thumbs-o-up
        li.writer-dashboard-content-filter-list-item
          a.writer-dashboard-content-filter-list-item-button(href="#")
            i.fa.fa-thumbs-o-down
        li.writer-dashboard-content-filter-list-item
          a.writer-dashboard-content-filter-list-item-button(href="#")
            i.fa.fa-paperclip



      .writer-dashboard-content#dashboard-content
        .writer-dashboard-content-stats
          p 1827 answers, 987 unique:
        ul.answer-list
          +dashboardAnswerItem()
          +dashboardAnswerItem()
          +dashboardAnswerItem()
          +dashboardAnswerItem()

block footerScripts<commit_msg>Change result text on writer dashboard to be more friendly<commit_after>extends ../layouts/base
include ../mixins/_view_helpers

block vars
  - htmlClass = "html-writer-dashboard"
  - bodyClass = ""
  - pageTitle = "! Writer dashboard"


mixin dashboardNavigationItem(count, cssClass)
  li.dashboard-navigation-item(class=cssClass)
    a.dashboard-navigation-item-link(href="#dashboard-content")
      block
      span.dashboard-navigation-item-link-count (#{count})
      i.fa.fa-angle-right

block content
  .dashboard-title-container
    //p.dashboard-subtitle Objective:
    h1.dashboard-title We need more bike lines in soho
  .dashboard-overall-stats
    p.dashboard-stat
      span.dashboard-stat-amount 5432
      span.dashboard-stat-title Participants
    p.dashboard-stat
      span.dashboard-stat-amount 3210
      span.dashboard-stat-title Starred
  .writer-dashboard
    .writer-dashboard-navigation
      h2.writer-dashboard-navigation-title Questions
      ul.dashboard-navigation
        +dashboardNavigationItem(2000)
          | hello world
        +dashboardNavigationItem(1827, 'on')
          | How much wood can a woodchuck chuck?
        +dashboardNavigationItem(999)
          | What colour is the sky?
        +dashboardNavigationItem(210)
          | hello world
        +dashboardNavigationItem(40)
          | How much wood can a woodchuck chuck?
        +dashboardNavigationItem(20)
          | What colour is the sky?

    .writer-dashboard-content-container
      ul.writer-dashboard-content-filter-list
        li.writer-dashboard-content-filter-list-item
          a.writer-dashboard-content-filter-list-item-button.on(href="#")
            i.fa.fa-thumbs-o-up
        li.writer-dashboard-content-filter-list-item
          a.writer-dashboard-content-filter-list-item-button(href="#")
            i.fa.fa-thumbs-o-down
        li.writer-dashboard-content-filter-list-item
          a.writer-dashboard-content-filter-list-item-button(href="#")
            i.fa.fa-paperclip



      .writer-dashboard-content#dashboard-content
        .writer-dashboard-content-stats
          p 1827 answers from 970 people:
        ul.answer-list
          +dashboardAnswerItem()
          +dashboardAnswerItem()
          +dashboardAnswerItem()
          +dashboardAnswerItem()

block footerScripts
{'fraction_non_alphanumeric': 0.10277111062622736, 'fraction_numerical': 0.015273838097316169, 'mean_word_length': 2.5234435049961568, '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': '4659486', 'n_tokens_mistral': 1355, 'n_tokens_neox': 1355, 'n_words': 229}