<commit_before><div class="row">
  <div class="col-md-6">
    <%= bootstrap_form_for config, inline: true do |f| %>
      <%= f.text_area :options, label: "#{config.config_key.to_s.humanize} options",
                                value: config.config_value.try(:values_at, 'options')
                                                          .try(:join, ', '),
                                help: 'Please separate with commas.' %>
      <%= f.submit "Update options for #{config.config_key.to_s.humanize}", class: 'btn btn-primary' %>
    <% end %>  
  </div>

  <div class="col-md-6">
    <label>Current options are:</label>
    <% public_send("#{config.config_key}_options").each do |opt| %>
      <%= opt %><br />
    <% end %>
  </div>
</div>
<br />
<commit_msg>add some ids to make testing easier<commit_after><div class="row">
  <div class="col-md-6">
    <%= bootstrap_form_for config, inline: true do |f| %>
      <%= f.text_area :options, label: "#{config.config_key.to_s.humanize} options",
                                value: config.config_value.try(:values_at, 'options')
                                                          .try(:join, ', '),
                                help: 'Please separate with commas.',
                                id: "config_options_#{config.config_key}" %>
      <%= f.submit "Update options for #{config.config_key.to_s.humanize}", class: 'btn btn-primary' %>
    <% end %>  
  </div>

  <div class="col-md-6" id="<%= config.config_key.to_s %>_options_list">
    <label>Current options are:</label>
    <% public_send("#{config.config_key}_options").each do |opt| %>
      <%= opt %><br />
    <% end %>
  </div>
</div>
<br />

{'fraction_non_alphanumeric': 0.1754593953764078, 'fraction_numerical': 0.0023710729104919974, 'mean_word_length': 1.9666080843585236, 'pattern_counts': {'":': 0, '<': 38, '<?xml version=': 0, '>': 38, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7371420', 'n_tokens_mistral': 550, 'n_tokens_neox': 513, 'n_words': 107}