Commit 66840300 authored by Barthelet Thibault's avatar Barthelet Thibault
Browse files

removed alert, fixed data

parent 77247238
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -586,8 +586,8 @@ def main():
    print("-" * 60)

    disruption_config = [
        {'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)
        {'month_to_change': 3, 'demand_ratio': 0.4},  # Halve demand in March (supply chain crisis)
        {'month_to_change': 4, 'demand_ratio': 0.4},  # 50% increase in July (recovery surge)
    ]

    disrupted_data = generator.generate_changed_test_data(
+0 −3
Original line number Diff line number Diff line
@@ -347,9 +347,6 @@
                updateStatusIndicators(data.ai_enabled, data.simulation_type);
                closeTeacherParamsModal();

                // Show success notification
                alert('Teacher parameters updated successfully!');

                // Reload page to update AI button state on predict page
                if (typeof updateAIPredictButton === 'function') {
                    updateAIPredictButton(data.ai_enabled);