<commit_before>all: docker_build run

docker_build:
	docker build -t hiperfit/recipes .

run:
	docker run -itp 8888:8888 \
		-v $(PWD)/notebooks:/home/jovyan/work \
	 	-v $(PWD)/.jupyter/:/home/jovyan/.jupyter/ \
		hiperfit/recipes<commit_msg>use a variable instead of magic constant for port<commit_after>PORT=8888

all: docker_build run

docker_build:
	docker build -t hiperfit/recipes .

run:
	docker run -itp $(PORT):$(PORT) \
		-v $(PWD)/notebooks:/home/jovyan/work \
	 	-v $(PWD)/.jupyter/:/home/jovyan/.jupyter/ \
		hiperfit/recipes
{'fraction_non_alphanumeric': 0.150278293135436, 'fraction_numerical': 0.022263450834879406, 'mean_word_length': 3.53781512605042, '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': '6896703', 'n_tokens_mistral': 251, 'n_tokens_neox': 225, 'n_words': 44}