<commit_before>module Mutant
  class Matcher
    # Matcher for subjects that are a specific method
    class Method < self
      include Adamantium::Flat, Concord::Public.new(:cache, :scope, :method)

      # Methods within rbx kernel directory are precompiled and their source
      # cannot be accessed via reading source location
      BLACKLIST = /\Akernel\//.freeze

      # Enumerate matches
      #
      # @return [Enumerable]
      #   returns enumerable when no block given
      #
      # @return [self]
      #   returns self when block given
      #
      # @api private
      #
      def each
        return to_enum unless block_given?

        unless skip?
          yield subject if subject
        end

        self
      end

    private
<commit_msg>Add (eval) to blacklisted source locations<commit_after>module Mutant
  class Matcher
    # Matcher for subjects that are a specific method
    class Method < self
      include Adamantium::Flat, Concord::Public.new(:cache, :scope, :method)

      # Methods within rbx kernel directory are precompiled and their source
      # cannot be accessed via reading source location
      BLACKLIST = %r(\A#{Regexp.union('kernel/', '(eval)')}).freeze

      # Enumerate matches
      #
      # @return [Enumerable]
      #   returns enumerable when no block given
      #
      # @return [self]
      #   returns self when block given
      #
      # @api private
      #
      def each
        return to_enum unless block_given?

        unless skip?
          yield subject if subject
        end

        self
      end

    private

{'fraction_non_alphanumeric': 0.0670846394984326, 'fraction_numerical': 0.0, 'mean_word_length': 2.0751445086705202, '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': '2857674', 'n_tokens_mistral': 433, 'n_tokens_neox': 414, 'n_words': 156}