<commit_before><commit_msg>Added a makefile<commit_after># Makefile for GRAIL 

ANALYTICS_DIR_IN = analytics
ANALYTICS_DIR_OUT = analytics

GRAIL_OUTPUT = 	$(ANALYTICS_DIR_OUT)/sssp.sql \
		$(ANALYTICS_DIR_OUT)/pagerank.sql \
		$(ANALYTICS_DIR_OUT)/wcc.sql

GRAIL_INPUT = 	$(ANALYTICS_DIR_IN)/sssp.sql \
		$(ANALYTICS_DIR_IN)/pagerank.sql \
		$(ANALYTICS_DIR_IN)/wcc.sql

$DEPS =	CommonDefs.py Grail.py TbNameGen.py ConfigParser.py Main.py \
	Translator.py FileCacheManager.py Optimizer.py \
	Blocks/BeginWhileBlock.py Blocks/FlowControlBlock.py \
	Blocks/Block.py Blocks/InsertBlock.py \
	Blocks/CombineMessageBlock.py Blocks/InsertUpdateBlock.py \
	Blocks/CreateTableBlock.py Blocks/SelectIntoBlock.py \
	Blocks/DeclareBlock.py Blocks/SelectIntoExtended.py \
	Blocks/DropIndexBlock.py Blocks/UpdateVertexBlock.py \
	Blocks/DropTableBlock.py Blocks/__init__.py \
	Blocks/EndWhileBlock.py

%.sql: %.grail $(DEPS)
	@echo Generating GRAIL SQL for $@ from $<
	python Main.py -i $< -o $@

gen: $(GRAIL_OUTPUT)

clean:
	/bin/rm -f $(GRAIL_OUTPUT) *.pyc Blocks/*.pyc
{'fraction_non_alphanumeric': 0.12264150943396226, 'fraction_numerical': 0.0, 'mean_word_length': 4.613756613756614, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1703117', 'n_tokens_mistral': 442, 'n_tokens_neox': 421, 'n_words': 63}