<commit_before>REPORTER=dot

serve: node_modules
	@node_modules/serve/bin/serve -Sloj

test: node_modules
	@node_modules/mocha/bin/_mocha test/*.test.js \
		--reporter $(REPORTER) \
		--timeout 500 \
		--check-leaks \
		--bail

node_modules: *.json
	@packin install -Re\
		--meta deps.json,package.json,component.json \
		--folder node_modules

.PHONY: serve test<commit_msg>run readme examples with `make test`<commit_after>REPORTER=dot

serve: node_modules
	@node_modules/serve/bin/serve -Sloj

test: node_modules
	@sed -e "s/'setter-method'/'.\/'/" < Readme.md | jsmd
	@node_modules/mocha/bin/_mocha test/*.test.js \
		--reporter $(REPORTER) \
		--timeout 500 \
		--check-leaks \
		--bail

node_modules: *.json
	@packin install -Re\
		--meta deps.json,package.json,component.json \
		--folder node_modules

.PHONY: serve test
{'fraction_non_alphanumeric': 0.15217391304347827, 'fraction_numerical': 0.007246376811594203, 'mean_word_length': 3.295336787564767, 'pattern_counts': {'":': 0, '<': 4, '<?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': '4116243', 'n_tokens_mistral': 348, 'n_tokens_neox': 323, 'n_words': 63}