<commit_before>require_relative '../lib/database'

case ENV['RACK_ENV']
when 'development'
when 'production'
else
  puts "You should set value 'development'(to use SQLite3) or 'production'(to use PostgreSQL) to RACK_ENV environment variable."
  exit 1<commit_msg>Add comment<commit_after># CAUTION!!
# This tool is working only PostgreSQL.

require_relative '../lib/database'

case ENV['RACK_ENV']
when 'production'
else
  puts "You should set value 'production'(to use PostgreSQL) to RACK_ENV environment variable."
  exit 1
{'fraction_non_alphanumeric': 0.10476190476190476, 'fraction_numerical': 0.005714285714285714, 'mean_word_length': 5.658227848101266, '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': '6767448', 'n_tokens_mistral': 165, 'n_tokens_neox': 161, 'n_words': 56}