<commit_before>module Arel
  class Having < Compound
    attr_reader :predicates

    def initialize(relation, *predicates)
      super(relation)
      predicates = [yield(relation)] + predicates if block_given?
      @predicates = predicates.map { |p| p.bind(relation) }
    end

    def havings
      @havings ||= relation.havings + predicates<commit_msg>PERF: dead code is dead<commit_after>module Arel
  class Having < Compound
    attr_reader :predicates

    def initialize(relation, *predicates)
      super(relation)
      @predicates = predicates.map { |p| p.bind(relation) }
    end

    def havings
      @havings ||= relation.havings + predicates
{'fraction_non_alphanumeric': 0.09422492401215805, 'fraction_numerical': 0.0, 'mean_word_length': 3.335526315789474, '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': '6807917', 'n_tokens_mistral': 203, 'n_tokens_neox': 194, 'n_words': 50}