<commit_before>ENV["RAILS_ENV"] = "test"

module Cukigem
  require "active_support/core_ext"
  
  mattr_accessor :project_root, :temp_root, :application_name
  
  self.project_root = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')).freeze
  self.temp_root = File.join(project_root, "tmp").freeze
  self.application_name = "rails_app".freeze
  
  class << self
    def app_root
      File.join(temp_root, application_name)
    end
  end
end<commit_msg>Simplified Cukigem namespce to be a class with attr_accessor.<commit_after>ENV["RAILS_ENV"] = "test"

class Cukigem
  class << self
    attr_accessor :project_root, :temp_root, :application_name
    
    def app_root
      File.join(temp_root, application_name)
    end
  end
  
  self.project_root = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')).freeze
  self.temp_root = File.join(project_root, "tmp").freeze
  self.application_name = "rails_app".freeze
end
{'fraction_non_alphanumeric': 0.12513255567338283, 'fraction_numerical': 0.0, 'mean_word_length': 4.303370786516854, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6300145', 'n_tokens_mistral': 342, 'n_tokens_neox': 341, 'n_words': 59}