<commit_before>
ENV["RAILS_ENV"] = 'test'
require File.expand_path(File.dirname(__FILE__)) + '/exception_handler_test_app/config/environment.rb'

require File.expand_path(File.dirname(__FILE__)) + '/test_macros.rb'

require "rspec/rails"
require "rack/test"


RSpec.configure do |config|
  config.include Rack::Test::Methods
  config.include TestMacros
  config.around do |example|
    clear_test_log
    ErrorMessage.delete_all
    example.call
    ErrorMessage.delete_all
    clear_test_log
  end
  config.color_enabled = true
  config.full_backtrace = true
end<commit_msg>log clearing done after message deletion<commit_after>
ENV["RAILS_ENV"] = 'test'
require File.expand_path(File.dirname(__FILE__)) + '/exception_handler_test_app/config/environment.rb'

require File.expand_path(File.dirname(__FILE__)) + '/test_macros.rb'

require "rspec/rails"
require "rack/test"


RSpec.configure do |config|
  config.include Rack::Test::Methods
  config.include TestMacros
  config.around do |example|
    ErrorMessage.delete_all
    clear_test_log
    example.call
    ErrorMessage.delete_all
    clear_test_log
  end
  config.color_enabled = true
  config.full_backtrace = true
end
{'fraction_non_alphanumeric': 0.10025488530161428, 'fraction_numerical': 0.0, 'mean_word_length': 5.010204081632653, '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': '6676292', 'n_tokens_mistral': 393, 'n_tokens_neox': 385, 'n_words': 72}