<commit_before>module SupportedSource
  class Config
    def self.load_config!
      configs_to_load = ["/config.json"]
      configs_to_load.each do |relative_path|
        config_path = SupportedSource.project_supso_config_root + relative_path
        loaded_config = File.exist?(config_path) ? JSON.parse(File.read(config_path)) : {}
        SupportedSource.config = Util.deep_merge(SupportedSource.config, loaded_config)
      end
    end
  end
end<commit_msg>Return if no config path<commit_after>module SupportedSource
  class Config
    def self.load_config!
      if !SupportedSource.project_supso_config_root
        return
      end

      configs_to_load = ["/config.json"]
      configs_to_load.each do |relative_path|
        config_path = SupportedSource.project_supso_config_root + relative_path
        loaded_config = File.exist?(config_path) ? JSON.parse(File.read(config_path)) : {}
        SupportedSource.config = Util.deep_merge(SupportedSource.config, loaded_config)
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.08062930186823992, 'fraction_numerical': 0.0, 'mean_word_length': 3.5650224215246635, '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': '5191908', 'n_tokens_mistral': 309, 'n_tokens_neox': 307, 'n_words': 55}