<commit_before>#! /usr/bin/env ruby
module Naminori
  class Notifier
    class Slack < Base
      def add_server(message)
        notifier = Slack::Notifier.new(config.webhook_url, { channel: config.channel, username: config.user})
        notifier.ping message
      end

      def delete_server(message)
        notifier = Slack::Notifier.new(config.webhook_url, { channel: config.channel, username: config.user})
        notifier.ping message
      end

      def default_config
        {
          webhook_url: "",
          channel: "general",
          user: "naminori-notifier"
        }
      end
    end
  end
end<commit_msg>module top level<commit_after>#! /usr/bin/env ruby
module Naminori
  class Notifier
    class Slack < Base
      def add_server(message)
        notifier = ::Slack::Notifier.new(config.webhook_url, { channel: config.channel, username: config.user})
        notifier.ping message
      end

      def delete_server(message)
        notifier = ::Slack::Notifier.new(config.webhook_url, { channel: config.channel, username: config.user})
        notifier.ping message
      end

      def default_config
        {
          webhook_url: "",
          channel: "general",
          user: "naminori-notifier"
        }
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.09568627450980392, 'fraction_numerical': 0.0, 'mean_word_length': 2.297157622739018, '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': '5191874', 'n_tokens_mistral': 387, 'n_tokens_neox': 380, 'n_words': 87}