<commit_before>require 'json'

baseline = if File.exist?('./tmp/coverband_baseline.json')
  JSON.parse(File.read('./tmp/coverband_baseline.json'))
else
  {}
end

Coverband.configure do |config|
  config.root              = Dir.pwd
  if defined? Redis
    config.redis             = Redis.new(:host => 'utils.picoappz.com', :port => 49182, :db => 1)
  end
  config.coverage_baseline = baseline
  config.root_paths        = ['/app/']
  config.ignore            = ['vendor']
  config.percentage        = 60.0
  if defined? Statsd
    config.stats             = Statsd.new('utils.picoappz.com', 8125)
  end
  config.verbose           = true
end<commit_msg>increase sample rate<commit_after>require 'json'

baseline = if File.exist?('./tmp/coverband_baseline.json')
  JSON.parse(File.read('./tmp/coverband_baseline.json'))
else
  {}
end

Coverband.configure do |config|
  config.root              = Dir.pwd
  if defined? Redis
    config.redis             = Redis.new(:host => 'utils.picoappz.com', :port => 49182, :db => 1)
  end
  config.coverage_baseline = baseline
  config.root_paths        = ['/app/']
  config.ignore            = ['vendor']
  config.percentage        = 85.0
  config.startup_delay     = 2
  if defined? Statsd
    config.stats             = Statsd.new('utils.picoappz.com', 8125)
  end
  config.verbose           = true
end
{'fraction_non_alphanumeric': 0.13412816691505217, 'fraction_numerical': 0.020119225037257823, 'mean_word_length': 2.4173027989821882, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '765334', 'n_tokens_mistral': 477, 'n_tokens_neox': 440, 'n_words': 87}