PYTHON ?= python3

.PHONY: all python parity-from-precomputed optional-r clean

all: python parity-from-precomputed

python:
	$(PYTHON) scripts/python/analyze_study_habits.py

parity-from-precomputed: python
	$(PYTHON) scripts/python/compare_results.py

optional-r:
	Rscript scripts/r/analyze_study_habits.R
	$(PYTHON) scripts/python/compare_results.py

clean:
	rm -f outputs/py_results.json outputs/parity_receipt.md
