<commit_before>$:.unshift File.dirname(File.expand_path(__FILE__))

require 'logger'
require 'yaml'
require 'uri'
require 'geb/config'
require 'geb/config/gerrit'
require 'geb/config/broker'
require 'geb/bridge'

module GerritEventBridge
  NAME = 'GEB'

  class << self
    attr_writer :logger
    def logger(level = ::Logger::WARN)
      @logger ||= ::Logger.new(STDOUT).tap {|l| l.level = level }
    end
  end
end

GEB = GerritEventBridge<commit_msg>Change default status for Logger<commit_after>$:.unshift File.dirname(File.expand_path(__FILE__))

require 'logger'
require 'yaml'
require 'uri'
require 'geb/config'
require 'geb/config/gerrit'
require 'geb/config/broker'
require 'geb/bridge'

module GerritEventBridge
  NAME = 'GEB'

  class << self
    attr_writer :logger
    def logger(level = ::Logger::INFO)
      @logger ||= ::Logger.new(STDOUT).tap {|l| l.level = level }
    end
  end
end

GEB = GerritEventBridge
{'fraction_non_alphanumeric': 0.13405405405405404, 'fraction_numerical': 0.0, 'mean_word_length': 4.415204678362573, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6216615', 'n_tokens_mistral': 335, 'n_tokens_neox': 316, 'n_words': 77}