<commit_before>module RedhatAccessCfme
  class Engine < ::Rails::Engine
    isolate_namespace RedhatAccessCfme
    
    initializer "redhat_access.mount_engine", :after => :build_middleware_stack do |app|
      app.config.assets.paths << "#{RedhatAccessCfme::Engine.root}/vendor/assets/images"
      app.config.assets.paths << "#{RedhatAccessCfme::Engine.root}/vendor/assets/stylesheets"
      app.config.assets.paths << "#{RedhatAccessCfme::Engine.root}/vendor/assets/fonts"
    end
    assets_to_precompile = [
      'redhat_access_cfme/application.js',
      'redhat_access_cfme/application.css'
    ]
    initializer 'redhat_access.assets.precompile' do |app|
      app.config.assets.precompile += assets_to_precompile
    end

  end
end
<commit_msg>Engine initializers should not run after build_middleware_stack<commit_after>module RedhatAccessCfme
  class Engine < ::Rails::Engine
    isolate_namespace RedhatAccessCfme
    
    initializer "redhat_access.mount_engine" do |app|
      app.config.assets.paths << "#{RedhatAccessCfme::Engine.root}/vendor/assets/images"
      app.config.assets.paths << "#{RedhatAccessCfme::Engine.root}/vendor/assets/stylesheets"
      app.config.assets.paths << "#{RedhatAccessCfme::Engine.root}/vendor/assets/fonts"
    end
    assets_to_precompile = [
      'redhat_access_cfme/application.js',
      'redhat_access_cfme/application.css'
    ]
    initializer 'redhat_access.assets.precompile' do |app|
      app.config.assets.precompile += assets_to_precompile
    end

  end
end

{'fraction_non_alphanumeric': 0.11359159553512804, 'fraction_numerical': 0.0, 'mean_word_length': 4.148648648648648, 'pattern_counts': {'":': 0, '<': 17, '<?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': '7637472', 'n_tokens_mistral': 501, 'n_tokens_neox': 494, 'n_words': 68}