<commit_before>-# %form.form-horizontal
.form-horizontal
  = render 'design_options/new_button', position: 0
  - @design.design_options.each_with_index do |design_option, position|
    .interactive-variable-section-container{ id: "design_option_#{design_option.id}_container" }
      = render 'design_options/show', design_option: design_option
    = render 'design_options/new_button', position: position + 1
<commit_msg>Load design options more efficiently when editing designs<commit_after>-# %form.form-horizontal
.form-horizontal
  = render 'design_options/new_button', position: 0
  - @design.design_options.includes(:section, variable: { domain: :domain_options }).each_with_index do |design_option, position|
    .interactive-variable-section-container{ id: "design_option_#{design_option.id}_container" }
      = render 'design_options/show', design_option: design_option
    = render 'design_options/new_button', position: position + 1

{'fraction_non_alphanumeric': 0.11416490486257928, 'fraction_numerical': 0.004228329809725159, 'mean_word_length': 5.764285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2126921', 'n_tokens_mistral': 278, 'n_tokens_neox': 273, 'n_words': 57}