<commit_before>SHELL   := /usr/bin/env bash
NAME    ?= $(notdir $(CURDIR:a/%=%))
VERSION ?= $(shell sed -n 's/^version: *\(.*\)$$/\1/p' $(NAME).cabal)

default:

sdist:
	cabal sdist

candidate:
	curl \
 -i -X POST \
 -H "Content-Type: multipart/form-data"
 "file=@dist/$(NAME)-$(VERSION).tar.gz"
 http://hackage.haskell.org/packages/candidates/

upload:
	@echo "noop"<commit_msg>Candidate upload<commit_after>SHELL   := /usr/bin/env bash
NAME    ?= $(notdir $(CURDIR:a/%=%))
VERSION ?= $(shell sed -n 's/^version: *\(.*\)$$/\1/p' $(NAME).cabal)

CANDIDATE = $(realpath dist/$(NAME)-$(VERSION).tar.gz)

default:

sdist:
	cabal sdist

candidate:
	curl -X POST -H 'Content-Type: multipart/form-data' \
 --form package=@$(CANDIDATE) \
 --form press=submit \
 http://hackage.haskell.org/packages/candidates/

upload:
	@echo "noop"


{'fraction_non_alphanumeric': 0.2249093107617896, 'fraction_numerical': 0.0024183796856106408, 'mean_word_length': 3.625698324022346, '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': '1628679', 'n_tokens_mistral': 361, 'n_tokens_neox': 341, 'n_words': 65}