<commit_before>module Alchemy
  module UserManual
    class Engine < ::Rails::Engine
      isolate_namespace Alchemy
      engine_name 'alchemy_user_manual'

      initializer 'alchemy_user_manual.assets' do |app|
        app.config.assets.precompile += [
          "alchemy/user_manual.css"
        ]
      end

      def self.add_auth_rules
        Alchemy::Auth::Engine.get_instance.load(File.join(File.dirname(__FILE__), '../../..', 'config/authorization_rules.rb'))
      end

      config.to_prepare &method(:add_auth_rules).to_proc
    end
  end
end<commit_msg>Adding user_manual.js for precompiling.<commit_after>module Alchemy
  module UserManual
    class Engine < ::Rails::Engine
      isolate_namespace Alchemy
      engine_name 'alchemy_user_manual'

      initializer 'alchemy_user_manual.assets' do |app|
        app.config.assets.precompile += [
          "alchemy/user_manual.css",
          "alchemy/user_manual.js"
        ]
      end

      def self.add_auth_rules
        Alchemy::Auth::Engine.get_instance.load(File.join(File.dirname(__FILE__), '../../..', 'config/authorization_rules.rb'))
      end

      config.to_prepare &method(:add_auth_rules).to_proc
    end
  end
end
{'fraction_non_alphanumeric': 0.11101836393989983, 'fraction_numerical': 0.0, 'mean_word_length': 2.855305466237942, 'pattern_counts': {'":': 0, '<': 5, '<?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': '648530', 'n_tokens_mistral': 400, 'n_tokens_neox': 373, 'n_words': 59}