<commit_before>
install:
	npm install
	cd test-server; npm install
	cd test-server/helpers/websocket-test-server; npm install

test:
	test-server/node_modules/.bin/mocha --reporter list tests/server/*.js
	test-server/node_modules/.bin/mocha --ignore-leaks --reporter list tests/run-browser-tests.js

run:
	@node test-server

publish:
	rm -Rf .dist
	mkdir .dist
	cp -Rf * .dist/
	cp -Rf .*ignore .dist/
	rm -Rf .dist/node_modules
	rm -Rf .dist/test-server/node_modules
	rm -Rf .dist/test-server/helpers/*/node_modules
#	cd .dist; npm publish

.PHONY: install test run publish
<commit_msg>enable publish<commit_after>
install:
	npm install
	cd test-server; npm install
	cd test-server/helpers/websocket-test-server; npm install

test:
	test-server/node_modules/.bin/mocha --reporter list tests/server/*.js
	test-server/node_modules/.bin/mocha --ignore-leaks --reporter list tests/run-browser-tests.js

run:
	@node test-server

publish:
	rm -Rf .dist
	mkdir .dist
	cp -Rf * .dist/
	cp -Rf .*ignore .dist/
	rm -Rf .dist/node_modules
	rm -Rf .dist/test-server/node_modules
	rm -Rf .dist/test-server/helpers/*/node_modules
	cd .dist; npm publish

.PHONY: install test run publish

{'fraction_non_alphanumeric': 0.12691652470187392, 'fraction_numerical': 0.0, 'mean_word_length': 3.3843283582089554, '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': '3759163', 'n_tokens_mistral': 457, 'n_tokens_neox': 444, 'n_words': 113}