<commit_before>ENABLE_NEW_APP ?= 1

build: assets/bin-data.go
	go build -o build/florence

debug:
	cd assets; go-bindata -ignore=node_modules -debug -o bin-data.go -pkg assets ../dist/...
	go build -o build/florence
	HUMAN_LOG=1 ENABLE_NEW_APP=${ENABLE_NEW_APP} ./build/florence

node-modules:
	cd src; npm install
	cd src/legacy; npm install

watch-src:
	make node-modules
	cd src; npm run watch

assets/bin-data.go:
	go generate ./...

.PHONY: build debug watch-src<commit_msg>Add test target to Makefile<commit_after>ENABLE_NEW_APP ?= 1

build: assets/bin-data.go
	go build -o build/florence

debug:
	cd assets; go-bindata -ignore=node_modules -debug -o bin-data.go -pkg assets ../dist/...
	go build -o build/florence
	HUMAN_LOG=1 ENABLE_NEW_APP=${ENABLE_NEW_APP} ./build/florence

test:
	go test

node-modules:
	cd src; npm install
	cd src/legacy; npm install

watch-src:
	make node-modules
	cd src; npm run watch

assets/bin-data.go:
	go generate ./...

.PHONY: build debug test watch-src
{'fraction_non_alphanumeric': 0.11983887210473314, 'fraction_numerical': 0.004028197381671702, 'mean_word_length': 3.538812785388128, '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': '2379147', 'n_tokens_mistral': 391, 'n_tokens_neox': 376, 'n_words': 107}