<commit_before>= simple_form_for(@distributer_proxy,
          :html => {:class => 'form-vertical'},
          :url => distribute_policy_path(@policy),
          :wrapper => :vertical_form,
          :wrapper_mappings => {:check_boxes => :vertical_radio_and_checkboxes,
          :radio_buttons => :vertical_radio_and_checkboxes,
          :file => :vertical_file_input,
          :boolean => :vertical_boolean}) do |f|

  -#.row
  -#  .col-md-6
  -#    = f.input :apply_policies, as: :boolean
  -#  .col-md-6
  -#    = f.input :build_projects, as: :boolean

  = f.submit "Run...", :class => "btn btn-primary", :id => "submit_button"

:javascript

  $("#policy_distributer_proxy_apply_policies").change(function() {
    if(!this.checked) {
        $("#policy_distributer_proxy_build_projects").prop('checked', false);
    }
  });

  $("#policy_distributer_proxy_build_projects").change(function() {
    if(this.checked) {
        $("#policy_distributer_proxy_apply_policies").prop('checked', true);
    }
  });<commit_msg>must pass all fields for builder proxy but hide temp apply and sogr on policy distribute<commit_after>= simple_form_for(@distributer_proxy,
          :html => {:class => 'form-vertical'},
          :url => distribute_policy_path(@policy),
          :wrapper => :vertical_form,
          :wrapper_mappings => {:check_boxes => :vertical_radio_and_checkboxes,
          :radio_buttons => :vertical_radio_and_checkboxes,
          :file => :vertical_file_input,
          :boolean => :vertical_boolean}) do |f|

  -#.row
  -#  .col-md-6
  -#    = f.input :apply_policies, as: :boolean
  -#  .col-md-6
  -#    = f.input :build_projects, as: :boolean

  .row
    .col-md-6
      = f.input :apply_policies, as: :hidden
    .col-md-6
      = f.input :build_projects, as: :hidden

  = f.submit "Run...", :class => "btn btn-primary", :id => "submit_button"

:javascript

  $("#policy_distributer_proxy_apply_policies").change(function() {
    if(!this.checked) {
        $("#policy_distributer_proxy_build_projects").prop('checked', false);
    }
  });

  $("#policy_distributer_proxy_build_projects").change(function() {
    if(this.checked) {
        $("#policy_distributer_proxy_apply_policies").prop('checked', true);
    }
  });
{'fraction_non_alphanumeric': 0.16258351893095768, 'fraction_numerical': 0.0026726057906458797, 'mean_word_length': 3.2618595825426944, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 25, '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': '3394427', 'n_tokens_mistral': 745, 'n_tokens_neox': 744, 'n_words': 120}