<commit_before>{{#if (or currentUser.performsNonLearnerFunction)}}
  <ul
    class="expand-navigation link clickable"
    role="button"
    onclick={{action (toggle "expanded" this)}}
  >
    <li title={{t "general.menu"}}>
      <FaIcon @icon="bars" />
    </li>
  </ul>
  <ul class="navigation-links">
    <li>
      <LinkTo @route="dashboard">
        <FaIcon
          @icon="home"
          @fixedWidth={{true}}
          @title={{t "general.dashboard"}}
        />
        <span class="text">
          {{t "general.dashboard"}}
        </span>
      </LinkTo>
    </li>
    {{#if currentUser.performsNonLearnerFunction}}
      <li>
        <LinkTo
          @route="courses"
          @title={{t "general.coursesAndSessions"}}
          @current-when={{
            join " "
            (array
              "course"
              "course-visualizations"
              "course-visualize-instructor"
              "course-visualize-instructors"
              "course-visualize-objectives"
              "course-visualize-session-type"
              "course-visualize-session-types"
              "course-visualize-term"
              "course-visualize-vocabularies"
              "course-visualize-vocabulary"
              "courses"
            )
          }}
        >
          <FaIcon @icon="book" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.coursesAndSessions"}}
          </span>
        </LinkTo>
      </li>
      <li>
        <LinkTo
          @route="learnerGroups"
          @title={{t "general.learnerGroups"}}
          @current-when="learnerGroups learnerGroup"
        >
          <FaIcon @icon="graduation-cap" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.learnerGroups"}}
          </span>
        </LinkTo>
      </li>
      <li>
        <LinkTo
          @route="instructorGroups"
          @title={{t "general.instructorGroups"}}
          @current-when="instructorGroups instructorGroup"
        >
          <FaIcon @icon="user-md" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.instructorGroups"}}
          </span>
        </LinkTo>
      </li>
      <li>
        <LinkTo
          @route="schools"
          @title={{t "general.schools"}}
          @current-when="schools school session-type-visualize-vocabularies session-type-visualize-terms"
      >
          <FaIcon @icon="university" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.schools"}}
          </span>
        </LinkTo>
      </li>
      <li>
        <LinkTo
          @route="programs"
          @title={{t "general.programs"}}
          @current-when="programs program program-year-visualizations program-year-visualize-competencies"
        >
          <FaIcon @icon="list-alt" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.programs"}}
          </span>
        </LinkTo>
      </li>
    {{/if}}
    {{#if currentUser.canCreateOrUpdateUserInAnySchool}}
      <li>
        <LinkTo
          @route="admin-dashboard"
          @title={{t "general.admin"}}
          @current-when="admin-dashboard users user"
        >
          <FaIcon @icon="cogs" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.admin"}}
          </span>
        </LinkTo>
      </li>
    {{/if}}
    {{#if currentUser.performsNonLearnerFunction}}
      <li>
        <LinkTo
          @route="curriculumInventoryReports"
          @title={{t "general.curriculumInventory"}}
          @current-when={{
            join " "
            (array
              "curriculumInventoryReport"
              "curriculumInventoryReports"
              "curriculumInventorySequenceBlock"
              "verificationPreview"
            )
          }}
        >
          <FaIcon @icon="chart-bar" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.curriculumInventory"}}
          </span>
        </LinkTo>
      </li>
    {{/if}}<commit_msg>maintain nav-state on Admin when interacting with pending and unassigned users.<commit_after>{{#if (or currentUser.performsNonLearnerFunction)}}
  <ul
    class="expand-navigation link clickable"
    role="button"
    onclick={{action (toggle "expanded" this)}}
  >
    <li title={{t "general.menu"}}>
      <FaIcon @icon="bars" />
    </li>
  </ul>
  <ul class="navigation-links">
    <li>
      <LinkTo @route="dashboard">
        <FaIcon
          @icon="home"
          @fixedWidth={{true}}
          @title={{t "general.dashboard"}}
        />
        <span class="text">
          {{t "general.dashboard"}}
        </span>
      </LinkTo>
    </li>
    {{#if currentUser.performsNonLearnerFunction}}
      <li>
        <LinkTo
          @route="courses"
          @title={{t "general.coursesAndSessions"}}
          @current-when={{
            join " "
            (array
              "course"
              "course-visualizations"
              "course-visualize-instructor"
              "course-visualize-instructors"
              "course-visualize-objectives"
              "course-visualize-session-type"
              "course-visualize-session-types"
              "course-visualize-term"
              "course-visualize-vocabularies"
              "course-visualize-vocabulary"
              "courses"
            )
          }}
        >
          <FaIcon @icon="book" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.coursesAndSessions"}}
          </span>
        </LinkTo>
      </li>
      <li>
        <LinkTo
          @route="learnerGroups"
          @title={{t "general.learnerGroups"}}
          @current-when="learnerGroups learnerGroup"
        >
          <FaIcon @icon="graduation-cap" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.learnerGroups"}}
          </span>
        </LinkTo>
      </li>
      <li>
        <LinkTo
          @route="instructorGroups"
          @title={{t "general.instructorGroups"}}
          @current-when="instructorGroups instructorGroup"
        >
          <FaIcon @icon="user-md" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.instructorGroups"}}
          </span>
        </LinkTo>
      </li>
      <li>
        <LinkTo
          @route="schools"
          @title={{t "general.schools"}}
          @current-when="schools school session-type-visualize-vocabularies session-type-visualize-terms"
      >
          <FaIcon @icon="university" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.schools"}}
          </span>
        </LinkTo>
      </li>
      <li>
        <LinkTo
          @route="programs"
          @title={{t "general.programs"}}
          @current-when="programs program program-year-visualizations program-year-visualize-competencies"
        >
          <FaIcon @icon="list-alt" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.programs"}}
          </span>
        </LinkTo>
      </li>
    {{/if}}
    {{#if currentUser.canCreateOrUpdateUserInAnySchool}}
      <li>
        <LinkTo
          @route="admin-dashboard"
          @title={{t "general.admin"}}
          @current-when="admin-dashboard users user assign-students pending-user-updates"
        >
          <FaIcon @icon="cogs" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.admin"}}
          </span>
        </LinkTo>
      </li>
    {{/if}}
    {{#if currentUser.performsNonLearnerFunction}}
      <li>
        <LinkTo
          @route="curriculumInventoryReports"
          @title={{t "general.curriculumInventory"}}
          @current-when={{
            join " "
            (array
              "curriculumInventoryReport"
              "curriculumInventoryReports"
              "curriculumInventorySequenceBlock"
              "verificationPreview"
            )
          }}
        >
          <FaIcon @icon="chart-bar" @fixedWidth={{true}} />
          <span class="text">
            {{t "general.curriculumInventory"}}
          </span>
        </LinkTo>
      </li>
    {{/if}}
{'fraction_non_alphanumeric': 0.15096425500552757, 'fraction_numerical': 0.0, 'mean_word_length': 1.6625245258338783, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 127, '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': '3933917', 'n_tokens_mistral': 2434, 'n_tokens_neox': 2441, 'n_words': 383}