<commit_before>- var path = document.location.pathname

#teacher-dashboard-nav
  nav.navbar
    .container-fluid.container
      .navbar-header
        button.navbar-toggle.collapsed(type='button' data-toggle='collapse' data-target='#teacher-dashboard-nav-collapse')
          span.sr-only Toggle navigation
          span.icon-bar
          span.icon-bar
          span.icon-bar
        span.navbar-brand.text-h4(data-i18n='teacher.teacher_dashboard')
      #teacher-dashboard-nav-collapse.collapse.navbar-collapse
        ul.nav.navbar-nav
          li(class= path.indexOf('/teachers/classes') === 0 ? 'active' : '')
            a(href='/teachers/classes')
              small.label(data-i18n='teacher.my_classes')
          li(class= path.indexOf('/teachers/courses') === 0 ? 'active' : '')
            a(href='/teachers/courses')
              small.label(data-i18n='teacher.courses')
          li(class= path.indexOf('/teachers/licenses') === 0 ? 'active' : '')
            a(href='/teachers/licenses')
              small.label(data-i18n='teacher.enrollments')
          li(class= path.indexOf('/teachers/resources') === 0 && path.indexOf('/teachers/resources/faq') !== 0 ? 'active' : '')<commit_msg>Add a note to update email templates if some nav strings change<commit_after>- var path = document.location.pathname

#teacher-dashboard-nav
  nav.navbar
    .container-fluid.container
      .navbar-header
        button.navbar-toggle.collapsed(type='button' data-toggle='collapse' data-target='#teacher-dashboard-nav-collapse')
          span.sr-only Toggle navigation
          span.icon-bar
          span.icon-bar
          span.icon-bar
        span.navbar-brand.text-h4(data-i18n='teacher.teacher_dashboard')
      #teacher-dashboard-nav-collapse.collapse.navbar-collapse
        ul.nav.navbar-nav
          // NOTE: Update Close.io email templates if these labels are changed!
          li(class= path.indexOf('/teachers/classes') === 0 ? 'active' : '')
            a(href='/teachers/classes')
              small.label(data-i18n='teacher.my_classes')
          li(class= path.indexOf('/teachers/courses') === 0 ? 'active' : '')
            a(href='/teachers/courses')
              small.label(data-i18n='teacher.courses')
          li(class= path.indexOf('/teachers/licenses') === 0 ? 'active' : '')
            a(href='/teachers/licenses')
              small.label(data-i18n='teacher.enrollments')
          li(class= path.indexOf('/teachers/resources') === 0 && path.indexOf('/teachers/resources/faq') !== 0 ? 'active' : '')
{'fraction_non_alphanumeric': 0.15853658536585366, 'fraction_numerical': 0.011014948859166011, 'mean_word_length': 2.59180790960452, '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': '5893159', 'n_tokens_mistral': 793, 'n_tokens_neox': 766, 'n_words': 109}