<commit_before>Spree::AppConfiguration.class_eval do
  # This file decorates the existing preferences file defined by Spree.
  # It allows us to add our own global configuration variables, which
  # we can allow to be modified in the UI by adding appropriate form
  # elements to existing or new configuration pages.

  # Tax Preferences
  preference :products_require_tax_category, :boolean, default: false
  preference :shipping_tax_rate, :decimal, default: 0
  preference :account_bill_inc_tax, :boolean, default: false
  preference :account_bill_tax_rate, :decimal, default: 0

  # Accounts & Billing Preferences
  preference :accounts_distributor_id, :integer, default: nil
  preference :default_accounts_payment_method_id, :integer, default: nil
  preference :default_accounts_shipping_method_id, :integer, default: nil
  preference :auto_update_invoices, :boolean, default: false
  preference :auto_finalize_invoices, :boolean, default: false
end<commit_msg>Adding basic business model configuration variables to app config<commit_after>Spree::AppConfiguration.class_eval do
  # This file decorates the existing preferences file defined by Spree.
  # It allows us to add our own global configuration variables, which
  # we can allow to be modified in the UI by adding appropriate form
  # elements to existing or new configuration pages.

  # Tax Preferences
  preference :products_require_tax_category, :boolean, default: false
  preference :shipping_tax_rate, :decimal, default: 0
  preference :account_bill_inc_tax, :boolean, default: false
  preference :account_bill_tax_rate, :decimal, default: 0

  # Accounts & Billing Preferences
  preference :accounts_distributor_id, :integer, default: nil
  preference :default_accounts_payment_method_id, :integer, default: nil
  preference :default_accounts_shipping_method_id, :integer, default: nil
  preference :auto_update_invoices, :boolean, default: false
  preference :auto_finalize_invoices, :boolean, default: false

  # Business Model Configuration
  preference :account_invoices_monthly_fixed, :decimal, default: 0
  preference :account_invoices_monthly_rate, :decimal, default: 0
  preference :account_invoices_monthly_cap, :decimal, default: 0
end
{'fraction_non_alphanumeric': 0.06233062330623306, 'fraction_numerical': 0.0031616982836495033, 'mean_word_length': 6.214983713355049, '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': '926538', 'n_tokens_mistral': 630, 'n_tokens_neox': 631, 'n_words': 213}