<commit_before>browserify = node_modules/browserify/bin/cmd.js
uglify = node_modules/uglify-js/bin/uglifyjs
jshint = node_modules/jshint/bin/jshint
mocha = node_modules/mocha/bin/mocha
coveralls = node_modules/coveralls/bin/coveralls.js

build:
	mkdir -p build
	$(browserify) index.js -o build/formula.js -s Formula
	$(uglify) build/formula.js -o build/formula.min.js

test:
	$(mocha) -u tdd -R mocha-spec-cov -r blanket

test-watch:
	$(mocha) -u tdd -R min -w

lint:
	jshint lib/*.js

coveralls:
	$(mocha) -r blanket -u tdd -R mocha-lcov-reporter | $(coveralls)

coverage:
	$(mocha) -u tdd -R html-cov -r blanket > coverage-report.html

watch:
	$(mocha) -u tdd -R mocha-spec-cov -r blanket -w

clean:
	rm -rf build/
	rm -f coverage-report.html

.PHONY: build clean coverage test watch
<commit_msg>suppress make commands<commit_after>browserify = node_modules/browserify/bin/cmd.js
uglify = node_modules/uglify-js/bin/uglifyjs
jshint = node_modules/jshint/bin/jshint
mocha = node_modules/mocha/bin/mocha
coveralls = node_modules/coveralls/bin/coveralls.js

build:
	@mkdir -p build
	@$(browserify) index.js -o build/formula.js -s Formula
	@$(uglify) build/formula.js -o build/formula.min.js

test:
	@$(mocha) -u tdd -R mocha-spec-cov -r blanket

test-watch:
	@$(mocha) -u tdd -R min -w

lint:
	@jshint lib/*.js

coveralls:
	@$(mocha) -r blanket -u tdd -R mocha-lcov-reporter | $(coveralls)

coverage:
	@$(mocha) -u tdd -R html-cov -r blanket > coverage-report.html

watch:
	@$(mocha) -u tdd -R mocha-spec-cov -r blanket -w

clean:
	@rm -rf build/
	@rm -f coverage-report.html

.PHONY: build clean coverage test watch

{'fraction_non_alphanumeric': 0.14047029702970298, 'fraction_numerical': 0.0, 'mean_word_length': 3.63323782234957, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2505932', 'n_tokens_mistral': 691, 'n_tokens_neox': 666, 'n_words': 166}