<commit_before>%h1= t("global.statistics") + ": " + t(".inactive_users")
.panel.panel-default
  .panel-body
    %table.table.table-hover.table-condensed
      %thead
        %tr
          %th ID
          %th= User.human_attribute_name(:username)
          %th= t ".days_without_swaps"
          %th= t ".last_movement"
      %tbody
      / Por días sin movimientos
      - @members.includes(:account).sort_by(&:days_without_swaps).reverse.map{ |a| a unless a.days_without_swaps.zero? }.compact.each do |mem|
        %tr
          %td= mem.member_uid
          %td= link_to mem.user.username, mem.user
          %td= mem.days_without_swaps
          %td= (mem.account.balance.blank? || mem.account.balance.zero?) ? t(".no_movements") : l(mem.account.updated_at, format: :long)<commit_msg>Fix inactive user statistics<commit_after>%h1= t("global.statistics") + ": " + t(".inactive_users")
.panel.panel-default
  .panel-body
    %table.table.table-hover.table-condensed
      %thead
        %tr
          %th ID
          %th= User.human_attribute_name(:username)
          %th= t ".days_without_swaps"
          %th= t ".last_movement"
      %tbody
      / Por días sin movimientos
      - @members.includes(:account).sort_by(&:days_without_swaps).reverse.compact.each do |mem|
        %tr
          %td= mem.member_uid
          %td= link_to mem.user.username, mem.user
          %td= mem.days_without_swaps
          %td= (mem.account.updated_at == mem.account.created_at) ? t(".no_movements") : l(mem.account.updated_at, format: :long)
{'fraction_non_alphanumeric': 0.14443721535458687, 'fraction_numerical': 0.0013012361743656475, 'mean_word_length': 2.543778801843318, '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': '2977746', 'n_tokens_mistral': 522, 'n_tokens_neox': 517, 'n_words': 91}