<commit_before>require 'named_routes'
require 'asset_tag_helper'

require 'dispatcher'

ActionView::Helpers::AssetTagHelper.send(:include, JsNamedRoutes::AssetTagHelper)

ActionController::Routing::RouteSet.class_eval do
  def load_routes_with_named_routes!
    load_routes_without_named_routes!
    JsNamedRoutes::ControllerMethods.add_routes 
  end

  alias_method_chain :load_routes!, :named_routes
end

controller_path = File.join(File.dirname(__FILE__), 'controllers')
$LOAD_PATH << controller_path
::Dependencies.load_paths << controller_path<commit_msg>Fix dependency load paths for Rails 2.2.2<commit_after>require 'named_routes'
require 'asset_tag_helper'

require 'dispatcher'

ActionView::Helpers::AssetTagHelper.send(:include, JsNamedRoutes::AssetTagHelper)

ActionController::Routing::RouteSet.class_eval do
  def load_routes_with_named_routes!
    load_routes_without_named_routes!
    JsNamedRoutes::ControllerMethods.add_routes 
  end

  alias_method_chain :load_routes!, :named_routes
end

controller_path = File.join(File.dirname(__FILE__), 'controllers')
$LOAD_PATH << controller_path
if ActiveSupport.const_defined?(:Dependencies)
  ActiveSupport::Dependencies.load_paths << controller_path
else
  ::Dependencies.load_paths << controller_path
end
{'fraction_non_alphanumeric': 0.09162717219589257, 'fraction_numerical': 0.002369668246445498, 'mean_word_length': 8.746153846153845, 'pattern_counts': {'":': 0, '<': 13, '<?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': '2569207', 'n_tokens_mistral': 390, 'n_tokens_neox': 399, 'n_words': 63}