<commit_before># Configure Rails Environment
ENV["RAILS_ENV"] = "test"

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"

# dependencies that dummy app depends on
require "bootstrap_form"

Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

# Load fixtures from the engine
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
end
<commit_msg>add default RAILS_DATAROOT<commit_after># Configure Rails Environment
ENV["RAILS_ENV"] = "test"
ENV["RAILS_DATAROOT"] = "/dev/null"

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"

# dependencies that dummy app depends on
require "bootstrap_form"

Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

# Load fixtures from the engine
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
  ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
end

{'fraction_non_alphanumeric': 0.13872340425531915, 'fraction_numerical': 0.0, 'mean_word_length': 6.443037974683544, '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': '1028181', 'n_tokens_mistral': 386, 'n_tokens_neox': 381, 'n_words': 80}