<commit_before>require 'crispy/crispy_received_message'

module Crispy
  module CrispyInternal
    module SpyMixin

      BLACK_LISTED_METHODS = [
        :__CRISPY_CLASS_SPY__,
        :__CRISPY_SPY__,
      ]

      def received_messages
        raise NotImplementedError
      end

      def erase_log
        raise NotImplementedError
      end

      def stop
        @spying = false
      end

      def restart<commit_msg>declare define_wrapper method as a required method of SpyMixin<commit_after>require 'crispy/crispy_received_message'

module Crispy
  module CrispyInternal
    module SpyMixin

      BLACK_LISTED_METHODS = [
        :__CRISPY_CLASS_SPY__,
        :__CRISPY_SPY__,
      ]

      def received_messages
        raise NotImplementedError
      end

      def erase_log
        raise NotImplementedError
      end

      def define_wrapper
        raise NotImplementedError
      end

      def stop
        @spying = false
      end

      def restart
{'fraction_non_alphanumeric': 0.030706243602865915, 'fraction_numerical': 0.0, 'mean_word_length': 2.144694533762058, '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': '5381572', 'n_tokens_mistral': 304, 'n_tokens_neox': 284, 'n_words': 68}