<commit_before>FUNC_TEST_DIR='test/functional'
UNIT_TEST_DIR='test/unit'

NOSETESTS?='nosetests'

set_settings:
	cp -f config/settings.py.sample config/settings.py

test_func: set_settings
	${NOSETESTS} -w ${FUNC_TEST_DIR}

test_unit: set_settings
	${NOSETESTS} -w ${UNIT_TEST_DIR}

test: set_settings test_func test_unit

clean:
	find . -name '__pycache__' -exec rm -rf {} +
	find . -name '*.pyc' -exec rm -f {} +
	find . -name '*.pyo' -exec rm -f {} +
	find . -name '*~' -exec rm -f {} +
	find . -name '._*' -exec rm -f {} +

clean_env: clean
	rm -r bin include lib local man<commit_msg>updated clean_env rule so it does not delete actual source code in lib folder<commit_after>FUNC_TEST_DIR='test/functional'
UNIT_TEST_DIR='test/unit'

NOSETESTS?='nosetests'

set_settings:
	cp -f config/settings.py.sample config/settings.py

test_func: set_settings
	${NOSETESTS} -w ${FUNC_TEST_DIR}

test_unit: set_settings
	${NOSETESTS} -w ${UNIT_TEST_DIR}

test: set_settings test_func test_unit

clean:
	find . -name '__pycache__' -exec rm -rf {} +
	find . -name '*.pyc' -exec rm -f {} +
	find . -name '*.pyo' -exec rm -f {} +
	find . -name '*~' -exec rm -f {} +
	find . -name '._*' -exec rm -f {} +

clean_env: clean
	rm -r bin include lib/python?.? local man
{'fraction_non_alphanumeric': 0.15495207667731628, 'fraction_numerical': 0.0, 'mean_word_length': 3.675373134328358, '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': '3531291', 'n_tokens_mistral': 500, 'n_tokens_neox': 495, 'n_words': 132}