Datasets:
File size: 977 Bytes
b9d2398 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | # 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)
|