Reproducibility Materials for Regime-Adaptive Two-Path Forecasting for Intermittent Spare-Parts Demand: Industrial Evaluation and External M5 Validation
Description
This dataset contains the reproducibility materials accompanying the article “Regime-Adaptive Two-Path Forecasting for Intermittent Spare-Parts Demand: Industrial Evaluation and External M5 Validation.” The repository includes implementation code, frozen model configurations, benchmark specifications, selected-series information, evaluation scripts, aggregate results, and figure-generation materials for the industrial B2B experiment and the external M5 validation. The M5 package documents the frozen confirmatory protocol, the deterministic selection of 600 item–store series, the RATF-Net and reliability-gate configuration, the DRFAM-Fair comparator, and the scripts used to reproduce the reported MAE, MASE and RMSSE results. Raw industrial sales data are not included because they are subject to commercial confidentiality restrictions. The public M5 source data are also not redistributed; they can be obtained from the original M5 Forecasting Accuracy dataset. The provided materials are intended to support verification and reproduction of the experiments and results reported in the accompanying article.
Files
Steps to reproduce
1. Download and extract both reproducibility archives and install the Python dependencies listed in the included requirements.txt files. 2. Industrial B2B experiment: The original industrial demand data are confidential and are not redistributed. The public B2B package therefore supports methodological reproduction and verification of the reported non-confidential results rather than a complete rerun from the raw industrial observations. The SKU-level industrial performance table can be regenerated from the verified result file using: python code/make_industrial_performance_table.py The source values are provided in: results_reference/verified_industrial_performance_results.csv Aggregate industrial results are provided in: results_reference/verified_aggregate_results.csv 3. External M5 validation: The frozen prediction artifact contains 600 item-store series, 20 test origins, 14 forecast horizons, and 168,000 aligned predictions. It can be checked using: python code/quick_verify_frozen_predictions.py --predictions data/frozen_predictions/M5_FINAL_CONFIRMATORY_PREDICTIONS.csv 4. To reproduce the reported M5 MAE, MASE7, RMSSE, activity-stratum results, and paired-origin bootstrap calculations, obtain the official public M5 Forecasting Accuracy file sales_train_evaluation.csv and run: python code/calculate_m5_final_confirmatory_metrics.py --predictions data/frozen_predictions/M5_FINAL_CONFIRMATORY_PREDICTIONS.csv --subset data/subset/m5_confirmatory_subset600.csv --sales public_inputs/sales_train_evaluation.csv --outdir reproduced/final_metrics 5. The external M5 performance figure can be regenerated using: python code/reproduce_figure5_external_performance.py 6. The routing summaries and routing figure can be regenerated from the frozen prediction artifact using: python code/reproduce_figure6_routing.py --predictions data/frozen_predictions/M5_FINAL_CONFIRMATORY_PREDICTIONS.csv --outdir reproduced/routing The public package reproduces the reported calculations, tables, and quantitative figures from the archived result and prediction artifacts. It does not claim a single-command end-to-end reconstruction of the final RATF-Net prediction file directly from raw M5 data.