<commit_before>%h1.userName= @user.try(:name)

%div.span2.userDashboard
  %div.span12
    = gravatar_for @user, :size => 150
  - if current_user.is_student?
    %div.span12#gradeCurious.btn.btn-primary{:title => "Current Final Grade:", "data-content" => current_course.grade_level(@user)}
      %span.buttonTitle How am I doing?
  - elsif current_user.is_staff? 
    %div.span12#gradeCurious.btn.btn-primary{:title => "Current Final Grade:", "data-content" => current_course.grade_level(@user)} 
      %span.buttonTitle How are they doing?
  - if current_course.has_badges? 
    %div.btn.btn-success.span12{"data-target" => "#badges", "data-toggle" => "collapse"}
      %span.buttonTitle Badges
      %div{:id => "badges", :class => "collapse"}
        %div.badgeContainer
        - @badges.each do |badge|
          - @user.earned_badges_by_badge(badge).tap do |earned_badge|
            - if earned_badge
              %div.badgeIcon
                %img{:src => badge.try(:icon), :alt => "You've earned the #{badge.try(:name)} badge", :class => "earned", :width => "40", :height => "40"}
                .badgeTitle= badge.name
            - else
              %div.badgeIcon
                %img{:src => badge.try(:icon), :alt => badge.try(:name), :class => "unearned"}
                .badgeTitle= badge.name
        %div.span12.clear_fix
          Badges you've earned will shine brightly!
  %div.btn.btn-danger.span12{"data-target" => "#toDoList", "data-toggle" => "collapse"} 
    %span.buttonTitle To Do List
    %div{:id => "toDoList", :class => "collapse"}
      - @assignments.group_by(&:assignment_type).each do |assignment_type, assignments|
        - if assignment_type.has_soon_assignments?
          %span.assignmentTypeToDo
            = "#{assignment_type.try(:name)}:"
          %ul
            - assignments.each do |assignment|
              - if assignment.soon? 
                %li
                  = "#{assignment.try(:name)}" 
                  %div= "(Due: #{assignment.try(:due_date).strftime("%b-%d")})"

