<commit_before>require 'rubygems'

gems = [
  'haml', '=2.0.9',
  'sinatra', '=0.9.2',
  'winton-active_wrapper', '=0.1.5',
  'winton-fetcher', '=0.1.2',
  'winton-secret_key', '=0.1.0'
]

gems.each do |name, version|
  begin
    gem name, version
  rescue Exception
    $:.unshift "#{File.dirname(__FILE__)}/../vendor/#{name}/lib"
  end
end

require 'haml'
require 'sinatra/base'
require 'active_wrapper'
require 'fetcher'<commit_msg>Error in more concise gem requiring<commit_after>require 'rubygems'

gems = [
  [ 'haml', '=2.0.9' ],
  [ 'sinatra', '=0.9.2' ],
  [ 'winton-active_wrapper', '=0.1.5' ],
  [ 'winton-fetcher', '=0.1.2' ],
  [ 'winton-secret_key', '=0.1.0' ]
]

gems.each do |name, version|
  begin
    gem name, version
  rescue Exception
    $:.unshift "#{File.dirname(__FILE__)}/../vendor/#{name}/lib"
  end
end

require 'haml'
require 'sinatra/base'
require 'active_wrapper'
require 'fetcher'
{'fraction_non_alphanumeric': 0.20614035087719298, 'fraction_numerical': 0.03289473684210526, 'mean_word_length': 3.805263157894737, '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': '851580', 'n_tokens_mistral': 389, 'n_tokens_neox': 383, 'n_words': 74}