<commit_before>class Cat < ActiveRecord::Base
  self.abstract_class = true

  enum gender: [:female, :male]

  scope :female, -> { where(gender: genders[:female]) }
  scope :male, -> { where(gender: genders[:male]) }

  default_scope -> { where(is_vegetarian: false) }
end

class Lion < Cat
end<commit_msg>Fix `warning: method redefined; discarding old female`<commit_after>class Cat < ActiveRecord::Base
  self.abstract_class = true

  enum gender: [:female, :male]

  default_scope -> { where(is_vegetarian: false) }
end

class Lion < Cat
end
{'fraction_non_alphanumeric': 0.1323529411764706, 'fraction_numerical': 0.0, 'mean_word_length': 4.797872340425532, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4987606', 'n_tokens_mistral': 190, 'n_tokens_neox': 176, 'n_words': 47}