%div.span9.userDashboard
  %div#userScoreSection.span12
    %div.pull-right
      %div.btn-group
        - if current_user.is_staff?
          - if current_course.has_badges? && current_course.course_badges? or current_course.has_badges? && current_course.multi_badges?
            = link_to "Award a Badge", new_user_earned_badge_path(@user), :class => "btn btn-small"
          = link_to "Email", "mailto:#{@user.email}", :class => "btn btn-small"
        - @user.team_leader.tap do |team_leader|
          - if team_leader.present?
            = link_to "Email #{current_course.section_leader_term} (#{team_leader.first_name})", "mailto:#{team_leader.email}", :class => "btn btn-small"
      %div#userID{ :'data-user-id' => @user.id }
    %div#userPointValues
      - if current_user.is_student?
        %span= "Your current score is "
      - elsif current_user.is_staff?
        %span= "Current Score: "
      %span#userScoreNum #{number_with_delimiter(@user.earned_grades(current_course), :delimiter => ',') if @user.respond_to?(:earned_grades)}
    %a{:href => "#", :id => "totalScoreToggle", :class => "dashboard-toggle"}
      Show me my score out of total course points
    %a{:href => "#", :id => "soFarScoreToggle", :class => "dashboard-toggle"}
      Show me my score out of available points so far

    %div#predictorLink.hidden-phone
      - if current_user.is_student? && current_course.predictor_on?
        %div= link_to 'Predict My Grade', predictor_users_path(:user_id => @user.id), :class => "btn btn-inverse"
      - if current_user.is_staff?
        %div= link_to 'Predict Course Grade', predictor_users_path(:user_id => @user.id), :class => "btn btn-inverse"
    
    %div#userBarInProgress{:class => "dashboard-toggle"}
    %div#userBarTotal{:class => "dashboard-toggle"}
    %div#Grades
      - @assignments.group_by(&:assignment_type).each do |assignment_type, assignments|
        %div.assignmentType
          %button.btn.btn-inverse{"data-target" => "#assignment_type-#{assignment_type.id}", "data-toggle" => "collapse"} #{assignment_type.try(:name)}
          %span.badge.badge-warning
            = "#{assignment_type.score_for_student(@user)} / " 
            = "#{assignment_type.point_total_for_student(@user)} possible points"
          - if assignment_type.present_weight_for_student(@user)
            %span.badge.badge-important
              = "#{assignment_type.multiplier_for_student(@user)} #{current_course.multiplier_term} "
              - if assignment_type.student_choice? && assignment_type.multiplier_open?
                - assignment_type.weight_for_assignment_type(@user).tap do |weight|
                  - if weight
                    = link_to "(Change)", edit_user_user_assignment_type_weight_path(@user, weight, :assignment_type_id => assignment_type.id)
          - else
            - if assignment_type.student_choice? && assignment_type.multiplier_open?
              %span.badge.badge-important= link_to "Set #{current_course.multiplier_term}", new_user_user_assignment_type_weight_path(@user, :assignment_type_id => assignment_type.id)
          
          %div{:id => "assignment_type-#{assignment_type.id}", :class => "collapse"}
            %div.assignmentsGroup
              - assignments.each do |assignment|
                %div.assignment
                  %span.assignmentTitle= assignment.try(:name)
                  - if assignment.is_required?
                    %span.assignmentRequired.label.label-important Required!
                  - if assignment.future?
                    %span.assignmentDate= "| Due: #{assignment.try(:due_date).strftime("%A, %B %d")}"
                    %span.assignmentDesc= raw assignment.description
                  %div.grade    
                    - if assignment.has_assignment_submissions?
                      - if assignment.has_groups?
                        //Seriously, Fix Groups
                      - elsif assignment.has_teams?
                        - assignment.submission_for_team(@user.teams.first).tap do |submission|
                          - if submission && @user.teams.first.grade_for_assignment(assignment)
                            = link_to "See Submission ", assignment_assignment_submission_path(assignment, submission, :grade_id => @user.teams.first.grade_for_assignment(assignment).id, :gradeable_id => @user.teams.first, :gradeable_type => "Team"), :class => 'btn-link'
                          - elsif submission
                            = link_to "See Submission ", assignment_assignment_submission_path(assignment, submission, :gradeable_id => @user, :gradeable_type => "Team"), :class => 'btn-link'
                          - else
                            = link_to "Submit", new_assignment_assignment_submission_path(assignment, @assignment_submission, :submittable_id => @user.teams.first, :submittable_type => "Team"), :class => 'btn btn-mini btn-primary'
                      - elsif assignment.is_individual?
                        - assignment.submission_for_student(@user).tap do |submission|
                          - if submission && @user.grade_for_assignment(assignment)
                            = link_to "See Submission ", assignment_assignment_submission_path(assignment, submission, :grade_id => @user.grade_for_assignment(assignment).id, :gradeable_id => @user, :gradeable_type => "User"), :class => 'btn-link'
                          - elsif submission
                            = link_to "See Submission ", assignment_assignment_submission_path(assignment, submission, :gradeable_id => @user, :gradeable_type => "User"), :class => 'btn-link'
                          - else
                            = link_to "Submit", new_assignment_assignment_submission_path(assignment, @assignment_submission, :submittable_id => @user.teams.first, :submittable_type => "Team"), :class => 'btn btn-mini btn-primary'


                      
                    // Individually graded assignments
                    - if assignment.is_individual?
                      - assignment.assignment_grades.where(:gradeable_id => @user).first.tap do |grade|
                        
                        - if grade
                          - if current_user.is_staff?
                            %span.editLink= link_to "Edit Grade", edit_assignment_grade_path("assignment_id" => assignment.id, :id => grade, :gradeable_id => @user, :gradeable_type => "User"), :class => 'btn btn-primary btn-mini'
                          - if assignment.release_necessary? && grade.is_released? 
                            = "You earned #{ grade.score(@user) } out of #{assignment.point_total_for_student(@user)} points"
                          - elsif assignment.release_necessary?
                            = "#{assignment.point_total_for_student(@user)} points possible"
                          - else
                            = "You earned #{ grade.score(@user)} out of #{assignment.point_total_for_student(@user)} points"
                        - else 
                          - if assignment.self_gradeable? && assignment.open?
                            = link_to "#{assignment.student_logged_button_text}", self_log_assignment_grades_path(assignment, :gradeable_id => @user, :gradeable_type => "User"), :class => "btn btn-primary btn-mini"
                          - elsif current_user.is_staff? 
                            %span.editLink= link_to "Grade", new_assignment_grade_path("assignment_id" => assignment.id, :gradeable_id => @user, :gradeable_type => "User"), :class => 'btn btn-link btn-mini'
                          = "#{assignment.point_total_for_student(@user)} possible points"
  
                    - elsif assignment.has_teams?
                      - if assignment.self_gradeable? && assignment.open?
                        = link_to "#{assignment.student_logged_button_text}", self_log_assignment_grades_path(assignment, :gradeable_id => @user.teams.first, :gradeable_type => "Team"), :class => "btn btn-primary btn-mini"
                      - assignment.assignment_grades.where(:gradeable_id => @user.teams.try(:first)).first.tap do |grade|
                        - if grade
                          - if current_user.is_staff?
                            %span.editLink= link_to "Edit Grade", edit_assignment_grade_path("assignment_id" => assignment.id, :id => grade, :gradeable_id => @user.teams.first, :gradeable_type => "Team"), :class => 'btn btn-primary btn-mini'
                          - if assignment.release_necessary? && grade.is_released? 
                            = "Your team earned #{ grade.score(@user)} out of #{assignment.point_total_for_student(@user)} points"
                          - elsif assignment.release_necessary?
                            = "#{assignment.point_total_for_student(@user) } points possible"
                          - else
                            = "Your team earned #{ grade.score(@user) } out of #{assignment.point_total_for_student(@user)} points"
                        - else
                          - if current_user.is_staff? 
                            %span.editLink= link_to "Grade", new_assignment_grade_path("assignment_id" => assignment.id, :gradeable_id => @user.teams.first, :gradeable_type => "Team"), :class => 'btn btn-link btn-mini'
                          = "#{assignment.point_total_for_student(@user)} possible points"

                    - elsif assignment.has_groups?
                      - if assignment.self_gradeable? && assignment.open?
                        = link_to "#{assignment.student_logged_button_text}", self_log_assignment_grades_path(assignment, :gradeable_id => @user.groups.try(:first), :gradeable_type => "Group"), :class => "btn btn-primary btn-mini"
                      - assignment.assignment_grades.where(:gradeable_id => @user.groups.try(:first)).first.tap do |grade|
                        - if grade
                          - if current_user.is_staff?
                            %span.editLink= link_to "Edit Grade", edit_assignment_grade_path("assignment_id" => assignment.id, :id => grade, :gradeable_id => @user.groups.first, :gradeable_type => "Group"), :class => 'btn btn-primary btn-mini'
                          - if assignment.release_necessary? && grade.is_released? 
                            = "Your group earned #{ grade.score(@user) } out of #{assignment.point_total_for_student(@user)} points"
                          - elsif assignment.release_necessary?
                            = "#{assignment.point_total_for_student(@user) } points possible"
                          - else
                            = "Your group earned #{ grade.score(@user) } out of #{assignment.point_total_for_student(@user)} points"
                        - else
                          - if current_user.is_staff? 
                            %span.editLink= link_to "Grade", new_assignment_grade_path("assignment_id" => assignment.id, :gradeable_id => @user.groups.first, :gradeable_type => "Group"), :class => 'btn btn-link btn-mini'
                          = "#{assignment.point_total_for_student(@user)} possible points"
                            
      - if current_course.valuable_badges?
        %div.badges
          %button.btn.btn-inverse(data-target="#badges" data-toggle="collapse") Badges
          %span
            %span.badge.badge-warning= "#{@user.earned_badges_value(current_course)} points"

