<commit_before>require 'shelves/version'

module Shelves
  # Returns the path to the root of the project.
  def self.root
    @root_path ||= File.expand_path '../..', __FILE__
  end
  
  # Returns the path to the main stylesheets directory.
  def self.stylesheets_path
    @stylesheets_path ||= File.join root, 'scss'
  end
end

if defined? ::Rails
  require 'shelves/extensions/rails'
elsif defined? ::Sprockets::Plugin
  require 'shelves/extensions/sprockets'
else
  require 'shelves/extensions/compass'
end<commit_msg>Using global Sprockets paths in 2.4<commit_after>require 'shelves/version'

module Shelves
  # Returns the path to the root of the project.
  def self.root
    @root_path ||= File.expand_path '../..', __FILE__
  end
  
  # Returns the path to the main stylesheets directory.
  def self.stylesheets_path
    @stylesheets_path ||= File.join root, 'scss'
  end
end

if defined? ::Rails
  require 'shelves/extensions/rails'
elsif defined? ::Sprockets::Plugin
  require 'shelves/extensions/sprockets'
elsif defined? ::Sprockets && Sprockets.respond_to?(:append_path)
  Sprockets.append_path Shelves.stylesheets_path
else
  require 'shelves/extensions/compass'
end
{'fraction_non_alphanumeric': 0.10093299406276506, 'fraction_numerical': 0.0016963528413910093, 'mean_word_length': 4.291479820627803, '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': '4175518', 'n_tokens_mistral': 407, 'n_tokens_neox': 396, 'n_words': 108}