<commit_before>.nested-fields.order-item
  .row
    - f.object.purchasable ||= Effective::Product.new
    = f.simple_fields_for :purchasable do |purchasable|
      .col-sm-2= f.input :quantity, input_html: { value: f.object.quantity || 1, min: 1 }
      .col-sm-4= purchasable.input :title, input_html: { maxlength: 255 }
      .col-sm-2= purchasable.input :price, as: :effective_price
      .col-sm-2= purchasable.input :tax_exempt, label: 'Tax Exempt', input_html: { title: 'When checked, tax will not be applied to this item' }
      .col-sm-2.remove-nested-fields= link_to_remove_association('remove', f)<commit_msg>Check for effective_form_inputs before using them<commit_after>.nested-fields.order-item
  .row
    - f.object.purchasable ||= Effective::Product.new
    = f.simple_fields_for :purchasable do |purchasable|
      .col-sm-2= f.input :quantity, input_html: { value: f.object.quantity || 1, min: 1 }
      .col-sm-4= purchasable.input :title, input_html: { maxlength: 255 }
      .col-sm-2= purchasable.input :price, as: (defined?(EffectiveFormInputs) ? :effective_price : :price)
      .col-sm-2= purchasable.input :tax_exempt, label: 'Tax Exempt', input_html: { title: 'When checked, tax will not be applied to this item' }
      .col-sm-2.remove-nested-fields= link_to_remove_association('remove', f)
{'fraction_non_alphanumeric': 0.14101592115238817, 'fraction_numerical': 0.015163002274450341, 'mean_word_length': 3.8175182481751824, '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': '3395681', 'n_tokens_mistral': 477, 'n_tokens_neox': 461, 'n_words': 104}