<commit_before>#!/usr/bin/env python

from pystatsd import Client, Server

sc = Client('rayners.org',8125)

sc.timing('python_test.time',500)
sc.increment('python_test.inc_int')
sc.decrement('python_test.decr_int')

srvr = Server(debug=True)
srvr.serve()<commit_msg>Changed test hostname to localhost so that test works out of the box.<commit_after>#!/usr/bin/env python

from pystatsd import Client, Server

sc = Client('localhost',8125)

sc.timing('python_test.time',500)
sc.increment('python_test.inc_int')
sc.decrement('python_test.decr_int')

srvr = Server(debug=True)
srvr.serve()
{'fraction_non_alphanumeric': 0.14334470989761092, 'fraction_numerical': 0.023890784982935155, 'mean_word_length': 6.826666666666667, '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': '2043459', 'n_tokens_mistral': 230, 'n_tokens_neox': 212, 'n_words': 41}