# Figure/table regeneration for grite-paper. # All figures are GENERATED from raw CSVs — never hand-edited. # # make figures # regenerate every plot/table in ../figures from raw experiment data # make raw # (re)run the seeded experiment suite in ../grite to produce raw CSVs # make clean GRITE ?= ../../grite RAW ?= _raw FIGURES ?= ../figures PY ?= python3 .PHONY: figures raw clean raw: $(GRITE)/scripts/run_experiments.sh --out $(RAW) figures: | $(FIGURES) $(PY) plot_coordination.py --raw $(RAW) --out $(FIGURES) # C1 dup-work + Pareto + table $(PY) ../mine/run.py --log ../data/coordination-log.csv --out $(FIGURES) # C3 mining prevalence @# C2 convergence is asserted by ../../grite property tests (cargo test -p libgrite-core @# --test prop_crdt); a plot is added once the multi-clone sweep lands. @# $(PY) plot_convergence.py --raw $(RAW) --out $(FIGURES) $(FIGURES): mkdir -p $(FIGURES) clean: rm -rf $(RAW)