<commit_before>$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "lib"))

require 'rubygems'
require 'bundler'
Bundler.setup

require "integrity"
require "integrity/notifier/campfire"

Integrity.configure do |c|
  c.database     = ENV["DATABASE_URL"]
  c.directory    = "tmp"
  c.base_url     = 'http://tests.brighterplanet.com'
  c.log          = "tmp/integrity.log"
  c.github_token = ENV["GITHUB_TOKEN"] || "TOKEN"
  c.build_all    = true
  c.builder      = :threaded, 5
  c.username     = ENV['HTTP_AUTH_USERNAME']
  c.password     = ENV['<PASSWORD>']
end
<commit_msg>Fixed tmp directory paths<commit_after>$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "lib"))

require 'rubygems'
require 'bundler'
Bundler.setup

require "integrity"
require "integrity/notifier/campfire"

Integrity.configure do |c|
  c.database     = ENV["DATABASE_URL"]
  c.directory    = "/tmp"
  c.base_url     = 'http://tests.brighterplanet.com'
  c.log          = "/tmp/integrity.log"
  c.github_token = ENV["GITHUB_TOKEN"] || "TOKEN"
  c.build_all    = true
  c.builder      = :threaded, 5
  c.username     = ENV['HTTP_AUTH_USERNAME']
  c.password     = ENV['<PASSWORD>']
end

{'fraction_non_alphanumeric': 0.14776632302405499, 'fraction_numerical': 0.001718213058419244, 'mean_word_length': 3.5866141732283463, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '427257', 'n_tokens_mistral': 444, 'n_tokens_neox': 443, 'n_words': 73}