<commit_before>class MockRequest < HTTP::Request
  def initialize

  end
end<commit_msg>Add a basic MockRequest for mocking a HTTP::Request<commit_after>class MockRequest

  def initialize
  end

  def get(path : String, headers = Hash.new : Hash(String, String | Array(String)))
    http_headers = HTTP::Headers.new

    headers.each do |key, value|
      http_headers.add(key, value)
    end

    HTTP::Request.new("GET", path, http_headers)
  end

end
{'fraction_non_alphanumeric': 0.09911894273127753, 'fraction_numerical': 0.0, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 4, '<?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': '2107276', 'n_tokens_mistral': 143, 'n_tokens_neox': 136, 'n_words': 40}