<commit_before>class Operator
  def initialize(target)
    
    Dir.foreach("#{target}operator/") do |item|
	  extension = item.split(".")[1]
      next if item == '.' or item == '..' or extension != "rb" 
      require "#{target}operator/#{item}"
    end

    extend UserOperator # load user operators
  end
  
  # define default operators here
end<commit_msg>source styling<commit_after>class Operator
  def initialize(target)
    Dir.foreach("#{target}operator/") do |item|
	  extension = item.split(".")[1]
      next if item == '.' or item == '..' or extension != "rb" 
      require "#{target}operator/#{item}"
    end

    extend UserOperator # load user operators
  end

  # define default operators here
end
{'fraction_non_alphanumeric': 0.1424581005586592, 'fraction_numerical': 0.002793296089385475, 'mean_word_length': 3.1445086705202314, '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': '222094', 'n_tokens_mistral': 218, 'n_tokens_neox': 207, 'n_words': 62}