<commit_before>ALL_TESTS = $(shell find test/ -name '*.test.js')
ALL_INTEGRATION = $(shell find test/ -name '*.integration.js')

all:
	node-gyp configure build

clean:
	node-gyp clean

run-tests:
	@./node_modules/.bin/mocha \
		-t 2000 \
		-s 2400 \
		$(TESTFLAGS) \
		$(TESTS)

run-integrationtests:
	@./node_modules/.bin/mocha \
		-t 5000 \
		-s 6000 \
		$(TESTFLAGS) \
		$(TESTS)

test:
	@$(MAKE) NODE_TLS_REJECT_UNAUTHORIZED=0 NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests

integrationtest:<commit_msg>Increased test time limit to 5000ms<commit_after>ALL_TESTS = $(shell find test/ -name '*.test.js')
ALL_INTEGRATION = $(shell find test/ -name '*.integration.js')

all:
	node-gyp configure build

clean:
	node-gyp clean

run-tests:
	@./node_modules/.bin/mocha \
		-t 5000 \
		-s 2400 \
		$(TESTFLAGS) \
		$(TESTS)

run-integrationtests:
	@./node_modules/.bin/mocha \
		-t 5000 \
		-s 6000 \
		$(TESTFLAGS) \
		$(TESTS)

test:
	@$(MAKE) NODE_TLS_REJECT_UNAUTHORIZED=0 NODE_PATH=lib TESTS="$(ALL_TESTS)" run-tests

integrationtest:
{'fraction_non_alphanumeric': 0.16279069767441862, 'fraction_numerical': 0.03682170542635659, 'mean_word_length': 3.4525862068965516, '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': '7328885', 'n_tokens_mistral': 485, 'n_tokens_neox': 425, 'n_words': 88}