<commit_before>module NumbersD
  module Settings

    attr_reader :version, :checksum, :user, :uri

    def initialize(version, checksum, user)
      @version, @checksum, @user, @uri = version, checksum, user, uri
    end

    def home
      "/opt/numbersd-#{version}"
    end

    def bin
      "numbersd"
    end

    def path
      "#{home}/#{bin}"
    end

    def tar
      "/var/tmp/#{bin}-#{version}.tar.gz"
    end

    def source
      throw NotImplemented
    end

    def installed?
      File.exists?(path)
    end

  end
end<commit_msg>Force specification of remote_file source for installation tar<commit_after>module NumbersD
  module Settings

    attr_reader :version, :checksum, :source, :user

    def initialize(version, checksum, source, user)
      @version, @checksum, @source, @user = version, checksum, source, user
    end

    def home
      "/opt/numbersd-#{version}"
    end

    def bin
      "numbersd"
    end

    def path
      "#{home}/#{bin}"
    end

    def tar
      "/var/tmp/#{bin}-#{version}.tar.gz"
    end

    def installed?
      File.exists?(path)
    end

  end
end
{'fraction_non_alphanumeric': 0.11410601976639713, 'fraction_numerical': 0.0, 'mean_word_length': 2.286135693215339, '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': '5286011', 'n_tokens_mistral': 373, 'n_tokens_neox': 358, 'n_words': 100}