<commit_before>
#include <libws.h>
#include <libws_log.h>
#include <inttypes.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

void onmsg(ws_t ws, const char *msg, uint64_t len, int binary, void *arg)
{
	printf("Message: \"%s\"\n", msg);

	//ws_send_m
}

void onconnect(ws_t ws, void *arg)
{<commit_msg>Quit after first echo reply.<commit_after>
#include <libws.h>
#include <libws_log.h>
#include <inttypes.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

void onmsg(ws_t ws, const char *msg, uint64_t len, int binary, void *arg)
{
	printf("Message: \"%s\"\n", msg);

	ws_base_quit(ws_get_base(ws), 1);
}

void onconnect(ws_t ws, void *arg)
{
{'fraction_non_alphanumeric': 0.17787742899850523, 'fraction_numerical': 0.007473841554559043, 'mean_word_length': 5.146788990825688, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '7569393', 'n_tokens_mistral': 298, 'n_tokens_neox': 283, 'n_words': 73}