<commit_before>SRC=achilles

sense: pep8 pyflakes test

test: test_python test_js

test_python:
	PYTHONPATH=. DJANGO_SETTINGS_MODULE=test_settings  \
    coverage run --source=achilles --branch            \
                 `which django-admin.py` test

test_js:
	phantomjs $(SRC)/tests/run-qunit.js $(SRC)/tests/test.html?coverage=true

pep8:
	pep8 $(SRC)

pyflakes:
	pyflakes $(SRC)

coverage: test_python
	coverage report -m

clean:
	coverage erase
	find . -name '*.pyc' -delete
	find . -name __pycache__ -delete
	rm -rf .coverage dist *.egg build<commit_msg>Added doc command to Makefile<commit_after>SRC=achilles

sense: pep8 pyflakes test

test: test_python test_js

test_python:
	PYTHONPATH=. DJANGO_SETTINGS_MODULE=test_settings  \
    coverage run --source=achilles --branch            \
                 `which django-admin.py` test

test_js:
	phantomjs $(SRC)/tests/run-qunit.js $(SRC)/tests/test.html?coverage=true

pep8:
	pep8 $(SRC)

pyflakes:
	pyflakes $(SRC)

coverage: test_python
	coverage report -m

doc:
	cd doc; make html

clean:
	coverage erase
	find . -name '*.pyc' -delete
	find . -name __pycache__ -delete
	rm -rf .coverage dist *.egg build
	cd doc; make clean

.PHONY: doc
{'fraction_non_alphanumeric': 0.10767946577629382, 'fraction_numerical': 0.005008347245409015, 'mean_word_length': 3.2669039145907472, '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': '4896196', 'n_tokens_mistral': 458, 'n_tokens_neox': 449, 'n_words': 114}