<commit_before>module DataAggregation::Accumulator
  class PositionStore
    include EventStore::Consumer::PositionStore

    dependency :reader, EventStore::Client::HTTP::Reader

    def configure
      Log.configure self

      EventStore::Client::HTTP::Reader.configure(
        self,
        stream_name,
        direction: :backward,
        slice_size: 1
      )
    end

    def get
      reader.each do |event_data|
        logger.info "-> #{event_data.position} (#{stream_name})"
        return event_data.position
      end

      :no_stream
    end

    def put(_)
    end
  end
end<commit_msg>Temporary log message is removed<commit_after>module DataAggregation::Accumulator
  class PositionStore
    include EventStore::Consumer::PositionStore

    dependency :reader, EventStore::Client::HTTP::Reader

    def configure
      Log.configure self

      EventStore::Client::HTTP::Reader.configure(
        self,
        stream_name,
        direction: :backward,
        slice_size: 1
      )
    end

    def get
      reader.each do |event_data|
        return event_data.position
      end

      :no_stream
    end

    def put(_)
    end
  end
end
{'fraction_non_alphanumeric': 0.08075601374570447, 'fraction_numerical': 0.001718213058419244, 'mean_word_length': 2.4672619047619047, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '5005987', 'n_tokens_mistral': 337, 'n_tokens_neox': 322, 'n_words': 78}