<commit_before>Spree::Product.instance_eval do

  delegate_belongs_to :master, :wholesale_price if Spree::Variant.table_exists? && Spree::Variant.column_names.include?("wholesale_price")

end

Spree::Product.class_eval do

  def is_wholesaleable?
    0 < master.wholesale_price
  end

end<commit_msg>Added attr_accessible to wholesale_price<commit_after>Spree::Product.instance_eval do
  attr_accessible :wholesale_price

  delegate_belongs_to :master, :wholesale_price if Spree::Variant.table_exists? && Spree::Variant.column_names.include?("wholesale_price")

end

Spree::Product.class_eval do

  def is_wholesaleable?
    0.01 < master.wholesale_price
  end

end
{'fraction_non_alphanumeric': 0.09323308270676692, 'fraction_numerical': 0.006015037593984963, 'mean_word_length': 6.655172413793103, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3613467', 'n_tokens_mistral': 237, 'n_tokens_neox': 228, 'n_words': 38}