<commit_before>require 'rubygems'
require 'bundler/setup'
require 'yaml'
require 'pathname'
require 'socket'
require 'pry'
require 'logger'
require 'settingslogic'
require 'thread'
require 'sinatra'

require_relative 'rubyserv/helpers'
require_relative 'rubyserv/constants'
require_relative 'rubyserv/configuration'
require_relative 'rubyserv/logger'
require_relative 'rubyserv/protocol'
require_relative 'rubyserv/message'
require_relative 'rubyserv/plugin'
require_relative 'rubyserv/irc'
require_relative 'rubyserv/irc/base'
require_relative 'rubyserv/irc/user'
require_relative 'rubyserv/irc/channel'
require_relative 'rubyserv/irc/server'
require_relative 'rubyserv/irc/client'
require_relative 'rubyserv/protocol/ts6'

Dir.glob(RubyServ.root + 'plugins/*.rb').each do |plugin|
  require_relative RubyServ.root + plugin
end

module RubyServ
  def self.start!(args)
    RubyServ::IRC.new(RubyServ.config.link, args)
  end
end
<commit_msg>load plugins rather then require<commit_after>require 'rubygems'
require 'bundler/setup'
require 'yaml'
require 'pathname'
require 'socket'
require 'pry'
require 'logger'
require 'settingslogic'
require 'thread'
require 'sinatra'

require_relative 'rubyserv/helpers'
require_relative 'rubyserv/constants'
require_relative 'rubyserv/configuration'
require_relative 'rubyserv/logger'
require_relative 'rubyserv/protocol'
require_relative 'rubyserv/message'
require_relative 'rubyserv/plugin'
require_relative 'rubyserv/irc'
require_relative 'rubyserv/irc/base'
require_relative 'rubyserv/irc/user'
require_relative 'rubyserv/irc/channel'
require_relative 'rubyserv/irc/server'
require_relative 'rubyserv/irc/client'
require_relative 'rubyserv/protocol/ts6'

Dir.glob(RubyServ.root + 'plugins/*.rb').each do |plugin|
  load RubyServ.root + plugin
end

module RubyServ
  def self.start!(args)
    RubyServ::IRC.new(RubyServ.config.link, args)
  end
end

{'fraction_non_alphanumeric': 0.1047065044949762, 'fraction_numerical': 0.0010576414595452142, 'mean_word_length': 7.408888888888889, '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': '7080998', 'n_tokens_mistral': 641, 'n_tokens_neox': 622, 'n_words': 132}