<commit_before>test:
	rm -rf test_data/.materials
	rm -rf test_data/corrupted
	mkdir test_data/.materials
	cp test_data/projects test_data/.materials
	cp test_data/.user test_data/.materials
	mkdir -p test_data/corrupted/.materials
	cp test_data/projects_corrupted test_data/corrupted/.materials/projects
	go test -v

fmt:
	go fmt
	(cd wsmaterials; go fmt)
	(cd materials; go fmt)
	(cd site; go fmt)
	(cd desktop; go fmt)<commit_msg>Change Makefile to use a for loop rather than listing each directory individually.<commit_after>GODIRS = . wsmaterials materials site desktop
test:
	rm -rf test_data/.materials
	rm -rf test_data/corrupted
	mkdir test_data/.materials
	cp test_data/projects test_data/.materials
	cp test_data/.user test_data/.materials
	mkdir -p test_data/corrupted/.materials
	cp test_data/projects_corrupted test_data/corrupted/.materials/projects
	go test -v

fmt:
	-for d in $(GODIRS); do (cd $$d; go fmt); done
{'fraction_non_alphanumeric': 0.09032258064516129, 'fraction_numerical': 0.0, 'mean_word_length': 4.444444444444445, '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': '3880960', 'n_tokens_mistral': 327, 'n_tokens_neox': 313, 'n_words': 94}