<commit_before>.PHONY: vgup pgtest h2test unittest simple integration-test

vgup:
	vagrant up

pgtest: vgup
	vagrant ssh -c "/vagrant/scripts/vagrant/pgtest.sh"

h2test: vgup
	vagrant ssh -c "/vagrant/scripts/vagrant/h2test.sh"

unittest: vgup
	vagrant ssh -c "/vagrant/scripts/vagrant/unittest.sh"

simple: vgup
	vagrant ssh -c "java -jar /usr/local/lib/simple.jar /vagrant"

integration-test: pgtest h2test<commit_msg>Add h2memtest target.<commit_after>.PHONY: vgup pgtest h2test unittest simple integration-test h2memtest

vgup:
	vagrant up

pgtest: vgup
	vagrant ssh -c "/vagrant/scripts/vagrant/pgtest.sh"

h2test: vgup
	vagrant ssh -c "/vagrant/scripts/vagrant/h2test.sh"

unittest: vgup
	vagrant ssh -c "/vagrant/scripts/vagrant/unittest.sh"

simple: vgup
	vagrant ssh -c "java -jar /usr/local/lib/simple.jar /vagrant"

h2memtest:
	DB_USER="" DB_PASS="" DB_URL="jdbc:h2:mem:test;DB_CLOSE_DELAY=-1" lein with-profile +h2 test :integration

integration-test: pgtest h2test
{'fraction_non_alphanumeric': 0.11668372569089049, 'fraction_numerical': 0.014329580348004094, 'mean_word_length': 4.556818181818182, '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': '1124924', 'n_tokens_mistral': 435, 'n_tokens_neox': 420, 'n_words': 91}