<commit_before>%table.zebra-striped
  %thead
    %tr
      %th.shrink.user= t("admin.history.user")
      %th.changes= t("admin.history.changes")
  %tbody
    - @history.each do |t|
      %tr
        %td= t.try :username
        %td= "#{m = t.message.downcase} #{m.to_s.rindex("changed") ? "for #{t.table.capitalize} ##{t.item}" : ''}"<commit_msg>defensive hot-fix for #849, nil entries in histories<commit_after>%table.zebra-striped
  %thead
    %tr
      %th.shrink.user= t("admin.history.user")
      %th.changes= t("admin.history.changes")
  %tbody
    - @history.each do |t|
      %tr
        %td= t.try :username
        %td= "#{m = t.message.try(:downcase)} #{m.to_s.rindex("changed") ? "for #{t.table.capitalize} ##{t.item}" : ''}"
{'fraction_non_alphanumeric': 0.20568335588633288, 'fraction_numerical': 0.0040595399188092015, 'mean_word_length': 2.8743455497382198, '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': '2553234', 'n_tokens_mistral': 292, 'n_tokens_neox': 283, 'n_words': 51}