<commit_before>require 'tms/pathname'

module Tms
  class << self
    def version
      (Pathname(__FILE__).dirname.dirname + 'VERSION').read.strip
    end

    def list
      backups = Backup.list
      Table.new do |t|
        t.col '', :red<commit_msg>don't use Pathname when getting version<commit_after>require 'tms/pathname'

module Tms
  class << self
    def version
      File.read(File.join(File.dirname(__FILE__), '../VERSION')).strip
    end

    def list
      backups = Backup.list
      Table.new do |t|
        t.col '', :red
{'fraction_non_alphanumeric': 0.11829944547134935, 'fraction_numerical': 0.0, 'mean_word_length': 2.5194805194805197, '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': '2161870', 'n_tokens_mistral': 177, 'n_tokens_neox': 174, 'n_words': 44}