<commit_before>clean:
	@find . -name "*.pyc" -delete
	
dependencies: nose coverage selenium ludibrio flask

nose:
	@python -c 'import nose' 2>/dev/null || pip install nose

coverage:
	@python -c 'import coverage' 2>/dev/null || pip install coverage

selenium:
	@python -c 'import selenium' 2>/dev/null || pip install selenium

ludibrio:
	@python -c 'import ludibrio' 2>/dev/null || pip install ludibrio

flask:
	@python -c 'import flask' 2>/dev/null || pip install flask


unit: dependencies clean
	@echo "Running unit tests..."
	nosetests --nocapture --verbosity=2 --with-coverage --cover-erase --cover-inclusive --cover-package=splinter tests/unit


functional: dependencies clean
	@echo "Running functional tests..."
	python tests/functional/fake_webapp.py &
	nosetests --nocapture --verbosity=2 --with-coverage --cover-erase --cover-inclusive --cover-package=splinter tests/functional
	kill -9 `ps aux | grep 'python tests/functional/fake_webapp.py' | grep -v grep | awk '{print $$2}'`


test: unit functional
	@echo "Running all tests..."
	python tests/functional/fake_webapp.py &
	nosetests --nocapture --verbosity=2 --with-coverage --cover-erase --cover-inclusive --cover-package=splinter tests
	kill -9 `ps aux | grep 'python tests/functional/fake_webapp.py' | grep -v grep | awk '{print $$2}'`
<commit_msg>removed mistake about the make test<commit_after>clean:
	@find . -name "*.pyc" -delete
	
dependencies: nose coverage selenium ludibrio flask

nose:
	@python -c 'import nose' 2>/dev/null || pip install nose

coverage:
	@python -c 'import coverage' 2>/dev/null || pip install coverage

selenium:
	@python -c 'import selenium' 2>/dev/null || pip install selenium

ludibrio:
	@python -c 'import ludibrio' 2>/dev/null || pip install ludibrio

flask:
	@python -c 'import flask' 2>/dev/null || pip install flask


unit: dependencies clean
	@echo "Running unit tests..."
	nosetests --nocapture --verbosity=2 --with-coverage --cover-erase --cover-inclusive --cover-package=splinter tests/unit


functional: dependencies clean
	@echo "Running functional tests..."
	python tests/functional/fake_webapp.py &
	nosetests --nocapture --verbosity=2 --with-coverage --cover-erase --cover-inclusive --cover-package=splinter tests/functional
	kill -9 `ps aux | grep 'python tests/functional/fake_webapp.py' | grep -v grep | awk '{print $$2}'`


test:
	@echo "Running all tests..."
	python tests/functional/fake_webapp.py &
	nosetests --nocapture --verbosity=2 --with-coverage --cover-erase --cover-inclusive --cover-package=splinter tests
	kill -9 `ps aux | grep 'python tests/functional/fake_webapp.py' | grep -v grep | awk '{print $$2}'`

{'fraction_non_alphanumeric': 0.13960546282245828, 'fraction_numerical': 0.009104704097116844, 'mean_word_length': 3.8833333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '5535239', 'n_tokens_mistral': 906, 'n_tokens_neox': 852, 'n_words': 265}