<commit_before>require 'rake'

module TTNT
  class << self
    def root_dir
      @root_dir ||= Rake.application.find_rakefile_location[1]
    end

    def root_dir=(dir)
      @root_dir = dir
    end
  end
end<commit_msg>Use class variable rather than instance variable<commit_after>require 'rake'

module TTNT
  class << self
    def root_dir
      @@root_dir ||= Rake.application.find_rakefile_location[1]
    end

    def root_dir=(dir)
      @@root_dir = dir
    end
  end
end
{'fraction_non_alphanumeric': 0.08731808731808732, 'fraction_numerical': 0.004158004158004158, 'mean_word_length': 3.0504201680672267, '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': '3998792', 'n_tokens_mistral': 169, 'n_tokens_neox': 162, 'n_words': 41}