<commit_before>- add_breadcrumb :invitations
= page_header

= render partial: 'tabs'

- accepted_course_users = @course_users.each.select { |user| !user.invited? }.size
- progress = accepted_course_users * 100 / [@course_users.length, 1].max
div.progress
  div.progress-bar role='progressbar' aria-valuenow=progress aria-valuemin='0' aria-valuemax='100' style="width: #{progress}%"
    span
      = t('.progress', accepted: accepted_course_users, total: @course_users.size)

= simple_format t('.manual_acceptance')

table.table.table-striped<commit_msg>Use display_progress_bar for existing course registration progress<commit_after>- add_breadcrumb :invitations
= page_header

= render partial: 'tabs'

- accepted_course_users = @course_users.each.select { |user| !user.invited? }.size
- progress = accepted_course_users * 100 / [@course_users.length, 1].max
= display_progress_bar progress, [] do
  = t('.progress', accepted: accepted_course_users, total: @course_users.size)

= simple_format t('.manual_acceptance')

table.table.table-striped
{'fraction_non_alphanumeric': 0.13014354066985645, 'fraction_numerical': 0.011483253588516746, 'mean_word_length': 5.927152317880795, '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': '7579299', 'n_tokens_mistral': 349, 'n_tokens_neox': 330, 'n_words': 67}