<commit_before># Thanks to Puma https://github.com/puma/puma/blob/master/lib/puma/const.rb
require "rack"

module SpiderGazelle
  # UnsupportedOption = Class.new(RuntimeError)

  # Every standard HTTP code mapped to the appropriate message.  These are
  # used so frequently that they are placed directly in SpiderGazelle for easy
  # access rather than SpiderGazelle::Const itself.
  HTTP_STATUS_CODES = Rack::Utils::HTTP_STATUS_CODES

  # # For some HTTP status codes the client only expects headers.
  # STATUS_WITH_NO_ENTITY_BODY = Hash[Rack::Utils::STATUS_WITH_NO_ENTITY_BODY.map { |s|
  #   [s, true]
  # }]

  # Based on http://rack.rubyforge.org/doc/SPEC.html
  # Frequently used constants when constructing requests or responses.  Many times
  # the constant just refers to a string with the same contents.  Using these constants
  # gave about a 3% to 10% performance improvement over using the strings directly.
  #
  # The constants are frozen because Hash#[]= when called with a String key dups
  # the String UNLESS the String is frozen. This saves us therefore 2 object
  # allocations when creating the env hash later.
  #
  # While SpiderGazelle does try to emulate the CGI/1.2 protocol, it does not use the REMOTE_IDENT,
  # REMOTE_USER, or REMOTE_HOST parameters since those are either a security problem or
  # too taxing on performance.
  module Const
    SPIDER_GAZELLE_VERSION = VERSION = "0.1.6".freeze
    # CODE_NAME = "Earl of Sandwich Partition"
    SERVER = "SpiderGazelle".freeze

    # FAST_TRACK_KA_TIMEOUT = 0.2

    # # The default number of seconds for another request within a persistent
    # # session.
    # PERSISTENT_TIMEOUT = 20

    # # The default number of seconds to wait until we get the first data
    # # for the request
    # FIRST_DATA_TIMEOUT = 30<commit_msg>version bump<commit_after># Thanks to Puma https://github.com/puma/puma/blob/master/lib/puma/const.rb
require "rack"

module SpiderGazelle
  # UnsupportedOption = Class.new(RuntimeError)

  # Every standard HTTP code mapped to the appropriate message.  These are
  # used so frequently that they are placed directly in SpiderGazelle for easy
  # access rather than SpiderGazelle::Const itself.
  HTTP_STATUS_CODES = Rack::Utils::HTTP_STATUS_CODES

  # # For some HTTP status codes the client only expects headers.
  # STATUS_WITH_NO_ENTITY_BODY = Hash[Rack::Utils::STATUS_WITH_NO_ENTITY_BODY.map { |s|
  #   [s, true]
  # }]

  # Based on http://rack.rubyforge.org/doc/SPEC.html
  # Frequently used constants when constructing requests or responses.  Many times
  # the constant just refers to a string with the same contents.  Using these constants
  # gave about a 3% to 10% performance improvement over using the strings directly.
  #
  # The constants are frozen because Hash#[]= when called with a String key dups
  # the String UNLESS the String is frozen. This saves us therefore 2 object
  # allocations when creating the env hash later.
  #
  # While SpiderGazelle does try to emulate the CGI/1.2 protocol, it does not use the REMOTE_IDENT,
  # REMOTE_USER, or REMOTE_HOST parameters since those are either a security problem or
  # too taxing on performance.
  module Const
    SPIDER_GAZELLE_VERSION = VERSION = "0.1.7".freeze
    # CODE_NAME = "Earl of Sandwich Partition"
    SERVER = "SpiderGazelle".freeze

    # FAST_TRACK_KA_TIMEOUT = 0.2

    # # The default number of seconds for another request within a persistent
    # # session.
    # PERSISTENT_TIMEOUT = 20

    # # The default number of seconds to wait until we get the first data
    # # for the request
    # FIRST_DATA_TIMEOUT = 30
{'fraction_non_alphanumeric': 0.06848936757801712, 'fraction_numerical': 0.008285004142502071, 'mean_word_length': 3.7161458333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5802486', 'n_tokens_mistral': 1146, 'n_tokens_neox': 1079, 'n_words': 412}