<commit_before>require "hippo"
require 'require_all'
require_relative "sm/version.rb"
require_relative "sm/extension.rb"

module SM
    def self.system_settings
        Hippo::SystemSettings.for_ext('sm')
    end
end

## A workaround for .constantize converting 'sm/foo' into 'Sm::Foo'
Kernel::Sm = SM

require_relative "sm/braintree_config"
require_relative "sm/tenant_extensions"
require_relative "sm/model"
require_relative "sm/access_roles"
require_rel "sm/handlers/*.rb"
require_relative "sm/templates/mail.rb"
require_relative "sm/templates/pdf.rb"
require_rel "sm/templates/*.rb"<commit_msg>set ROOT_PATH<commit_after>require "hippo"
require 'require_all'
require_relative "sm/version.rb"
require_relative "sm/extension.rb"

module SM
    def self.system_settings
        Hippo::SystemSettings.for_ext('sm')
    end

    ROOT_PATH = Pathname.new(__FILE__).dirname.join('..')
end

## A workaround for .constantize converting 'sm/foo' into 'Sm::Foo'
Kernel::Sm = SM

require_relative "sm/braintree_config"
require_relative "sm/tenant_extensions"
require_relative "sm/model"
require_relative "sm/access_roles"
require_rel "sm/handlers/*.rb"
require_relative "sm/templates/mail"
require_relative "sm/templates/pdf"
require_rel "sm/templates/*.rb"
{'fraction_non_alphanumeric': 0.1200960768614892, 'fraction_numerical': 0.0, 'mean_word_length': 5.830601092896175, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4243030', 'n_tokens_mistral': 425, 'n_tokens_neox': 420, 'n_words': 84}