<commit_before>.PHONY: all re clean build run detach test push images images-push images-pull

REPOSITORY := $(if $(REPOSITORY),$(REPOSITORY),'grounds')
TAG        := $(if $(TAG),$(TAG),'latest')

compose := REPOSITORY=$(REPOSITORY) docker-compose -p groundsexec

all: detach

re: build clean all

clean:
	$(compose) kill
	$(compose) rm --force

build:
	$(compose) build server

run: build
	$(compose) up

detach:
	$(compose) up -d

test: build
	$(compose) run --rm server npm test

push:
	scripts/push.sh $(REPOSITORY) $(TAG)

images:<commit_msg>remove rm options for make test<commit_after>.PHONY: all re clean build run detach test push images images-push images-pull

REPOSITORY := $(if $(REPOSITORY),$(REPOSITORY),'grounds')
TAG        := $(if $(TAG),$(TAG),'latest')

compose := REPOSITORY=$(REPOSITORY) docker-compose -p groundsexec

all: detach

re: build clean all

clean:
	$(compose) kill
	$(compose) rm --force

build:
	$(compose) build server

run: build
	$(compose) up

detach:
	$(compose) up -d

test: build
	$(compose) run server npm test

push:
	scripts/push.sh $(REPOSITORY) $(TAG)

images:
{'fraction_non_alphanumeric': 0.15176151761517614, 'fraction_numerical': 0.0, 'mean_word_length': 4.512437810945274, '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': '5459424', 'n_tokens_mistral': 416, 'n_tokens_neox': 405, 'n_words': 123}