<commit_before>module Tasks
  class Engine < ::Rails::Engine
    isolate_namespace Tasks

    initializer 'tasks.action_controller' do |app|
      ActiveSupport.on_load :action_controller do
        helper Tasks::ApplicationHelper
        helper Tasks::Taskables::VerificationsHelper
      end
    end

    initializer 'tasks.factories', after: 'factory_girl.set_factory_paths' do
      FactoryGirl.definition_file_paths << File.expand_path('../../../spec/factories', __FILE__) if defined?(FactoryGirl)
    end

    config.generators do |g|
      g.test_framework :rspec, fixture: false
      g.fixture_replacement :factory_girl, dir: 'spec/factories'
      g.assets false
      g.helper false
    end
  end
end
<commit_msg>Don't impose on the client application's helpers<commit_after>module Tasks
  class Engine < ::Rails::Engine
    isolate_namespace Tasks

    initializer 'tasks.factories', after: 'factory_girl.set_factory_paths' do
      FactoryGirl.definition_file_paths << File.expand_path('../../../spec/factories', __FILE__) if defined?(FactoryGirl)
    end

    config.generators do |g|
      g.test_framework :rspec, fixture: false
      g.fixture_replacement :factory_girl, dir: 'spec/factories'
      g.assets false
      g.helper false
    end
  end
end

{'fraction_non_alphanumeric': 0.09685039370078741, 'fraction_numerical': 0.0, 'mean_word_length': 3.4285714285714284, 'pattern_counts': {'":': 0, '<': 9, '<?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': '7277577', 'n_tokens_mistral': 388, 'n_tokens_neox': 377, 'n_words': 91}