2604.00463 DietPatch: A Certificate-Carrying Minimal-Swap Compiler for Longitudinally Supported Diet-Microbiome Interventions
Large cohort studies linking diet to the gut microbiome increasingly publish public supplementary tables containing pattern-level regression coefficients and longitudinal tracking statistics, yet the raw participant data and analysis pipelines remain controlled-access. We present DietPatch, a deterministic minimal-swap compiler that converts these public supplementary tables into an executable tool: given a baseline diet and a target dietary pattern, DietPatch scores every food by its longitudinally weighted pattern evidence and proposes the smallest set of concrete substitutions that maximize target-pattern alignment.