<commit_before>require 'pp'

task :configtest do
  require 'fulmar/domain/service/config_test_service'
  test_service = Fulmar::Domain::Service::ConfigTestService.new(configuration)
  results = test_service.run

  pp results
end<commit_msg>[FEATURE] Ouput report with colors<commit_after>require 'pp'

task :configtest do
  require 'fulmar/domain/service/config_test_service'
  test_service = Fulmar::Domain::Service::ConfigTestService.new(configuration)
  results = test_service.run

  results.each do |report|
    case report[:severity]
    when :warning
      warning report[:message]
    when :error
      error report[:message]
    else
      info report[:message]
    end
  end
end
{'fraction_non_alphanumeric': 0.09461426491994178, 'fraction_numerical': 0.0, 'mean_word_length': 4.639344262295082, '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': '6070184', 'n_tokens_mistral': 211, 'n_tokens_neox': 205, 'n_words': 47}