<commit_before>CONFIG["url_base"] ||= "http://" + CONFIG["server_host"]

%w(session_secret_key user_password_salt).each do |key|
  CONFIG[key] = ServerKey[key] if ServerKey[key]
end

require 'base64'
require 'diff/lcs/array'
require 'ipaddr'
require 'open-uri'
require 'socket'
require 'time'<commit_msg>Use session key only from config.<commit_after>CONFIG["url_base"] ||= "http://" + CONFIG["server_host"]

%w(user_password_salt).each do |key|
  CONFIG[key] = ServerKey[key] if ServerKey[key]
end

require 'base64'
require 'diff/lcs/array'
require 'ipaddr'
require 'open-uri'
require 'socket'
require 'time'
{'fraction_non_alphanumeric': 0.1592775041050903, 'fraction_numerical': 0.006568144499178982, 'mean_word_length': 6.82051282051282, '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': '1870234', 'n_tokens_mistral': 221, 'n_tokens_neox': 216, 'n_words': 51}