<commit_before>- add_breadcrumb format_inline_text(@achievement.title)
= page_header format_inline_text(@achievement.title)

= render partial: 'achievements',
         locals: { include_requirements: false, achievements: [@achievement] }

div.user-achievements
  h2 = t('.users_with_achievement')
  div.row
    - @achievement.course_users.without_phantom_users.includes(:user).each do |course_user|
      div.col-xs-4.col-sm-3.col-md-2.col-lg-1
        = div_for(course_user, class: ['course-user-achievement']) do
          = link_to_course_user(course_user) do
            div = display_user_image(course_user.user)<commit_msg>Do not show staff that have been awarded an achievement<commit_after>- add_breadcrumb format_inline_text(@achievement.title)
= page_header format_inline_text(@achievement.title)

= render partial: 'achievements',
         locals: { include_requirements: false, achievements: [@achievement] }

div.user-achievements
  h2 = t('.users_with_achievement')
  div.row
    - @achievement.course_users.without_phantom_users.students.with_approved_state. \
        includes(:user).each do |course_user|
      div.col-xs-4.col-sm-3.col-md-2.col-lg-1
        = div_for(course_user, class: ['course-user-achievement']) do
          = link_to_course_user(course_user) do
            div = display_user_image(course_user.user)
{'fraction_non_alphanumeric': 0.11716417910447761, 'fraction_numerical': 0.007462686567164179, 'mean_word_length': 4.137931034482759, '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': '4040304', 'n_tokens_mistral': 455, 'n_tokens_neox': 448, 'n_words': 67}