<commit_before>akismet_file = Rails.root.join('config', 'akismet')
if akismet_file.exist?
  Cyclescape::Application.config.rakismet.key = akismet_file.read.strip
  Cyclescape::Application.config.rakismet.url = 'http://www.cyclescape.org/'
end
<commit_msg>Have rakismet to work on development and tests environments<commit_after>akismet_file = Rails.root.join('config', 'akismet')
if akismet_file.exist?
  Cyclescape::Application.config.rakismet.key = akismet_file.read.strip
  Cyclescape::Application.config.rakismet.url = 'http://www.cyclescape.org/'
elsif ['development', 'test'].include? Rails.env
  Cyclescape::Application.config.rakismet.key = 'development'
  Cyclescape::Application.config.rakismet.url = 'http://www.cyclescape.org/'
end
{'fraction_non_alphanumeric': 0.1426648721399731, 'fraction_numerical': 0.0, 'mean_word_length': 6.366336633663367, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, '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': '5144308', 'n_tokens_mistral': 275, 'n_tokens_neox': 260, 'n_words': 36}