<commit_before>all: init dev

.PHONY: statics_fetch statics_fetch_force statics_clean clean init dev

staticfetcher.py:
	wget https://raw.github.com/nh2/staticfetcher/master/staticfetcher.py

statics_fetch: staticfetcher.py
	python statics.py fetch

statics_fetch_force: staticfetcher.py
	python statics.py fetch --force

statics_clean: staticfetcher.py
	python statics.py clean

clean: statics_clean
	rm -f staticfetcher.py

init:
	[ -f .statics_fetched ] || make statics_fetch_force
	touch .statics_fetched

dev: statics_fetch<commit_msg>Add npm installs to Makefile<commit_after>all: init dev

.PHONY: statics_fetch statics_fetch_force statics_clean clean init dev

staticfetcher.py:
	wget https://raw.github.com/nh2/staticfetcher/master/staticfetcher.py

statics_fetch: staticfetcher.py
	python statics.py fetch

statics_fetch_force: staticfetcher.py
	python statics.py fetch --force

statics_clean: staticfetcher.py
	python statics.py clean

clean: statics_clean
	rm -f staticfetcher.py

init:
	[ -f .statics_fetched ] || make statics_fetch_force
	touch .statics_fetched
	npm install sockjs
	npm install websocket

dev: statics_fetch
{'fraction_non_alphanumeric': 0.07205623901581722, 'fraction_numerical': 0.0017574692442882249, 'mean_word_length': 5.292817679558011, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4576199', 'n_tokens_mistral': 412, 'n_tokens_neox': 404, 'n_words': 95}