<commit_before>$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'smeg'
require 'spec'
require 'spec/autorun'

Spec::Runner.configure do |config|
  SPEC_CONTENT_PATH = "#{File.dirname(__FILE__)}/support/content"
  Smeg::Page.path = SPEC_CONTENT_PATH
  
  SPEC_TEMPLATE_PATH = "#{File.dirname(__FILE__)}/support/templates"
  Smeg::Template.path = SPEC_TEMPLATE_PATH
end
<commit_msg>Renderer output paths<commit_after>$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'smeg'
require 'spec'
require 'spec/autorun'

Spec::Runner.configure do |config|
  SPEC_CONTENT_PATH = "#{File.dirname(__FILE__)}/support/content"
  Smeg::Page.path = SPEC_CONTENT_PATH
  
  SPEC_TEMPLATE_PATH = "#{File.dirname(__FILE__)}/support/templates"
  Smeg::Template.path = SPEC_TEMPLATE_PATH
  
  OUTPUT_PATH = "#{File.dirname(__FILE__)}/tmp"
  Smeg::Renderer.path = OUTPUT_PATH
end

{'fraction_non_alphanumeric': 0.15508559919436052, 'fraction_numerical': 0.0, 'mean_word_length': 6.705426356589148, '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': '5244619', 'n_tokens_mistral': 369, 'n_tokens_neox': 363, 'n_words': 48}