<commit_before>require 'yaml'

def settings_file
  Pathname.new(File.expand_path("../../settings.yml", __FILE__))
end

SETTINGS = (File.exists?(settings_file) && yaml= YAML.load_file(settings_file)) ? yaml : {}<commit_msg>Add dummy parameters to satisfy vcr for travis setup.<commit_after>require 'yaml'

def settings_file
  Pathname.new(File.expand_path("../../settings.yml", __FILE__))
end

SETTINGS = (File.exists?(settings_file) && yaml= YAML.load_file(settings_file)) ? yaml : {'basic_auth' => 'login:password', 'oauth_token' => '<PASSWORD>', 'user'=> 'octokat', 'repo' => 'dummy'}
{'fraction_non_alphanumeric': 0.1825938566552901, 'fraction_numerical': 0.0, 'mean_word_length': 6.158536585365853, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 8, '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': '6117224', 'n_tokens_mistral': 202, 'n_tokens_neox': 199, 'n_words': 40}