<commit_before>BINARY=build/ipfs-search
SOURCEDIR=.
SOURCES := $(shell find $(SOURCEDIR) -name '*.go')

.DEFAULT_GOAL: $(BINARY)

$(BINARY): $(SOURCES)
	go build -o ${BINARY} main.go

clean:
	rm -f ${BINARY}
	rm -f ${BINARY}.linux64

linux64: ${BINARY}.linux64

$(BINARY).linux64: $(SOURCES)
	env GOOS=linux GOARCH=amd64 go build -o ${BINARY}.linux64 main.go

vagrant: $(BINARY).linux64
	vagrant ssh -c "/vagrant/${BINARY}.linux64 ${ARGS}"
<commit_msg>Build locally with race detection.<commit_after>BINARY=build/ipfs-search
SOURCEDIR=.
SOURCES := $(shell find $(SOURCEDIR) -name '*.go')

.DEFAULT_GOAL: $(BINARY)

$(BINARY): $(SOURCES)
	go build -race -o ${BINARY} main.go

clean:
	rm -f ${BINARY}
	rm -f ${BINARY}.linux64

linux64: ${BINARY}.linux64

$(BINARY).linux64: $(SOURCES)
	env GOOS=linux GOARCH=amd64 go build -o ${BINARY}.linux64 main.go

vagrant: $(BINARY).linux64
	vagrant ssh -c "/vagrant/${BINARY}.linux64 ${ARGS}"

{'fraction_non_alphanumeric': 0.18689581095596133, 'fraction_numerical': 0.034371643394199784, 'mean_word_length': 4.825, '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': '5761448', 'n_tokens_mistral': 412, 'n_tokens_neox': 380, 'n_words': 91}