<commit_before>:ruby
  table_dom_id = SecureRandom.hex
  show_actions ||= 0

#buckets_table_actions.btn-group
  - if can?(:create, FundingBucket)
    = link_to new_funding_bucket_path, :class => 'btn btn-default' do
      %i.fa.fa-edit.fa-fw
      = "Modify Buckets"
  - if show_actions == 1
    = render :partial => "funding_buckets/index_actions"

%table.table.table-hover{:id => table_dom_id, :data => {:toggle => 'table',
  :card_view => "false",
  :pagination => 'true',
  :show_pagination_switch => 'true',
  :page_list => "[5, 10, 20, 50, 100, 200]",
  :page_size => current_user.num_table_rows,
  :search => 'false',
  :toolbar => "#buckets_table_actions",
  :export_types => "['csv', 'txt', 'excel']",
  :show_export => 'true',
  :show_columns => 'true'}, :style => 'width:100%;'}

  %thead
    %tr
      %th.center{:data => {:visible => 'false'}} Object Key
      %th.center{:data => {:sortable => 'true'}} FY<commit_msg>[fixes#133532053] label for button to bucket form<commit_after>:ruby
  table_dom_id = SecureRandom.hex
  show_actions ||= 0

#buckets_table_actions.btn-group
  - if can?(:create, FundingBucket)
    = link_to new_funding_bucket_path, :class => 'btn btn-default' do
      %i.fa.fa-edit.fa-fw
      = "Manage Buckets"
  - if show_actions == 1
    = render :partial => "funding_buckets/index_actions"

%table.table.table-hover{:id => table_dom_id, :data => {:toggle => 'table',
  :card_view => "false",
  :pagination => 'true',
  :show_pagination_switch => 'true',
  :page_list => "[5, 10, 20, 50, 100, 200]",
  :page_size => current_user.num_table_rows,
  :search => 'false',
  :toolbar => "#buckets_table_actions",
  :export_types => "['csv', 'txt', 'excel']",
  :show_export => 'true',
  :show_columns => 'true'}, :style => 'width:100%;'}

  %thead
    %tr
      %th.center{:data => {:visible => 'false'}} Object Key
      %th.center{:data => {:sortable => 'true'}} FY
{'fraction_non_alphanumeric': 0.19230769230769232, 'fraction_numerical': 0.02370916754478398, 'mean_word_length': 4.091152815013404, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 43, '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': '2972687', 'n_tokens_mistral': 760, 'n_tokens_neox': 697, 'n_words': 143}