<commit_before>%table.table.simpleTable
  %thead
    %tr
      %th.sortable{"data-sort" => "string"}= course.user_term
      %th.sortable{"data-sort" => "int"} Score
      %th Chart
      - if current_course.has_teams?
        %th.sortable{"data-sort" => "string"}= course.team_term
      - if current_course.has_badges?
        %th.sortable{"data-sort" => "int"} Badges
      %th.sortable{"data-sort" => "int"} Logins
      %th.sortable{"data-sort" => "int"} Pageviews
      %th.sortable{"data-sort" => "int"} Predictor Views
      %th.sortable{"data-sort" => "string"} Email
      - if current_course.has_teams?
        %th.sortable{"data-sort" => "string"}= course.team_leader_term
  %tbody
    - students.each do |student|
      %tr
        %td= link_to student.name, student_path(student)
        %td= points student.score_for_course(course)
        %td{:data => { :id => student.id.to_s}, :class => "bar-chart" }
        - if current_course.has_teams?
          %td
            - if student.teams.present?
              = link_to student.team_for_course(current_course).name
        %td= student.earned_badges.count
        %td= student.visit_count
        %td= student.page_views
        %td= student.predictor_views
        %td= mail_to student.email, "Email #{student.first_name}", :class => "btn btn-tiny btn-success"
        %td
          - if student.team_leader.present?
            = mail_to team_leader.email, "Email GSI (#{team_leader.first_name})", :class => "btn btn-primary btn-tiny btn-success"
<commit_msg>Leaderboard<commit_after>%table.table.simpleTable
  %thead
    %tr
      %th.sortable{"data-sort" => "string"}= course.user_term
      %th.sortable{"data-sort" => "int"} Score
      %th Chart
      - if current_course.has_teams?
        %th.sortable{"data-sort" => "string"}= course.team_term
      - if current_course.has_badges?
        %th.sortable{"data-sort" => "int"} Badges
      %th.sortable{"data-sort" => "int"} Logins
      %th.sortable{"data-sort" => "int"} Pageviews
      %th.sortable{"data-sort" => "int"} Predictor Views
      %th.sortable{"data-sort" => "string"} Email
      - if current_course.has_teams?
        %th.sortable{"data-sort" => "string"}= course.team_leader_term
  %tbody
    - students.each do |student|
      %tr
        %td= link_to student.name, student_path(student)
        %td= points student.score_for_course(course)
        %td{:data => { :id => student.id.to_s}, :class => "bar-chart" }
        - if current_course.has_teams?
          %td
            - if student.teams.present?
              = link_to student.team_for_course(current_course).name
        - if current_course.has_badges?
          %td= student.earned_badges.count
        %td= student.visit_count
        %td= student.page_views
        %td= student.predictor_views
        %td= mail_to student.email, "Email #{student.first_name}", :class => "btn btn-tiny btn-success"
        - if current_course.has_teams?
          %td
            - if student.team_leader.present?
              = mail_to team_leader.email, "Email GSI (#{team_leader.first_name})", :class => "btn btn-primary btn-tiny btn-success"

{'fraction_non_alphanumeric': 0.1478177763618987, 'fraction_numerical': 0.0, 'mean_word_length': 2.6050516647531574, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 31, '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': '3500016', 'n_tokens_mistral': 1055, 'n_tokens_neox': 1042, 'n_words': 190}