<commit_before>MIX_BIN ?= $(shell which mix)

all: build
build: deps
	mkdir -p bin
	$(MIX_BIN) escript.build
	mv braise bin
deps:
	$(MIX_BIN) deps.get
clean:
	rm -rf ./bin/braise ./_build
samples: build
	./bin/braise --file examples/source/v3/patients.json --output examples/output
	./bin/braise --file examples/source/v3/medication_verification.json --output examples/output
	./bin/braise --file examples/source/v20150918/sponsor_api.json --output examples/output
test: build
	$(MIX_BIN) test --no-start
spec: test
toolchest: build
	cp ./bin/braise ~/src/toolchest/bin
<commit_msg>Fix  Makefile rule<commit_after>MIX_BIN ?= $(shell which mix)

all: build
build: deps
	mkdir -p bin
	$(MIX_BIN) escript.build
	mv braise bin
deps: mix.exs mix.lock
	$(MIX_BIN) deps.get
clean:
	rm -rf ./bin/braise ./_build
samples: build
	./bin/braise --file examples/source/v3/patients.json --output examples/output
	./bin/braise --file examples/source/v3/medication_verification.json --output examples/output
	./bin/braise --file examples/source/v20150918/sponsor_api.json --output examples/output
test: build
	$(MIX_BIN) test --no-start
spec: test
toolchest: build
	cp ./bin/braise ~/src/toolchest/bin

{'fraction_non_alphanumeric': 0.13659359190556492, 'fraction_numerical': 0.016863406408094434, 'mean_word_length': 3.8252032520325203, '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': '7495121', 'n_tokens_mistral': 458, 'n_tokens_neox': 433, 'n_words': 110}