<commit_before>MOCHA_OPTS= --check-leaks
REPORTER = dot
VERSION = $(shell node -e 'console.log(require("./package.json").version)')
PACKAGE_NAME = $(shell node -e 'console.log(require("./package.json").name)')

all: build test

check: test

build:
	npm install

test: jshint test-unit

test-unit:
	@NODE_ENV=test ./node_modules/.bin/mocha \
	  --reporter $(REPORTER) \
	  $(MOCHA_OPTS)

jshint:
	@./node_modules/.bin/jshint index.js

package: clean test
	npm pack

clean:
	rm -f $(PACKAGE_NAME)*.tgz

.PHONY: test clean
<commit_msg>Add removing node_modules to clean target<commit_after>MOCHA_OPTS= --check-leaks
REPORTER = dot
VERSION = $(shell node -e 'console.log(require("./package.json").version)')
PACKAGE_NAME = $(shell node -e 'console.log(require("./package.json").name)')

all: build test

check: test

build:
	npm install

test: jshint test-unit

test-unit:
	@NODE_ENV=test ./node_modules/.bin/mocha \
	  --reporter $(REPORTER) \
	  $(MOCHA_OPTS)

jshint:
	@./node_modules/.bin/jshint index.js

package: clean test
	npm pack

clean:
	rm -rf node_modules
	rm -f $(PACKAGE_NAME)*.tgz

.PHONY: test clean

{'fraction_non_alphanumeric': 0.1554357592093441, 'fraction_numerical': 0.0, 'mean_word_length': 3.995515695067265, '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': '2379014', 'n_tokens_mistral': 444, 'n_tokens_neox': 427, 'n_words': 100}