<commit_before>h1
  = t_model
  = ": #{@performance_report.title}" if @performance_report.title.present?

- if @performance_report.comment?
  h3= t_attr(:comment)
  p= @performance_report.comment

- if @performance_report.extern || @performance_report.scope.present?
  h3= t('.selection_criteria')
  - if @performance_report.extern
    p
      strong= "#{t_attr(:extern)}: "
      = t(@performance_report.extern)
  - if @performance_report.scope?
    p
      strong= "#{t_attr(:scope)}: "
      = @performance_report.scope

hr
- if @performance_report.year?
  h2= t('.title_year', year: @performance_report.year)
- else
  h2= t('.title_range', start: l(@performance_report.period_start, format: :default), end: l(@performance_report.period_end, format: :default))

h3= t_attr(:global)
table.table
  tbody
    tr
      td= t('.volunteers.total')
      td= @report_content['global']['volunteers']['total']
    tr
      td= t('.volunteers.new')
      td= @report_content['global']['volunteers']['new']
    tr
      td= t('.volunteers.resigned')
      td
    tr.active
      td= t('.volunteers.active_total')
      td= @report_content['global']['clients']['active']

    tr
      td= t('.clients.total')
      td= @report_content['global']['clients']['total']
    tr
      td= t('.clients.new')
      td= @report_content['global']['clients']['new']
    tr
      td= t('.clients.resigned')<commit_msg>fix wrong translation used in performance report show<commit_after>h1
  = t_model
  = ": #{@performance_report.title}" if @performance_report.title.present?

- if @performance_report.comment?
  h3= t_attr(:comment)
  p= @performance_report.comment

- if @performance_report.extern || @performance_report.scope.present?
  h3= t('.selection_criteria')
  - if @performance_report.extern
    p
      strong= "#{t_attr(:extern)}: "
      = t(@performance_report.extern)
  - if @performance_report.scope?
    p
      strong= "#{t_attr(:scope)}: "
      = @performance_report.scope

hr
- if @performance_report.year?
  h2= t('.title_year', year: @performance_report.year)
- else
  h2= t('.title_range', start: l(@performance_report.period_start, format: :default), end: l(@performance_report.period_end, format: :default))

h3= t_attr(:global)
table.table
  tbody
    tr
      td= t('.volunteers.total')
      td= @report_content['global']['volunteers']['total']
    tr
      td= t('.volunteers.new')
      td= @report_content['global']['volunteers']['new']
    tr
      td= t('.volunteers.resigned')
      td
    tr.active
      td= t('.volunteers.active_total')
      td= @report_content['global']['volunteers']['active']

    tr
      td= t('.clients.total')
      td= @report_content['global']['clients']['total']
    tr
      td= t('.clients.new')
      td= @report_content['global']['clients']['new']
    tr
      td= t('.clients.resigned')
{'fraction_non_alphanumeric': 0.1707231040564374, 'fraction_numerical': 0.004232804232804233, 'mean_word_length': 3.67986798679868, 'pattern_counts': {'":': 2, '<': 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': '5097712', 'n_tokens_mistral': 987, 'n_tokens_neox': 946, 'n_words': 170}