<commit_before>
database:
	createdb school-demo

virtualenv:
	virtualenv .boarding-school

install-packages:
	.boarding-school/bin/pip install -e ../..
	.boarding-school/bin/pip install psycopg2

load-data:
	./manage.py migrate
	./manage.py loaddata user
	./manage.py loaddata schools
	./manage.py loaddata --schema hamilton hamilton
	./manage.py loaddata --schema naracoorte_hs naracoorte_hs

clean:
	dropdb school-demo || true
	rm -rf .boarding-school

runserver:
	./manage.py runserver ${PORT}

test:
	./manage.py test

all: database virtualenv install-packages load-data

remigrate:
	./manage.py migrate boardinghouse 0001

test-for-coverage: all remigrate load-data<commit_msg>Make tests migrate back to zero.<commit_after>
database:
	createdb school-demo

virtualenv:
	virtualenv .boarding-school

install-packages:
	.boarding-school/bin/pip install -e ../..
	.boarding-school/bin/pip install psycopg2

load-data:
	./manage.py migrate
	./manage.py loaddata user
	./manage.py loaddata schools
	./manage.py loaddata --schema hamilton hamilton
	./manage.py loaddata --schema naracoorte_hs naracoorte_hs

clean:
	dropdb school-demo || true
	rm -rf .boarding-school

runserver:
	./manage.py runserver ${PORT}

test:
	./manage.py test

all: database virtualenv install-packages load-data

remigrate:
	./manage.py migrate boardinghouse zero

test-for-coverage: all remigrate load-data
{'fraction_non_alphanumeric': 0.10773680404916848, 'fraction_numerical': 0.004338394793926247, 'mean_word_length': 3.7889273356401385, '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': '4917715', 'n_tokens_mistral': 511, 'n_tokens_neox': 458, 'n_words': 126}