<commit_before>PYTHONS    ?= "python2.7 pypy"

venv-%:
	test -d venv-${*} || virtualenv -p ${*} venv-${*}
	venv-${*}/bin/pip install -Ur requirements.txt
	touch venv-${*}/bin/activate

devbuild-%: venv-%
	#venv-${*}/bin/python setup.py install
	#venv-${*}/bin/pip uninstall iktomi
	venv-${*}/bin/pip install --upgrade .

testone-%: devbuild-%
	venv-${*}/bin/py.test $(name) -q -r fEsxXw --strict

test-%: devbuild-%
	venv-${*}/bin/py.test tests -q -r fEsxXw --strict

coverage-%: devbuild-%
	venv-${*}/bin/py.test tests --cov-report=term-missing --cov=venv-${*}/lib/${*}/site-packages/iktomi | sed -e "s/^venv-${*}\\/lib\\/${*}\\/site-packages\\///"
<commit_msg>fix for Makefile, removing testone<commit_after>PYTHONS    ?= "python2.7 pypy"
name       ?= "tests"

venv-%:
	test -d venv-${*} || virtualenv -p ${*} venv-${*}
	venv-${*}/bin/pip install -Ur requirements.txt
	touch venv-${*}/bin/activate

devbuild-%: venv-%
	#venv-${*}/bin/python setup.py install
	#venv-${*}/bin/pip uninstall iktomi
	venv-${*}/bin/pip install --upgrade .


test-%: devbuild-%
	venv-${*}/bin/py.test $(name) -q -r fEsxXw --strict

coverage-%: devbuild-%
	venv-${*}/bin/py.test tests --cov-report=term-missing --cov=venv-${*}/lib/${*}/site-packages/iktomi | sed -e "s/^venv-${*}\\/lib\\/${*}\\/site-packages\\///"

{'fraction_non_alphanumeric': 0.26738794435857804, 'fraction_numerical': 0.0030911901081916537, 'mean_word_length': 3.137380191693291, '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': '839510', 'n_tokens_mistral': 563, 'n_tokens_neox': 553, 'n_words': 102}