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

    initializer :assets do |config|
      Rails.application.config.assets.paths << root.join("app", "assets", "fonts")
    end

    config.to_prepare do
      Dir.glob(Rails.root + "app/decorators/**/*_decorator*.rb").each do |c|
        require_dependency(c)
      end
      ApplicationController.helper(MetricsHelper)
    end<commit_msg>Force sorting of decorator files since they can come back at random on Linux systems.<commit_after>module Hubstats
  class Engine < ::Rails::Engine
    isolate_namespace Hubstats

    initializer :assets do |config|
      Rails.application.config.assets.paths << root.join("app", "assets", "fonts")
    end

    config.to_prepare do
      Dir.glob(Rails.root + "app/decorators/**/*_decorator*.rb").sort.each do |c|
        require_dependency(c)
      end
      ApplicationController.helper(MetricsHelper)
    end
{'fraction_non_alphanumeric': 0.1119324181626188, 'fraction_numerical': 0.0, 'mean_word_length': 3.4507042253521125, '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': '3705391', 'n_tokens_mistral': 283, 'n_tokens_neox': 273, 'n_words': 65}