<commit_before>all: deps compile

deps: deps/erlangsp

deps/erlangsp:
	@./rebar get-deps

compile:
	@./rebar compile

dialyze: all
	@dialyzer -Wrace_conditions ebin

gc: crash
	@echo 'Removing all emacs backup files'
	@find . -name "*~" -exec rm -f {} \;
	@rm -f src/*.P
	@rm -f src/*.beam

rel: all
	@echo 'Generating erlangsp release'
	@(cd rel; ../rebar generate)

clean: gc
	@./rebar clean

crash:
	@find . -name "erl_crash.dump" -exec rm -f {} \;

relclean: crash
	@rm -rf rel/erlangsp

realclean: clean relclean
	@./rebar del-deps
	@rm -rf deps/*

test: all
	make ct

eunit:
	@make test

ct: <commit_msg>Eliminate 'make eunit'<commit_after>all: deps compile

deps: deps/erlangsp

deps/erlangsp:
	@./rebar get-deps

compile:
	@./rebar compile

dialyze: all
	@dialyzer -Wrace_conditions ebin

gc: crash
	@echo 'Removing all emacs backup files'
	@find . -name "*~" -exec rm -f {} \;
	@rm -f src/*.P
	@rm -f src/*.beam

rel: all
	@echo 'Generating erlangsp release'
	@(cd rel; ../rebar generate)

clean: gc
	@./rebar clean

crash:
	@find . -name "erl_crash.dump" -exec rm -f {} \;

relclean: crash
	@rm -rf rel/erlangsp

realclean: clean relclean
	@./rebar del-deps
	@rm -rf deps/*

test: all
	make ct

ct: 
{'fraction_non_alphanumeric': 0.15053763440860216, 'fraction_numerical': 0.0, 'mean_word_length': 3.0604026845637584, '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': '542961', 'n_tokens_mistral': 541, 'n_tokens_neox': 528, 'n_words': 153}