<commit_before>%table.table.table-striped
  %tr
    %th
    %th= t('groups.index.name')
    %th= t('groups.index.comment')

  
  - for group in groups
    %tr
      %td
        -if group.active
          %i.icon-ok
        - else
          %i.icon-ban-circle
      %td= group.name
      %td= group.comment
      =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => group}<commit_msg>list permissions and memberships in group index<commit_after>%table.table.table-striped
  %tr
    %th
    %th= t('groups.index.name')
    %th= t('groups.index.permissions')
    %th= t('groups.index.memberships')
    %th= t('groups.index.comment')

  
  - for group in groups
    %tr
      %td
        -if group.active
          %i.icon-ok
        - else
          %i.icon-ban-circle
      %td= group.name
      %td
        - if group.group_permissions.count > 0 && group.group_permissions.count < 4
          = group.group_permissions.pluck(:permission).uniq.join(' ')
        - else
          = group.group_permissions.count
      %td= group.group_memberships.count
      %td= group.comment
      =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => group}

{'fraction_non_alphanumeric': 0.13868003341687551, 'fraction_numerical': 0.001670843776106934, 'mean_word_length': 2.1946666666666665, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 10, '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': '6186364', 'n_tokens_mistral': 405, 'n_tokens_neox': 397, 'n_words': 76}