Loading forecast_app/smart_data_generator.py +4 −2 Original line number Diff line number Diff line Loading @@ -586,8 +586,8 @@ def main(): print("-" * 60) disruption_config = [ {'month_to_change': 3, 'demand_ratio': 0.5}, # Halve demand in March (supply chain crisis) {'month_to_change': 7, 'demand_ratio': 1.5}, # 50% increase in July (recovery surge) {'month_to_change': 3, 'demand_ratio': 0.6, 'watch_ids': [0, 1]}, # Halve demand in March (supply chain crisis) {'month_to_change': 4, 'demand_ratio': 0.6, 'watch_ids': [1, 2]}, # 50% increase in July (recovery surge) ] disrupted_data = generator.generate_changed_test_data( Loading Loading @@ -657,3 +657,5 @@ def main(): if __name__ == "__main__": main() Loading
forecast_app/smart_data_generator.py +4 −2 Original line number Diff line number Diff line Loading @@ -586,8 +586,8 @@ def main(): print("-" * 60) disruption_config = [ {'month_to_change': 3, 'demand_ratio': 0.5}, # Halve demand in March (supply chain crisis) {'month_to_change': 7, 'demand_ratio': 1.5}, # 50% increase in July (recovery surge) {'month_to_change': 3, 'demand_ratio': 0.6, 'watch_ids': [0, 1]}, # Halve demand in March (supply chain crisis) {'month_to_change': 4, 'demand_ratio': 0.6, 'watch_ids': [1, 2]}, # 50% increase in July (recovery surge) ] disrupted_data = generator.generate_changed_test_data( Loading Loading @@ -657,3 +657,5 @@ def main(): if __name__ == "__main__": main()