<commit_before>.tab-container
  %h4.bold Basic Stats
  %ul
    %li
      %span.small_uppercase No. of Positive Predictions: 
      = points @assignment.predicted_count
    - if @grades_for_assignment.present? && @grades_for_assignment.count > 1
      %li
        %span.small_uppercase Average Score:
        = points @assignment.average
      %li
        %span.small_uppercase Minimum Score:
        = points @assignment.low_score
      %li
        %span.small_uppercase High Score: 
        = points @assignment.high_score

  - if @grades_for_assignment.present? && @grades_for_assignment.count > 1 
    %h4.bold Grade Distribution
    .grades_per_assign{ "data-scores" => @grades_for_assignment.to_json, :style => "width: 200px" }

    %h4.bold Participants
    #numberComplete{:"data-type" => "full", "data-info" => "#{term_for :students} Participated", "data-percent" => "#{@assignment.completion_rate(current_course)}", "data-fgcolor" => "#61a9dc", "data-bgcolor" => "#333333", "data-text" => "#{@assignment.grade_count}", "data-dimension" => "225", "data-fontsize" => "48", "data-border" => "#222222", "data-bordersize" => "2"   }

    %h4.bold Percentage Scores Earned
    #levels_per_assignment{'data-levels' =>  @assignment.percentage_score_earned.to_json }<commit_msg>Add presenter to instructor analytics<commit_after>.tab-container
  %h4.bold Basic Stats
  %ul
    %li
      %span.small_uppercase No. of Positive Predictions:
      = points presenter.assignment.predicted_count
    - if presenter.grades_for(current_user).count > 1
      %li
        %span.small_uppercase Average Score:
        = points presenter.assignment.average
      %li
        %span.small_uppercase Minimum Score:
        = points presenter.assignment.low_score
      %li
        %span.small_uppercase High Score:
        = points presenter.assignment.high_score

  - if presenter.grades_for(current_user).count > 1
    %h4.bold Grade Distribution
    .grades_per_assign{ "data-scores" => presenter.grades_for(current_user).to_json, :style => "width: 200px" }

    %h4.bold Participants
    #numberComplete{:"data-type" => "full", "data-info" => "#{term_for :students} Participated", "data-percent" => "#{presenter.completion_rate}", "data-fgcolor" => "#61a9dc", "data-bgcolor" => "#333333", "data-text" => "#{presenter.assignment.grade_count}", "data-dimension" => "225", "data-fontsize" => "48", "data-border" => "#222222", "data-bordersize" => "2"   }

    %h4.bold Percentage Scores Earned
    #levels_per_assignment{'data-levels' =>  presenter.assignment.percentage_score_earned.to_json }
{'fraction_non_alphanumeric': 0.14540519581233036, 'fraction_numerical': 0.023264831329972858, 'mean_word_length': 3.7866419294990723, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 33, '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': '1366411', 'n_tokens_mistral': 912, 'n_tokens_neox': 842, 'n_words': 158}