<commit_before><%# form for drag and drop and option dialog %>
<% if form_mode != :show && can?(:add_options, @option_set) %>
  <div class="add_options">
    <input type="text" class="add_options_box">
    <input type="button" class="btn_secondary" value="<%= t('common.add') %>" />
  </div>
<% end %>

<div id="options_wrapper">
</div>

<% if form.mode != :show %>
  <%# edit option modal %>
  <div class="modal fade" id="edit-option-set" tabindex="-1" role="dialog" aria-labelledby="editOptionSet" aria-hidden="true">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
          <h4 class="modal-title"><%= t("option_set.edit_option") %></h4>
        </div>
        <div class="modal-body">

          <div class="edit_option_form" title="<%= t("option_set.edit_option") %>">
            <%= data_integrity_warning(:option_standard_copy_name_change_warning) if @option_set.standard_copy? %>

            <%# this warning will get hidden/shown by the js %>
            <%= data_integrity_warning(:option_in_use_name_change_warning) %>
<commit_msg>fixed bug in options partial<commit_after><%# form for drag and drop and option dialog %>
<% if form_mode != :show && can?(:add_options, @option_set) %>
  <div class="add_options">
    <input type="text" class="add_options_box">
    <input type="button" class="btn_secondary" value="<%= t('common.add') %>" />
  </div>
<% end %>

<div id="options_wrapper">
</div>

<% if form_mode != :show %>
  <%# edit option modal %>
  <div class="modal fade" id="edit-option-set" tabindex="-1" role="dialog" aria-labelledby="editOptionSet" aria-hidden="true">
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
          <h4 class="modal-title"><%= t("option_set.edit_option") %></h4>
        </div>
        <div class="modal-body">

          <div class="edit_option_form" title="<%= t("option_set.edit_option") %>">
            <%= data_integrity_warning(:option_standard_copy_name_change_warning) if @option_set.standard_copy? %>

            <%# this warning will get hidden/shown by the js %>
            <%= data_integrity_warning(:option_in_use_name_change_warning) %>

{'fraction_non_alphanumeric': 0.1826086956521739, 'fraction_numerical': 0.002484472049689441, 'mean_word_length': 3.9508196721311477, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '1871472', 'n_tokens_mistral': 813, 'n_tokens_neox': 764, 'n_words': 158}