<commit_before>PLOTS := latencies.pdf latencies-phong.pdf latencies-head.pdf

.PHONY: all
all: $(PLOTS)

.PHONY: view
view: $(PLOTS)
	open $(PLOTS)

latencies.svg: latencies.vl.json ../latencies.json

latencies-%.svg: latencies-%.vl.json latencies-%.json

latencies-%.vl.json: latencies-%.json latencies.vl.json prevl.js
	node prevl.js data.url=$< < latencies.vl.json > $@

latencies-%.json: %.names.json ../latencies.json ../subset.py
	python3 ../subset.py $< < ../latencies.json > $@

.PHONY: clean
clean:
	rm -f *.png *.svg *.pdf prevl.js
<commit_msg>Remove y-axis label for non-leftmost plots<commit_after>PLOTS := latencies.pdf latencies-phong.pdf latencies-head.pdf

.PHONY: all
all: $(PLOTS)

.PHONY: view
view: $(PLOTS)
	open $(PLOTS)

latencies.svg: latencies.vl.json ../latencies.json

latencies-%.svg: latencies-%.vl.json latencies-%.json

latencies-%.vl.json: latencies-%.json latencies.vl.json prevl.js
	node prevl.js data.url=$< $(PREVL) < latencies.vl.json > $@

# No y-axis label on plots other than the leftmost.
latencies-head.vl.json: PREVL = layers.0.encoding.y.axis.title=

latencies-%.json: %.names.json ../latencies.json ../subset.py
	python3 ../subset.py $< < ../latencies.json > $@

.PHONY: clean
clean:
	rm -f *.png *.svg *.pdf prevl.js

{'fraction_non_alphanumeric': 0.1828978622327791, 'fraction_numerical': 0.0023752969121140144, 'mean_word_length': 3.5467625899280577, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 7, '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': '4586713', 'n_tokens_mistral': 517, 'n_tokens_neox': 491, 'n_words': 106}