<commit_before>require 'rails'
require 'active_support/dependencies'
require 'active_record/railtie'
require 'action_controller/railtie'
require 'action_view/railtie'
require 'sprockets/railtie'

module Combustion
  def self.initialize!
    Combustion::Application.initialize!

    silence_stream(STDOUT) do
      load "#{Rails.root}/db/schema.rb"
    end
  end
end

require 'combustion/application'
require 'combustion/version'<commit_msg>Add useful Rails and Capybara helpers to RSpec if RSpec and Capybara are loaded.<commit_after>require 'rails'
require 'active_support/dependencies'
require 'active_record/railtie'
require 'action_controller/railtie'
require 'action_view/railtie'
require 'sprockets/railtie'

module Combustion
  def self.initialize!
    Combustion::Application.initialize!

    silence_stream(STDOUT) do
      load "#{Rails.root}/db/schema.rb"
    end

    RSpec.configure do |config|
      config.include(Capybara) if defined?(Capybara)

      config.include(Combustion::Application.routes.url_helpers)
      config.include(Combustion::Application.routes.mounted_helpers)
    end if defined?(RSpec)
  end
end

require 'combustion/application'
require 'combustion/version'
{'fraction_non_alphanumeric': 0.09456066945606695, 'fraction_numerical': 0.0, 'mean_word_length': 5.229166666666667, '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': '3258887', 'n_tokens_mistral': 389, 'n_tokens_neox': 384, 'n_words': 79}