<commit_before>#undef NDEBUG
#ifndef _minunit_h
#define _minunit_h

#include <stdio.h>
#include <stdlib.h>
#include "dbg.h"

#define mu_start_suite() char *message = NULL;

#define mu_assert(test, message) if (!(test)) { log_error(message); return message; }
#define mu_run_test(test) debug("\n-----%s", " " #test); \
	message = test(); tests_run++; if (message) return message;

#define RUN_TESTS(name) int main(int argc, char *argv[]) {\
	argc = 1; \
	debug("----- RUNNING: %s", argv[0]);\
		printf("----\nRUNNING: %s\n", argv[0]);\
		char *result = name();\
		if (result != 0) {\
			printf("FAILED: %s\n", result);\
		} else {\
			printf("ALL TESTS PASSED\n");\
		}\
	printf("Tests run: %d\n", tests_run);\
		exit(result != 0);\
}

int tests_run;

#endif<commit_msg>Fixed typo<commit_after>#undef NDEBUG
#ifndef _minunit_h
#define _minunit_h

#include <stdio.h>
#include <stdlib.h>
#include "dbg.h"

#define mu_suite_start() char *message = NULL;

#define mu_assert(test, message) if (!(test)) { log_err(message); return message; }
#define mu_run_test(test) debug("\n-----%s", " " #test); \
	message = test(); tests_run++; if (message) return message;

#define RUN_TESTS(name) int main(int argc, char *argv[]) {\
	argc = 1; \
	debug("----- RUNNING: %s", argv[0]);\
		printf("----\nRUNNING: %s\n", argv[0]);\
		char *result = name();\
		if (result != 0) {\
			printf("FAILED: %s\n", result);\
		} else {\
			printf("ALL TESTS PASSED\n");\
		}\
	printf("Tests run: %d\n", tests_run);\
		exit(result != 0);\
}

int tests_run;

#endif
{'fraction_non_alphanumeric': 0.22048271363339855, 'fraction_numerical': 0.006523157208088715, 'mean_word_length': 3.9166666666666665, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '6151733', 'n_tokens_mistral': 627, 'n_tokens_neox': 594, 'n_words': 148}