<commit_before>module SaveQueue
  module Plugins
    module Notification
      module Object
        def self.included(base)
          base.send :include, AddObserverToQueue
        end

        def queue_changed_event(result, object, *args)

        end

        module AddObserverToQueue
          def create_queue
            super

            queue = instance_variable_get("@_save_queue")
            raise "save queue should respond to add_observer in order to work correctly" unless queue.respond_to? :add_observer
            queue.add_observer(self, :queue_changed_event)
          end
        end
      end
    end
  end
end<commit_msg>Remove unnecessary module from Notification Object<commit_after>module SaveQueue
  module Plugins
    module Notification
      module Object
        def queue_changed_event(result, object, *args); end

        def create_queue
          super

          queue = instance_variable_get("@_save_queue")
          raise "save queue should respond to add_observer in order to work correctly" unless queue.respond_to? :add_observer
          queue.add_observer(self, :queue_changed_event)
        end
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.04704875962360992, 'fraction_numerical': 0.0, 'mean_word_length': 2.391304347826087, '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': '4883044', 'n_tokens_mistral': 310, 'n_tokens_neox': 293, 'n_words': 93}