<commit_before>require 'sinatra/json'
require 'sinatra/base'

$KCODE = "UTF-8"

module Sinatra
  #
  # = Sinatra::RespondWith
  #
  # These extensions let Sinatra automatically choose what template to render or
  # action to perform depending on the request's Accept header.<commit_msg>only assign kcode if ruby version is < 1.9.0<commit_after>require 'sinatra/json'
require 'sinatra/base'

$KCODE = "UTF-8" unless RUBY_VERSION > "1.9.0"

module Sinatra
  #
  # = Sinatra::RespondWith
  #
  # These extensions let Sinatra automatically choose what template to render or
  # action to perform depending on the request's Accept header.
{'fraction_non_alphanumeric': 0.08846761453396525, 'fraction_numerical': 0.01263823064770932, 'mean_word_length': 4.3277310924369745, 'pattern_counts': {'":': 0, '<': 4, '<?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': '4982171', 'n_tokens_mistral': 199, 'n_tokens_neox': 191, 'n_words': 67}