<commit_before>require 'net/ssh/loggable'

module Net; module SFTP; module Operations

  class Upload
    include Net::SSH::Loggable

    attr_reader :local
    attr_reader :remote
    attr_reader :size
    attr_reader :options

    def initialize(base, local, remote, options={}, &progress)
      @base = base
      @local = local
      @remote = remote
      @progress = progress || options[:progress]
      @options = options
      @active = 0

      self.logger = base.logger

      @uploads = []

      if recursive?
        raise "expected a directory to upload" unless File.directory?(local)
        @stack = [entries_for(local)]
        @local_cwd = local
        @remote_cwd = remote
<commit_msg>remove artifact<commit_after>require 'net/ssh/loggable'

module Net; module SFTP; module Operations

  class Upload
    include Net::SSH::Loggable

    attr_reader :local
    attr_reader :remote
    attr_reader :options

    def initialize(base, local, remote, options={}, &progress)
      @base = base
      @local = local
      @remote = remote
      @progress = progress || options[:progress]
      @options = options
      @active = 0

      self.logger = base.logger

      @uploads = []

      if recursive?
        raise "expected a directory to upload" unless File.directory?(local)
        @stack = [entries_for(local)]
        @local_cwd = local
        @remote_cwd = remote

{'fraction_non_alphanumeric': 0.09712230215827339, 'fraction_numerical': 0.0014388489208633094, 'mean_word_length': 2.6036269430051813, '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': '1764587', 'n_tokens_mistral': 414, 'n_tokens_neox': 396, 'n_words': 115}