<commit_before>require_relative 'boot'

if RUBY_PLATFORM =~ /java/
  require_relative "../jetty"
else
  Rack::Server.start(Port: 9292, config: "config.ru", environment: config.environment)
end<commit_msg>Make sure rack server is bound to a single host and set AccessLog to a blank array to avoid duplicated log messages (fixes #72)<commit_after>require_relative 'boot'

if RUBY_PLATFORM =~ /java/
  require_relative "../jetty"
else
  options = {
    :environment => config.environment,
    :pid         => nil,
    :Port        => 9292,
    :Host        => "0.0.0.0",
    :AccessLog   => [],
    :config      => "config.ru"
  }
  Rack::Server.start(options)
end
{'fraction_non_alphanumeric': 0.13161875945537066, 'fraction_numerical': 0.02118003025718608, 'mean_word_length': 3.21656050955414, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '1051566', 'n_tokens_mistral': 227, 'n_tokens_neox': 215, 'n_words': 59}