<commit_before># encoding: UTF-8
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')

require 'rubygems'
require 'yajl'
require 'active_support/core_ext/kernel/reporting'
require 'date'<commit_msg>Reimplement the single function used by activesupport.<commit_after># encoding: UTF-8
$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + '/../lib')

require 'rubygems'
require 'yajl'
require 'date'

module Kernel
  def silence_warnings
    old_verbose, $VERBOSE = $VERBOSE, nil
    yield
  ensure
    $VERBOSE = old_verbose
  end
end
{'fraction_non_alphanumeric': 0.11964285714285715, 'fraction_numerical': 0.0035714285714285713, 'mean_word_length': 5.233333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1262106', 'n_tokens_mistral': 196, 'n_tokens_neox': 194, 'n_words': 45}