<commit_before>:ruby
  table_dom_id = SecureRandom.hex

#table_actions.btn-group
  = render :partial => "index_actions"

%table.table.table-hover{:id => table_dom_id, :data => {:toggle => 'table',
  :pagination => 'true',
  :show_pagination_switch => 'true',
  :page_list => "[5, 10, 20, 50, 100, 200]",
  :page_size => current_user.num_table_rows,
  :search => 'false',
  :toolbar => "#table_actions",
  :export_types => "['csv', 'txt', 'excel']",
  :show_export => 'true',
  :show_columns => 'true',
  :show_toggle => 'true'}}
  %thead
    %tr
      %th.left{:data => {:visible => 'false'}} Object Key
      %th.left{:data => {:sortable => 'true'}} Name
      %th.left{:data => {:sortable => 'true'}} Code
      %th.left{:data => {:sortable => 'true'}} Description
      %th.right{:data => {:sortable => 'true'}} Num Assets

  %tbody
    - @asset_groups.each do |a|
      %tr{:id => a.object_key, :class => 'action-path'}
        %td.left= a.object_key
        %td.left= a.name<commit_msg>Ensure correct actions are loaded for the index table<commit_after>:ruby
  table_dom_id = SecureRandom.hex

#table_actions.btn-group
  = render :partial => "asset_groups/index_actions"

%table.table.table-hover{:id => table_dom_id, :data => {:toggle => 'table',
  :pagination => 'true',
  :show_pagination_switch => 'true',
  :page_list => "[5, 10, 20, 50, 100, 200]",
  :page_size => current_user.num_table_rows,
  :search => 'false',
  :toolbar => "#table_actions",
  :export_types => "['csv', 'txt', 'excel']",
  :show_export => 'true',
  :show_columns => 'true',
  :show_toggle => 'true'}}
  %thead
    %tr
      %th.left{:data => {:visible => 'false'}} Object Key
      %th.left{:data => {:sortable => 'true'}} Name
      %th.left{:data => {:sortable => 'true'}} Code
      %th.left{:data => {:sortable => 'true'}} Description
      %th.right{:data => {:sortable => 'true'}} Num Assets

  %tbody
    - @asset_groups.each do |a|
      %tr{:id => a.object_key, :class => 'action-path'}
        %td.left= a.object_key
        %td.left= a.name
{'fraction_non_alphanumeric': 0.20884520884520885, 'fraction_numerical': 0.012776412776412777, 'mean_word_length': 3.6484018264840183, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 55, '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': '5619549', 'n_tokens_mistral': 788, 'n_tokens_neox': 744, 'n_words': 157}