<commit_before>require 'prospecto/controller'

module Prospecto
  class Railtie < Rails::Railtie
    initializer "prospecto.initialize" do |app|
      ActionController::Base.extend(ProspectoController)
    end<commit_msg>Add views to the auto load path during init<commit_after>require 'prospecto/controller'

module Prospecto
  class Railtie < Rails::Railtie
    initializer "prospecto.initialize" do |app|
      ActionController::Base.extend(ProspectoController)
    end

    initializer 'prospecto.autoload', :before => :set_autoload_paths do |app|
      Dir["#{app.root}/app/views/**/"].each do |view_folder|
        app.config.autoload_paths << view_folder
      end
    end
{'fraction_non_alphanumeric': 0.101620029455081, 'fraction_numerical': 0.0, 'mean_word_length': 4.3125, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 4, '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': '2232123', 'n_tokens_mistral': 217, 'n_tokens_neox': 206, 'n_words': 46}