<commit_before>require 'typhoeus'

module Acfs
  module Adapter

    # Adapter for Typhoeus.
    #
    class Typhoeus < Base

      def start
        hydra.run
      end

      def abort
        hydra.abort
      end

      def run(request)
        convert_request(request).run
      end

      def queue(request)
        puts request.inspect
        hydra.queue convert_request request
      end

    protected
      def hydra
        @hydra ||= ::Typhoeus::Hydra.new
      end
<commit_msg>Remove debug print from typhoeus adapter.<commit_after>require 'typhoeus'

module Acfs
  module Adapter

    # Adapter for Typhoeus.
    #
    class Typhoeus < Base

      def start
        hydra.run
      end

      def abort
        hydra.abort
      end

      def run(request)
        convert_request(request).run
      end

      def queue(request)
        hydra.queue convert_request request
      end

    protected
      def hydra
        @hydra ||= ::Typhoeus::Hydra.new
      end

{'fraction_non_alphanumeric': 0.059123343527013254, 'fraction_numerical': 0.0, 'mean_word_length': 1.7277777777777779, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7363491', 'n_tokens_mistral': 316, 'n_tokens_neox': 301, 'n_words': 79}