<commit_before>build: configure
	$(MAKE) -f Makefile.directory build

rebuild: configure
	$(MAKE) -f Makefile.directory rebuild

build_missing: configure
	$(MAKE) -f Makefile.directory build_missing

clean: configure
	$(MAKE) -f Makefile.directory clean

test: configure
	$(MAKE) -f Makefile.directory test

configure:
	for directory in `find . -type d ! -path '*/rapidcheck*' ! -path '*/.*' ! -path '.'` ; do \
		cat Makefile.directory > "$$directory/Makefile" ; \
	done ; \
	for mainfile in `find . -name main.cpp ! -path '*/rapidcheck/*'` ; do \
		maindir=$$(echo "$$mainfile" | rev | cut -d/ -f 2- | rev) ; \
		rapidcheck_relpath=$$(echo "$$mainfile" | rev | cut -d/ -f 2- | rev | sed 's/[^\/]\+/\\\.\\\./g' | cut -d/ -f 2- | sed 's/\//\\\//g') ; \
		cat Makefile.project | sed "s/RAPIDCHECK_PATH/$$rapidcheck_relpath\/rapidcheck/g" > "$$maindir/Makefile" ; \
	done
<commit_msg>`make configure` creates algos.txt if the file is missing<commit_after>build: configure
	$(MAKE) -f Makefile.directory build

rebuild: configure
	$(MAKE) -f Makefile.directory rebuild

build_missing: configure
	$(MAKE) -f Makefile.directory build_missing

clean: configure
	$(MAKE) -f Makefile.directory clean

test: configure
	$(MAKE) -f Makefile.directory test

configure:
	for directory in `find . -type d ! -path '*/rapidcheck*' ! -path '*/.*' ! -path '.'` ; do \
		cat Makefile.directory > "$$directory/Makefile" ; \
	done ; \
	for mainfile in `find . -name main.cpp ! -path '*/rapidcheck/*'` ; do \
		maindir=$$(echo "$$mainfile" | rev | cut -d/ -f 2- | rev) ; \
		rapidcheck_relpath=$$(echo "$$mainfile" | rev | cut -d/ -f 2- | rev | sed 's/[^\/]\+/\\\.\\\./g' | cut -d/ -f 2- | sed 's/\//\\\//g') ; \
		cat Makefile.project | sed "s/RAPIDCHECK_PATH/$$rapidcheck_relpath\/rapidcheck/g" > "$$maindir/Makefile" ; \
		test -f "$$maindir/algos.txt" || (echo "DEFAULT" > "$$maindir/algos.txt") ; \
	done

{'fraction_non_alphanumeric': 0.2028601694915254, 'fraction_numerical': 0.0031779661016949155, 'mean_word_length': 3.088744588744589, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '2570118', 'n_tokens_mistral': 741, 'n_tokens_neox': 706, 'n_words': 184}