Traditional shelf-life (SL) determination in bakery products relies primarily on subjective sensory evaluation, limiting both predictive capability and technological transfer. This study aimed to develop an objective, data-driven framework by integrating statistical and Machine Learning (ML) methods to identify and quantify the core determinants of bread SL. Samples were produced under a 2 × 2 × 2 factorial design (Fermentation, Temperature, Packaging), with continuous monitoring of physicochemical and atmospheric parameters. Three-way ANOVA confirmed that Storage x Temperature (η2 ÷ 0.41) and Modified Atmosphere Packaging (η2 ÷ 0.36) were the dominant factors. The optimal synergy (4 °C + ATM) achieved a 100% Success Rate, extending SL to 54 days vs. 16 days under ambient conditions. For prediction, a Generalized Linear Model (GLM) was developed for binary classification and rigorously validated via 10-fold cross-validation. The GLM achieved an Overall Accuracy of 89% (AUC 92%), uniquely identifying pH and Total Titratable Acidity (TTA) as the most influential predictors. In conclusion, GLM provides a robust tool for objective SL prediction. The integrated ANOVA–GLM framework achieved a 3.3-fold SL extension and 92% predictive accuracy. The findings confirm that preservative effectiveness is not solely due to the process itself, but is mediated by the resulting chemical acidity, offering a scalable framework for Real-Time Quality Control (QC) in the food industry.
Pane Toscano DOP, a traditional sourdough bread from Italy, has a limited shelf life, typically lasting only a few days. Extending its shelf life without the use of synthetic preservatives is essential to meet the rising demand for clean-label products and to reduce food waste. This study aimed to identify the most effective packaging strategy to extend the shelf life of Pane Toscano DOP. Two packaging systems were evaluated: single-package and bag-in-bag systems. In the single-package setup, bread was packaged in PET/PE under different headspace conditions: ambient air (C1), air + Everfresh® Spray (EVF, a natural aromatic extract) (C2), CO2 only (C3), and CO2 + EVF (C4). In the bag-in-bag system, bread was first placed in a PLA primary package containing air and then enclosed within a PET/PE secondary package filled with either air (T1), air + EVF (T2), CO2 only (T3), or CO2 + EVF (T4). Shelf life of bread under different packaging conditions was evaluated based on the appearance of visible mold growth. T4 exhibited the longest shelf life, maintaining acceptable quality for 41 days, followed by T3 with 34 days. Air packaged samples C1 and T1 had the shortest shelf life of only 6 days, while C2, T2, and C3 each maintained quality for 20 days. These findings demonstrate that the use of modified atmosphere packaging, bag-in-bag systems, and aromatic headspace extracts can significantly extend the shelf life of artisanal breads, such as Pane Toscano DOP. This approach offers viable alternatives to synthetic preservatives while maintaining traditional product formulations.