<commit_before>module Muzak
  module Plugin
    class StubPlugin
      attr_reader :instance

      def initialize(instance)
        @instance = instance
        puts "loading #{self.class}"
      end

      PLUGIN_EVENTS.each do |event|
        define_method(event) do |*args|
          nil # do nothing.
        end
      end<commit_msg>stub_plugin: Use debug instead of puts.<commit_after>module Muzak
  module Plugin
    class StubPlugin
      include Utils
      attr_reader :instance

      def initialize(instance)
        @instance = instance
        debug "loading #{self.class}"
      end

      PLUGIN_EVENTS.each do |event|
        define_method(event) do |*args|
          nil # do nothing.
        end
      end
{'fraction_non_alphanumeric': 0.06896551724137931, 'fraction_numerical': 0.0, 'mean_word_length': 2.0632911392405062, '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': '2207213', 'n_tokens_mistral': 210, 'n_tokens_neox': 205, 'n_words': 60}