<commit_before>OS		= $(shell uname -s)
KERNEL		= $(shell uname -r)
ifeq ($(OS),Linux)
PKGER		= $(shell cat /etc/redhat-release 2> /dev/null)
ifeq ($(PKGER),)
PKGER		= debuild
PKGERDIR	= deb
else
PKGER		= rpmbuild
PKGERDIR	= rpm
endif
endif
ifeq ($(OS),SunOS)
PKGER		= make
PKGERDIR	= solaris
DISTRO		= $(shell awk '{ if (NR==1) print $$1; };' /etc/release)
endif

REPO		?= riak
APP		 = $(shell echo "$(REPO)" | sed -e 's/_/-/g')
# Assumes CURDIR is .../$(APP)/package/$(APP)/
RIAK_PATH	?= ../..

RIAK_TAG        ?= $(shell git describe --tags)
REVISION	?= $(shell echo $(RIAK_TAG) | sed -e 's/^$(REPO)-//' | tr -d -)
RELEASE		?= 

$(APP)-$(REVISION).tar.gz: ../$(RIAK_TAG).tar.gz
	ln -s $< $@<commit_msg>Don't remove hyphens, change them to periods<commit_after>OS		= $(shell uname -s)
KERNEL		= $(shell uname -r)
ifeq ($(OS),Linux)
PKGER		= $(shell cat /etc/redhat-release 2> /dev/null)
ifeq ($(PKGER),)
PKGER		= debuild
PKGERDIR	= deb
else
PKGER		= rpmbuild
PKGERDIR	= rpm
endif
endif
ifeq ($(OS),SunOS)
PKGER		= make
PKGERDIR	= solaris
DISTRO		= $(shell awk '{ if (NR==1) print $$1; };' /etc/release)
endif

REPO		?= riak
APP		 = $(shell echo "$(REPO)" | sed -e 's/_/-/g')
# Assumes CURDIR is .../$(APP)/package/$(APP)/
RIAK_PATH	?= ../..

RIAK_TAG        ?= $(shell git describe --tags)
REVISION	?= $(shell echo $(RIAK_TAG) | sed -e 's/^$(REPO)-//' | tr - .)
RELEASE		?= 

$(APP)-$(REVISION).tar.gz: ../$(RIAK_TAG).tar.gz
	ln -s $< $@
{'fraction_non_alphanumeric': 0.2239221140472879, 'fraction_numerical': 0.004172461752433936, 'mean_word_length': 3.1710144927536232, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1498051', 'n_tokens_mistral': 670, 'n_tokens_neox': 622, 'n_words': 159}