<commit_before>- title "Statistik"
%section.box.index.statistics
  %h1.box-title= h1
  .box-content
    %h2.group-title Användare
    %ul.user-stats
      %li= "Är aktiva i kontakboken: #{@user_stats[:total]}"
      %li= "Är deaktiverade: #{@user_stats[:deactivated]}"
      %li= "Har tillkommit senaste sju dagarna: #{@user_stats[:registered_last_week_users]}"
      %li= "Har loggat in senaste sju dagarna: #{@user_stats[:last_week_users]}"

      %li= "Har HR-titel: #{@user_stats[:title][:has]} (#{@user_stats[:title][:distinct]} unika)"
      %li= "Har company: #{@user_stats[:company][:has]} (#{@user_stats[:company][:distinct]} unika)"
      %li= "Har department (ADM): #{@user_stats[:adm_department][:has]} (#{@user_stats[:adm_department][:distinct]} unika)"
      %li= "Har division (ADM): #{@user_stats[:division][:has]} (#{@user_stats[:division][:distinct]} unika)"
      %li= "Har houseidentifier: #{@user_stats[:house_identifier][:has]} (#{@user_stats[:house_identifier][:distinct]} unika)"
      %li= "Har physicaldeliveryofficename: #{@user_stats[:physical_delivery_office_name][:has]} (#{@user_stats[:physical_delivery_office_name][:distinct]} unika)"

      %li= "Har adress: #{@user_stats[:has_address]}"
      %li= "Har rum: #{@user_stats[:has_room]}"
      %li= "Har ett mappat ID i CMG: #{@user_stats[:has_cmg_id]}"
      %li= "Har om mig: #{@user_stats[:has_professional_bio]}"
      %li= "Har statusmeddelande: #{@user_stats[:status][:has]} (#{@user_stats[:status][:distinct]} unika)"
      %li= "Har profilbild: #{@user_stats[:has_avatar]}"
      %li= "Har redigerat sina genvägar: #{@user_stats[:changed_shortcuts]}"
      - if @user_stats[:ldap_diff_mtime]
        %li= link_to "Adresser som skiljer sig mellan ADM och kontaktboken, rapport genererad #{@user_stats[:ldap_diff_mtime]}.", ldap_diff_statistics_path
<commit_msg>Changed wording, ADM => Intra.<commit_after>- title "Statistik"
%section.box.index.statistics
  %h1.box-title= h1
  .box-content
    %h2.group-title Användare
    %ul.user-stats
      %li= "Är aktiva i kontakboken: #{@user_stats[:total]}"
      %li= "Är deaktiverade: #{@user_stats[:deactivated]}"
      %li= "Har tillkommit senaste sju dagarna: #{@user_stats[:registered_last_week_users]}"
      %li= "Har loggat in senaste sju dagarna: #{@user_stats[:last_week_users]}"

      %li= "Har HR-titel: #{@user_stats[:title][:has]} (#{@user_stats[:title][:distinct]} unika)"
      %li= "Har company: #{@user_stats[:company][:has]} (#{@user_stats[:company][:distinct]} unika)"
      %li= "Har department (Intra): #{@user_stats[:adm_department][:has]} (#{@user_stats[:adm_department][:distinct]} unika)"
      %li= "Har division (Intra): #{@user_stats[:division][:has]} (#{@user_stats[:division][:distinct]} unika)"
      %li= "Har houseidentifier: #{@user_stats[:house_identifier][:has]} (#{@user_stats[:house_identifier][:distinct]} unika)"
      %li= "Har physicaldeliveryofficename: #{@user_stats[:physical_delivery_office_name][:has]} (#{@user_stats[:physical_delivery_office_name][:distinct]} unika)"

      %li= "Har adress: #{@user_stats[:has_address]}"
      %li= "Har rum: #{@user_stats[:has_room]}"
      %li= "Har ett mappat ID i CMG: #{@user_stats[:has_cmg_id]}"
      %li= "Har om mig: #{@user_stats[:has_professional_bio]}"
      %li= "Har statusmeddelande: #{@user_stats[:status][:has]} (#{@user_stats[:status][:distinct]} unika)"
      %li= "Har profilbild: #{@user_stats[:has_avatar]}"
      %li= "Har redigerat sina genvägar: #{@user_stats[:changed_shortcuts]}"
      - if @user_stats[:ldap_diff_mtime]
        %li= link_to "Adresser som skiljer sig mellan Intra och kontaktboken, rapport genererad #{@user_stats[:ldap_diff_mtime]}.", ldap_diff_statistics_path

{'fraction_non_alphanumeric': 0.1916778523489933, 'fraction_numerical': 0.001610738255033557, 'mean_word_length': 5.774545454545454, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2870647', 'n_tokens_mistral': 1419, 'n_tokens_neox': 1377, 'n_words': 255}