<commit_before>.if !defined(TOPDIR)
.error "TOPDIR must be defined."
.endif

.if defined(NETWORK_TEST)
.if !defined(SKIP_NETWORK_TESTS)
TEST=${NETWORK_TEST}
.endif
.endif

.if defined(TEST)
.if !defined(SKIP_TESTS)
PROG_CXX=${TEST}
SRCS+=${TEST}.cc

.if !target(regress)
regress: ${PROG_CXX}
	${.OBJDIR}/${PROG_CXX}
.endif
.endif
.endif

.if !target(regress)
regress: ${PROG_CXX}
.endif

.PHONY: regress

CFLAGS+=-I${TOPDIR}
.if defined(NDEBUG)
CFLAGS+=-DNDEBUG=1
.else
CFLAGS+=-g
.endif

CFLAGS+=-W -Wall -Werror
CFLAGS+=-Wno-system-headers
#CFLAGS+=-Wno-unused-parameter
CFLAGS+=-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts
#CFLAGS+=-Winline<commit_msg>Quote paths which could include spaces.<commit_after>.if !defined(TOPDIR)
.error "TOPDIR must be defined."
.endif

.if defined(NETWORK_TEST)
.if !defined(SKIP_NETWORK_TESTS)
TEST=${NETWORK_TEST}
.endif
.endif

.if defined(TEST)
.if !defined(SKIP_TESTS)
PROG_CXX=${TEST}
SRCS+=${TEST}.cc

.if !target(regress)
regress: ${PROG_CXX}
	"${.OBJDIR}/${PROG_CXX}"
.endif
.endif
.endif

.if !target(regress)
regress: ${PROG_CXX}
.endif

.PHONY: regress

CFLAGS+=-I"${TOPDIR}"
.if defined(NDEBUG)
CFLAGS+=-DNDEBUG=1
.else
CFLAGS+=-g
.endif

CFLAGS+=-W -Wall -Werror
CFLAGS+=-Wno-system-headers
#CFLAGS+=-Wno-unused-parameter
CFLAGS+=-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts
#CFLAGS+=-Winline
{'fraction_non_alphanumeric': 0.17376830892143807, 'fraction_numerical': 0.0013315579227696406, 'mean_word_length': 5.236514522821577, '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': '3977709', 'n_tokens_mistral': 633, 'n_tokens_neox': 627, 'n_words': 120}