<commit_before>PHANTOMJS=$(CURDIR)/node_modules/.bin/mocha-phantomjs

.PHONY : test clean test-py test-js

default: coverage

test-py:
	python test/runtests.py

test-js: node_modules
	$(PHANTOMJS) -R tap test/tests.html

test: test-js test-py

node_modules: package.json
	npm install

coverage: coverage-js coverage-py

coverage-py:
	coverage run test/runtests.py --with-xunit && \
		coverage xml --omit="admin.py,*.virtualenvs/*,./test/*"

coverage-js:
	$(PHANTOMJS) -R xunit test/tests.html > mochatests.xml

coverage-py-html:
	[ -d htmlcov ] || rm -rf htmlcov
	coverage run test/runtests.py && \
		coverage html --omit="admin.py,*.virtualenvs/*,./test/*"

clean:
	find . -name '*.pyc' | xargs rm -f
<commit_msg>Make Makefile Make Magnificient Monuments Morrectly ;)<commit_after>PHANTOMJS=$(CURDIR)/node_modules/.bin/mocha-phantomjs

.PHONY : test clean test-py test-js coverage coverage-py coverage-js coverage-py-html default

default: coverage

test-py:
	python test/runtests.py

test-js: node_modules
	$(PHANTOMJS) -R tap test/tests.html

test: test-js test-py

node_modules: package.json
	npm install

coverage: coverage-js coverage-py

coverage-py:
	coverage run test/runtests.py --with-xunit && \
		coverage xml --omit="admin.py,*.virtualenvs/*,./test/*"

coverage-js: node_modules
	$(PHANTOMJS) -R xunit test/tests.html > mochatests.xml

coverage-py-html:
	[ -d htmlcov ] || rm -rf htmlcov
	coverage run test/runtests.py && \
		coverage html --omit="admin.py,*.virtualenvs/*,./test/*"

clean:
	find . -name '*.pyc' | xargs rm -f

{'fraction_non_alphanumeric': 0.14935064935064934, 'fraction_numerical': 0.0, 'mean_word_length': 3.7708978328173375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '3236657', 'n_tokens_mistral': 600, 'n_tokens_neox': 592, 'n_words': 132}