/[if IE]
  %a{ :href => 'https://www.google.com/intl/en/chrome/browser/' }
    %h1 We highly recommend you install Chrome to use GradeCraft                 

- if current_user.is_staff?
  %div.span12
    = link_to "See All #{current_course.user_ref}s", students_users_path, :class => "btn btn-primary"
    = link_to "Create a New #{current_course.user_ref}", new_user_path, :class => "btn btn-primary"
<commit_msg>Temp fix for group grades, just showing points possible<commit_after>%h1.userName= @user.try(:name)

%div.span2.userDashboard
  %div.span12
    = gravatar_for @user, :size => 150
  - if current_user.is_student?
    %div.span12#gradeCurious.btn.btn-primary{:title => "Current Final Grade:", "data-content" => current_course.grade_level(@user)}
      %span.buttonTitle How am I doing?
  - elsif current_user.is_staff? 
    %div.span12#gradeCurious.btn.btn-primary{:title => "Current Final Grade:", "data-content" => current_course.grade_level(@user)} 
      %span.buttonTitle How are they doing?
  - if current_course.has_badges? 
    %div.btn.btn-success.span12{"data-target" => "#badges", "data-toggle" => "collapse"}
      %span.buttonTitle Badges
      %div{:id => "badges", :class => "collapse"}
        %div.badgeContainer
        - @badges.each do |badge|
          - @user.earned_badges_by_badge(badge).tap do |earned_badge|
            - if earned_badge
              %div.badgeIcon
                %img{:src => badge.try(:icon), :alt => "You've earned the #{badge.try(:name)} badge", :class => "earned", :width => "40", :height => "40"}
                .badgeTitle= badge.name
            - else
              %div.badgeIcon
                %img{:src => badge.try(:icon), :alt => badge.try(:name), :class => "unearned"}
                .badgeTitle= badge.name
        %div.span12.clear_fix
          Badges you've earned will shine brightly!
  %div.btn.btn-danger.span12{"data-target" => "#toDoList", "data-toggle" => "collapse"} 
    %span.buttonTitle To Do List
    %div{:id => "toDoList", :class => "collapse"}
      - @assignments.group_by(&:assignment_type).each do |assignment_type, assignments|
        - if assignment_type.has_soon_assignments?
          %span.assignmentTypeToDo
            = "#{assignment_type.try(:name)}:"
          %ul
            - assignments.each do |assignment|
              - if assignment.soon? 
                %li
                  = "#{assignment.try(:name)}" 
                  %div= "(Due: #{assignment.try(:due_date).strftime("%b-%d")})"

