<commit_before>require_relative 'server'
require_relative 'collector'

EventMachine::run {
  EventMachine::open_datagram_socket("127.0.0.1", 8125, Rstatsd::Collector)
  EventMachine::start_server("127.0.0.1", 8126, Rstatsd::Server)
}<commit_msg>adding in instructions that get printed after EM starts<commit_after>require_relative 'server'
require_relative 'collector'

EventMachine::run {
  EventMachine::open_datagram_socket("127.0.0.1", 8125, Rstatsd::Collector)
  EventMachine::start_server("127.0.0.1", 8126, Rstatsd::Server)
  puts "http server running at http://localhost:8126/"
  puts "go there for more instructions"
}
{'fraction_non_alphanumeric': 0.13237639553429026, 'fraction_numerical': 0.07017543859649122, 'mean_word_length': 7.486486486486487, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '1167037', 'n_tokens_mistral': 230, 'n_tokens_neox': 208, 'n_words': 42}