<commit_before>%ul.nav.nav-list
  - if current_user.student?
    - @student_menu.active_children.each do |m|
      %li
        %a.navbar-link{href: url_for(page_path(m.slug))}= m.title
    %li
      %a.navbar-link{href: url_for(student_resume_path)}
        =t ".resume"
    %li
      %a.navbar-link{href: url_for(student_hints_path)}
        =t ".tips"
    %li.divider
  - if current_user.company_member?
    - if current_company.page?
      %li
        %a.navbar-link{href: url_for(company_page_path)}
          =t ".company_page"
    - if current_company.subscriber?
      %li
        %a.navbar-link{href: url_for(company_resumes_path)}
          =t ".resumes"
    %li
      %a.navbar-link{href: url_for(company_calendars_path)}
        =t ".calendars"
    %li
      %a.navbar-link{href: url_for(company_highlight_path)}
        =t ".highlight"
    - @company_menu.active_children.each do |m|
      %li
        %a.navbar-link{href: url_for(page_path(m.slug))}= m.title
    %li.divider
  - if current_user.admin?
    %li
      %a.navbar-link{href: url_for(admin_root_path)}
        =t ".admin_dashboard"
  %li
    %a.navbar-link{href: url_for(feedback_path)}
      =t ".feedback"
  %li
    %a.navbar-link{href: url_for(change_password_path)}
      =t ".change_password"
  %li
    %a.navbar-link{href: url_for(destroy_user_session_path), data: {method: "delete"}}
      =t ".logout"
      %i.icon-signout
<commit_msg>Fixing error 500 on any private page.<commit_after>%ul.nav.nav-list
  - if current_user.student?
    - @student_menu.active_children.each do |m|
      %li
        %a.navbar-link{href: url_for(page_path(m.slug))}= m.title
    %li
      %a.navbar-link{href: url_for(student_resume_path)}
        =t ".resume"
    %li
      %a.navbar-link{href: url_for(student_hints_path)}
        =t ".tips"
    %li.divider
  - if current_user.company_member?
    - if current_company.page?
      %li
        %a.navbar-link{href: url_for(company_page_path)}
          =t ".company_page"
    - if current_company.subscriber?
      %li
        %a.navbar-link{href: url_for(company_resumes_path)}
          =t ".resumes"
    %li
      %a.navbar-link{href: url_for(calendars_path)}
        =t ".calendars"
    %li
      %a.navbar-link{href: url_for(company_highlight_path)}
        =t ".highlight"
    - @company_menu.active_children.each do |m|
      %li
        %a.navbar-link{href: url_for(page_path(m.slug))}= m.title
    %li.divider
  - if current_user.admin?
    %li
      %a.navbar-link{href: url_for(admin_root_path)}
        =t ".admin_dashboard"
  %li
    %a.navbar-link{href: url_for(feedback_path)}
      =t ".feedback"
  %li
    %a.navbar-link{href: url_for(change_password_path)}
      =t ".change_password"
  %li
    %a.navbar-link{href: url_for(destroy_user_session_path), data: {method: "delete"}}
      =t ".logout"
      %i.icon-signout

{'fraction_non_alphanumeric': 0.14481065918653577, 'fraction_numerical': 0.0010518934081346423, 'mean_word_length': 2.6483375959079285, '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': '5869417', 'n_tokens_mistral': 1105, 'n_tokens_neox': 1081, 'n_words': 168}