%div.span9.userDashboard
  %div#userScoreSection.span12
    %div.pull-right
      %div.btn-group
        - if current_user.is_staff?
          - if current_course.has_badges? && current_course.course_badges? or current_course.has_badges? && current_course.multi_badges?
            = link_to "Award a Badge", new_user_earned_badge_path(@user), :class => "btn btn-small"
          = link_to "Email", "mailto:#{@user.email}", :class => "btn btn-small"
        - @user.team_leader.tap do |team_leader|
          - if team_leader.present?
            = link_to "Email #{current_course.section_leader_term} (#{team_leader.first_name})", "mailto:#{team_leader.email}", :class => "btn btn-small"
      %div#userID{ :'data-user-id' => @user.id }
    %div#userPointValues
      - if current_user.is_student?
        %span= "Your current score is "
      - elsif current_user.is_staff?
        %span= "Current Score: "
      %span#userScoreNum #{number_with_delimiter(@user.earned_grades(current_course), :delimiter => ',') if @user.respond_to?(:earned_grades)}
    %a{:href => "#", :id => "totalScoreToggle", :class => "dashboard-toggle"}
      Show me my score out of total course points
    %a{:href => "#", :id => "soFarScoreToggle", :class => "dashboard-toggle"}
      Show me my score out of available points so far

    %div#predictorLink.hidden-phone
      - if current_user.is_student? && current_course.predictor_on?
        %div= link_to 'Predict My Grade', predictor_users_path(:user_id => @user.id), :class => "btn btn-inverse"
      - if current_user.is_staff?
        %div= link_to 'Predict Course Grade', predictor_users_path(:user_id => @user.id), :class => "btn btn-inverse"
    
    %div#userBarInProgress{:class => "dashboard-toggle"}
    %div#userBarTotal{:class => "dashboard-toggle"}
    %div#Grades
      - @assignments.group_by(&:assignment_type).each do |assignment_type, assignments|
        %div.assignmentType
          %button.btn.btn-inverse{"data-target" => "#assignment_type-#{assignment_type.id}", "data-toggle" => "collapse"} #{assignment_type.try(:name)}
          %span.badge.badge-warning
            = "#{assignment_type.score_for_student(@user)} / " 
            = "#{assignment_type.point_total_for_student(@user)} possible points"
          - if assignment_type.present_weight_for_student(@user)
            %span.badge.badge-important
              = "#{assignment_type.multiplier_for_student(@user)} #{current_course.multiplier_term} "
              - if assignment_type.student_choice? && assignment_type.multiplier_open?
                - assignment_type.weight_for_assignment_type(@user).tap do |weight|
                  - if weight
                    = link_to "(Change)", edit_user_user_assignment_type_weight_path(@user, weight, :assignment_type_id => assignment_type.id)
          - else
            - if assignment_type.student_choice? && assignment_type.multiplier_open?
              %span.badge.badge-important= link_to "Set #{current_course.multiplier_term}", new_user_user_assignment_type_weight_path(@user, :assignment_type_id => assignment_type.id)
          
          %div{:id => "assignment_type-#{assignment_type.id}", :class => "collapse"}
            %div.assignmentsGroup
              - assignments.each do |assignment|
                %div.assignment
                  %span.assignmentTitle= assignment.try(:name)
                  - if assignment.is_required?
                    %span.assignmentRequired.label.label-important Required!
                  - if assignment.future?
                    %span.assignmentDate= "| Due: #{assignment.try(:due_date).strftime("%A, %B %d")}"
                    %span.assignmentDesc= raw assignment.description
                  %div.grade    
                    - if assignment.has_assignment_submissions?
                      - if assignment.has_groups?
                        //Seriously, Fix Groups
                      - elsif assignment.has_teams?
                        - assignment.submission_for_team(@user.teams.first).tap do |submission|
                          - if submission && @user.teams.first.grade_for_assignment(assignment)
                            = link_to "See Submission ", assignment_assignment_submission_path(assignment, submission, :grade_id => @user.teams.first.grade_for_assignment(assignment).id, :gradeable_id => @user.teams.first, :gradeable_type => "Team"), :class => 'btn-link'
                          - elsif submission
                            = link_to "See Submission ", assignment_assignment_submission_path(assignment, submission, :gradeable_id => @user, :gradeable_type => "Team"), :class => 'btn-link'
                          - else
                            = link_to "Submit", new_assignment_assignment_submission_path(assignment, @assignment_submission, :submittable_id => @user.teams.first, :submittable_type => "Team"), :class => 'btn btn-mini btn-primary'
                      - elsif assignment.is_individual?
                        - assignment.submission_for_student(@user).tap do |submission|
                          - if submission && @user.grade_for_assignment(assignment)
                            = link_to "See Submission ", assignment_assignment_submission_path(assignment, submission, :grade_id => @user.grade_for_assignment(assignment).id, :gradeable_id => @user, :gradeable_type => "User"), :class => 'btn-link'
                          - elsif submission
                            = link_to "See Submission ", assignment_assignment_submission_path(assignment, submission, :gradeable_id => @user, :gradeable_type => "User"), :class => 'btn-link'
                          - else
                            = link_to "Submit", new_assignment_assignment_submission_path(assignment, @assignment_submission, :submittable_id => @user.teams.first, :submittable_type => "Team"), :class => 'btn btn-mini btn-primary'


                      
                    // Individually graded assignments
                    - if assignment.is_individual?
                      - assignment.assignment_grades.where(:gradeable_id => @user).first.tap do |grade|
                        
                        - if grade
                          - if current_user.is_staff?
                            %span.editLink= link_to "Edit Grade", edit_assignment_grade_path("assignment_id" => assignment.id, :id => grade, :gradeable_id => @user, :gradeable_type => "User"), :class => 'btn btn-primary btn-mini'
                          - if assignment.release_necessary? && grade.is_released? 
                            = "You earned #{ grade.score(@user) } out of #{assignment.point_total_for_student(@user)} points"
                          - elsif assignment.release_necessary?
                            = "#{assignment.point_total_for_student(@user)} points possible"
                          - else
                            = "You earned #{ grade.score(@user)} out of #{assignment.point_total_for_student(@user)} points"
                        - else 
                          - if assignment.self_gradeable? && assignment.open?
                            = link_to "#{assignment.student_logged_button_text}", self_log_assignment_grades_path(assignment, :gradeable_id => @user, :gradeable_type => "User"), :class => "btn btn-primary btn-mini"
                          - elsif current_user.is_staff? 
                            %span.editLink= link_to "Grade", new_assignment_grade_path("assignment_id" => assignment.id, :gradeable_id => @user, :gradeable_type => "User"), :class => 'btn btn-link btn-mini'
                          = "#{assignment.point_total_for_student(@user)} possible points"
  
                    - elsif assignment.has_teams?
                      - if assignment.self_gradeable? && assignment.open?
                        = link_to "#{assignment.student_logged_button_text}", self_log_assignment_grades_path(assignment, :gradeable_id => @user.teams.first, :gradeable_type => "Team"), :class => "btn btn-primary btn-mini"
                      - assignment.assignment_grades.where(:gradeable_id => @user.teams.try(:first)).first.tap do |grade|
                        - if grade
                          - if current_user.is_staff?
                            %span.editLink= link_to "Edit Grade", edit_assignment_grade_path("assignment_id" => assignment.id, :id => grade, :gradeable_id => @user.teams.first, :gradeable_type => "Team"), :class => 'btn btn-primary btn-mini'
                          - if assignment.release_necessary? && grade.is_released? 
                            = "Your team earned #{ grade.score(@user)} out of #{assignment.point_total_for_student(@user)} points"
                          - elsif assignment.release_necessary?
                            = "#{assignment.point_total_for_student(@user) } points possible"
                          - else
                            = "Your team earned #{ grade.score(@user) } out of #{assignment.point_total_for_student(@user)} points"
                        - else
                          - if current_user.is_staff? 
                            %span.editLink= link_to "Grade", new_assignment_grade_path("assignment_id" => assignment.id, :gradeable_id => @user.teams.first, :gradeable_type => "Team"), :class => 'btn btn-link btn-mini'
                          = "#{assignment.point_total_for_student(@user)} possible points"

                    - elsif assignment.has_groups?
                      = "#{assignment.point_total_for_student(@user)} possible points"
                      - if assignment.self_gradeable? && assignment.open?
                        = link_to "#{assignment.student_logged_button_text}", self_log_assignment_grades_path(assignment, :gradeable_id => @user.groups.where(:assignment_id => assignment.id).first.id, :gradeable_type => "Group"), :class => "btn btn-primary btn-mini"
                      - assignment.assignment_grades.where(:gradeable_id => @user.groups.where(:assignment_id => assignment.id)).tap do |grade|
                        - if grade
                          - if current_user.is_staff?
                            %span.editLink= link_to "Edit Grade", edit_assignment_grade_path("assignment_id" => assignment.id, :id => grade, :gradeable_id => @user.groups.where(:assignment_id => assignment.id).first.id, :gradeable_type => "Group"), :class => 'btn btn-primary btn-mini'
                          - if assignment.release_necessary? && grade.is_released? 
                            //= "Your group earned #{ grade.score(@user) } out of #{assignment.point_total_for_student(@user)} points"
                          - elsif assignment.release_necessary?
                            //= "#{assignment.point_total_for_student(@user) } points possible"
                          - else
                            //= "Your group earned #{ grade.score(@user) } out of #{assignment.point_total_for_student(@user)} points"
                        - else
                          - if current_user.is_staff? 
                            %span.editLink= link_to "Grade", new_assignment_grade_path("assignment_id" => assignment.id, :gradeable_id => @user.groups.where(:assignment_id => assignment.id).first.id, :gradeable_type => "Group"), :class => 'btn btn-link btn-mini'
                            
      - if current_course.valuable_badges?
        %div.badges
          %button.btn.btn-inverse(data-target="#badges" data-toggle="collapse") Badges
          %span
            %span.badge.badge-warning= "#{@user.earned_badges_value(current_course)} points"

/[if IE]
  %a{ :href => 'https://www.google.com/intl/en/chrome/browser/' }
    %h1 We highly recommend you install Chrome to use GradeCraft                 

- if current_user.is_staff?
  %div.span12
    = link_to "See All #{current_course.user_ref}s", students_users_path, :class => "btn btn-primary"
    = link_to "Create a New #{current_course.user_ref}", new_user_path, :class => "btn btn-primary"

{'fraction_non_alphanumeric': 0.1266735692098968, 'fraction_numerical': 0.0019279517298011353, 'mean_word_length': 2.2584923220102375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 219, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '2963946', 'n_tokens_mistral': 8217, 'n_tokens_neox': 7995, 'n_words': 1432}