<commit_before>- url = url_for(:action => 'policy_sim_add')
#main_div
  = render :partial => "layouts/flash_msg"
  %h3= _("Choose Policies")
  #tab_div
    %table.table.table-bordered.table-striped
      %thead
        %tr
          %th{:colspan => "2"}
            %strong= _("Select a Policy Profile to add:")
            = select_tag("profile_id",
                         options_for_select(@all_profs.invert.sort_by { |desc, _id| desc.downcase }, "select"),
                         "data-miq_sparkle_on"  => true,
                         "data-miq_sparkle_off" => true,
                         "data-miq_observe"     => {:url => url}.to_json)
        %tr
          %th.narrow<commit_msg>Updated missing selectpickers style to Patternfly on VM Policy Simulation page<commit_after>- url = url_for(:action => 'policy_sim_add')
#main_div
  = render :partial => "layouts/flash_msg"
  %h3= _("Choose Policies")
  #tab_div
    %table.table.table-bordered.table-striped
      %thead
        %tr
          %th{:colspan => "2"}
            %strong= _("Select a Policy Profile to add:")
            = select_tag("profile_id",
                         options_for_select(@all_profs.invert.sort_by { |desc, _id| desc.downcase }, "select"),
                         "data-miq_observe" => {:url => url}.to_json,
                         "class"            => "selectpicker")
            :javascript
              miqInitSelectPicker();
              miqSelectPickerEvent("profile_id", "#{url}", {beforeSend: true, complete: true});
        %tr
          %th.narrow
{'fraction_non_alphanumeric': 0.1348747591522158, 'fraction_numerical': 0.002569043031470777, 'mean_word_length': 1.9563567362428842, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, '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': '1674744', 'n_tokens_mistral': 493, 'n_tokens_neox': 473, 'n_words': 93}