<commit_before>#include <stutter/server.h>
#include <stutter/log.h>
#include <stutter/handlers/base.h>

#include <iostream>
#include <unistd.h>

using namespace std;

class HelloWorldHandler : public BaseHandler {
public:
	virtual void handle(http::Connection &cx, http::Request &req, http::Reply &reply)
	{
		reply.add_body("hello\r\n", 7);
	}
};

int
main(int argc, char *argv[])
{
	(void)argc;
	(void)argv;

	Server s("127.0.0.1", 8888);
	s.router().add("/hello", new HelloWorldHandler());

	s.start();

	return 0;
}<commit_msg>Enable debug logs for helloworld test<commit_after>#include <stutter/server.h>
#include <stutter/log.h>
#include <stutter/handlers/base.h>

#include <iostream>
#include <unistd.h>

using namespace std;

class HelloWorldHandler : public BaseHandler {
public:
	virtual void handle(http::Connection &cx, http::Request &req, http::Reply &reply)
	{
		reply.add_body("hello\r\n", 7);
	}
};

int
main(int argc, char *argv[])
{
	(void)argc;
	(void)argv;

	Log::setup("/dev/stderr", Log::TRACE);

	Server s("127.0.0.1", 8888);
	s.router().add("/hello", new HelloWorldHandler());

	s.start();

	return 0;
}
{'fraction_non_alphanumeric': 0.18278615794143743, 'fraction_numerical': 0.02129547471162378, 'mean_word_length': 5.130434782608695, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '7351338', 'n_tokens_mistral': 449, 'n_tokens_neox': 426, 'n_words': 95}