<commit_before>test_project = docker-compose -p theatrics_test

.PHONY: test clean-test

build:
	docker-compose build

test: test.run
	$(test_project) exec importer make test
	$(test_project) exec api make test

test.run:
	$(test_project) up -d > test.run
	$(test_project) exec importer make migrate
	$(test_project) exec importer make install-test-deps
	$(test_project) exec api make install-test-deps

clean-test:
	$(test_project) down
	rm test.run<commit_msg>Rebuild test containers when creating them<commit_after>test_project = docker-compose -p theatrics_test

.PHONY: test clean-test

build:
	docker-compose build

test: test.run
	$(test_project) exec importer make test
	$(test_project) exec api make test

test.run:
	$(test_project) up -d --build > test.run
	$(test_project) exec importer make migrate
	$(test_project) exec importer make install-test-deps
	$(test_project) exec api make install-test-deps

clean-test:
	$(test_project) down
	rm test.run
{'fraction_non_alphanumeric': 0.09781477627471384, 'fraction_numerical': 0.0, 'mean_word_length': 4.901840490797546, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '1098093', 'n_tokens_mistral': 335, 'n_tokens_neox': 326, 'n_words': 99}