<commit_before>Dir[Rails.root.to_s + "/lib/enju_trunk/**/base.rb"].each do 
  |file|
  require file
end
Dir[Rails.root.to_s + "/lib/enju_trunk/**/*.rb"].each do 
  |file|
  require file
end

# nacsis
begin
  NACSIS_CLIENT_CONFIG = YAML.load_file("#{Rails.root}/config/nacsis_client.yml")
rescue Errno::ENOENT
  # skip.
end

# custom 
if defined?(EnjuCustomize)
  begin
    #require EnjuCustomize.render_dir + '/custom_validator'
    Dir[EnjuCustomize.root.to_s + EnjuCustomize.render_dir + "/*.rb"].each { |file| require file }
  rescue
    # NO CUSTOM VALIDATOR
  end
end
<commit_msg>modified load file from lib<commit_after>Dir[Rails.root.to_s + "/lib/enju_trunk/**/base.rb"].each do 
  |file|
  require file
end
Dir[Rails.root.to_s + "/lib/enju_trunk/**/*.rb"].each do 
  |file|
  require file
end

# nacsis
begin
  NACSIS_CLIENT_CONFIG = YAML.load_file("#{Rails.root}/config/nacsis_client.yml")
rescue Errno::ENOENT
  # skip.
end

# custom 
if defined?(EnjuCustomize)
  begin
    #require EnjuCustomize.render_dir + '/custom_validator'
    Dir[EnjuCustomize.root.to_s + EnjuCustomize.class_evals_dir + "*.rb"].each { |file| require file }
  rescue
    # NO CUSTOM VALIDATOR
  end
end

{'fraction_non_alphanumeric': 0.14057239057239057, 'fraction_numerical': 0.0, 'mean_word_length': 3.9541666666666666, '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': '5201514', 'n_tokens_mistral': 479, 'n_tokens_neox': 476, 'n_words': 86}