<commit_before>= content_nav_for presenter.assignment

%h3.pagetitle= presenter.title

.pageContent
  = render 'layouts/alerts'

  #tabs.ui-tabs.ui-widget
    %ul.ui-tabs-nav{:role => "tablist"}
      %li
        %a{ "href" => "#tab1"} Description & Downloads
      - if presenter.rubric_available? && presenter.grades_available_for?(current_student)
        %li
          %a{ "href" => "#tab2"} Grading Rubric
      - if presenter.has_submission_for?(current_student)
        %li
          %a{ :href => "#tab3"} My Submission

      - if presenter.grades_available_for?(current_student)
        %li<commit_msg>Display the rubric grade only when a student does not have one available<commit_after>= content_nav_for presenter.assignment

%h3.pagetitle= presenter.title

.pageContent
  = render 'layouts/alerts'

  #tabs.ui-tabs.ui-widget
    %ul.ui-tabs-nav{:role => "tablist"}
      %li
        %a{ "href" => "#tab1"} Description & Downloads
      - if presenter.rubric_available? && !presenter.grades_available_for?(current_student)
        %li
          %a{ "href" => "#tab2"} Grading Rubric
      - if presenter.has_submission_for?(current_student)
        %li
          %a{ :href => "#tab3"} My Submission

      - if presenter.grades_available_for?(current_student)
        %li
{'fraction_non_alphanumeric': 0.13026521060842433, 'fraction_numerical': 0.0062402496099844, 'mean_word_length': 3.0219435736677114, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3398039', 'n_tokens_mistral': 427, 'n_tokens_neox': 430, 'n_words': 85}