<commit_before>root = ::File.dirname(__FILE__)
require ::File.join( root, 'server' )

ENV["RACK_ENV"] ||= "development"

require 'dotenv'
Dotenv.load

unless ENV["RACK_ENV"] == "development"
  use Rack::Auth::Basic, "IDEO" do |u, p|
    u == ENV["USERNAME"] && p == ENV["PASSWORD"]
  end
end
use Rack::Static, :urls => ["/css", "/img", "/js"], :root => "public"

run GuessWho.new<commit_msg>More descriptive logging for sinatra<commit_after>root = ::File.dirname(__FILE__)
require ::File.join( root, 'server' )

ENV["RACK_ENV"] ||= "development"

require 'dotenv'
Dotenv.load

unless ENV["RACK_ENV"] == "development"
  use Rack::Auth::Basic, "IDEO" do |u, p|
    u == ENV["USERNAME"] && p == ENV["PASSWORD"]
  end
end
use Rack::Static, :urls => ["/css", "/img", "/js"], :root => "public"
use Rack::CommonLogger

run GuessWho.new
{'fraction_non_alphanumeric': 0.21256038647342995, 'fraction_numerical': 0.0, 'mean_word_length': 5.2330827067669174, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7091386', 'n_tokens_mistral': 319, 'n_tokens_neox': 310, 'n_words': 77}