demo seed change 3

This commit is contained in:
Urtzi Alfaro
2025-12-14 16:04:16 +01:00
parent a030bd14c8
commit 4ae5356ad1
25 changed files with 2969 additions and 1645 deletions

View File

@@ -5,13 +5,13 @@
"run_number": "ORCH-20250114-001",
"status": "completed",
"run_type": "daily",
"started_at": "2025-01-14T22:00:00Z",
"completed_at": "2025-01-14T22:15:00Z",
"started_at": "BASE_TS - 1d 16h",
"completed_at": "BASE_TS - 1d 15h45m",
"duration_seconds": 900,
"trigger_type": "scheduled",
"trigger_source": "system",
"created_at": "2025-01-14T22:00:00Z",
"updated_at": "2025-01-14T22:15:00Z",
"created_at": "BASE_TS - 1d 16h",
"updated_at": "BASE_TS - 1d 15h45m",
"notes": "Nightly orchestration run - Last successful execution before demo session"
},
"orchestration_results": {
@@ -77,8 +77,8 @@
"alert_type": "DELAYED_DELIVERY",
"product_id": "10000000-0000-0000-0000-000000000001",
"product_name": "Harina de Trigo T55",
"expected_delivery": "2025-01-14T10:00:00Z",
"actual_delivery": "2025-01-14T14:00:00Z",
"expected_delivery": "BASE_TS - 1d 4h",
"actual_delivery": "BASE_TS - 1d 8h",
"delay_hours": 4,
"severity": "CRITICAL",
"related_po": "50000000-0000-0000-0000-000000000004",
@@ -95,7 +95,7 @@
"supplier_id": "40000000-0000-0000-0000-000000000001",
"supplier_name": "Harinas del Norte",
"status": "completed",
"total_amount": 1053.50,
"total_amount": 1053.5,
"items_received": 3,
"items_pending": 0,
"delivery_status": "on_time"
@@ -105,7 +105,7 @@
"supplier_id": "40000000-0000-0000-0000-000000000002",
"supplier_name": "Lácteos Gipuzkoa",
"status": "completed",
"total_amount": 402.20,
"total_amount": 402.2,
"items_received": 1,
"items_pending": 0,
"delivery_status": "on_time"
@@ -115,7 +115,7 @@
"supplier_id": "40000000-0000-0000-0000-000000000001",
"supplier_name": "Harinas del Norte",
"status": "confirmed",
"total_amount": 1427.00,
"total_amount": 1427.0,
"items_received": 0,
"items_pending": 2,
"delivery_status": "delayed",
@@ -150,11 +150,46 @@
"production_scheduling": 1
},
"system_state": {
"last_successful_run": "2025-01-14T22:00:00Z",
"next_scheduled_run": "2025-01-15T22:00:00Z",
"last_successful_run": "BASE_TS - 1d 16h",
"next_scheduled_run": "BASE_TS + 16h",
"system_health": "healthy",
"api_availability": 100.0,
"database_performance": "optimal",
"integration_status": "all_connected"
}
},
"results": {
"ingredients_created": 25,
"stock_entries_created": 25,
"batches_created": 0,
"sales_created": 44,
"forecasts_created": 28,
"consumptions_calculated": 81,
"critical_stock_items": 8,
"active_alerts": 8,
"forecasting_accuracy": 90.5,
"cross_reference_errors": 0,
"cross_reference_warnings": 0
},
"alerts": [
{
"alert_type": "OVERDUE_BATCH",
"severity": "high",
"message": "Production should have started 2 hours ago - BATCH-LATE-0001",
"created_at": "BASE_TS"
},
{
"alert_type": "DELAYED_DELIVERY",
"severity": "high",
"message": "Supplier delivery 4 hours late - PO-LATE-0001",
"created_at": "BASE_TS"
},
{
"alert_type": "CRITICAL_STOCK",
"severity": "critical",
"message": "Harina T55 below reorder point with NO pending PO",
"created_at": "BASE_TS"
}
],
"completed_at": "BASE_TS",
"status": "completed"
}