<commit_before>current_dir = $(shell pwd)

all: build-measurer build-test build-driver

configure-measurer:
	cd gdb-7.9; make clean; ./configure
	cp gdb-7.9/patch/Makefile gdb-7.9/gdb/

build-measurer:
	cd gdb-7.9; make

test2:
	cd gdb-7.9; pwd > test

build-driver:
	cd driver; make

build-test:
	cd test; make

run-driver:
	cd driver; make run-driver1

clean: clean-measurer clean-driver clean-test

clean-measurer:
	cd gdb-7.9; make clean

clean-driver:
	cd driver; make clean

clean-test:
	cd test; make clean<commit_msg>Run all config<commit_after>current_dir = $(shell pwd)

all: build-measurer build-test build-driver

configure-measurer:
	cd gdb-7.9; make clean; ./configure
	cp gdb-7.9/patch/Makefile gdb-7.9/gdb/

build-measurer:
	cd gdb-7.9; make

build-driver:
	cd driver; make

build-test:
	cd test; make

run-measurer:
	./gdb-7.9/gdb/gdb

run-driver:
	cd driver; make run-driver1

run-test:
	cd test; make run-test2

run-all:
	gnome-terminal --hide-menubar --title="Measurer" -x bash -c "make run-measurer; echo \"JOBS DONE.\"; read"
	gnome-terminal --hide-menubar --title="Application" -x bash -c "make run-test; echo \"JOBS DONE.\"; read"
	gnome-terminal --hide-menubar --title="Driver" -x bash -c "echo \"pidof test2\"; pidof test2; make run-driver; echo \"JOBS DONE.\"; read"

clean: clean-measurer clean-driver clean-test

clean-measurer:
	cd gdb-7.9; make clean

clean-driver:
	cd driver; make clean

clean-test:
	cd test; make clean
{'fraction_non_alphanumeric': 0.13902271163110805, 'fraction_numerical': 0.02064693737095664, 'mean_word_length': 3.515527950310559, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '64115', 'n_tokens_mistral': 605, 'n_tokens_neox': 579, 'n_words': 159}