⚡Flashcard Drill➔
L2S1 · ROI & FeasibilityS2 · Data & RetrievalS3 · Model & AgentS4 · UX & HITLS5 · Eval & LLMOpsS6 · Security & FinOpsVerified: 2026-11-30

L2 Industry Playbook · Supply Chain Forecasting & Logistics Optimization Domain

Production constraint blueprint for supply chain planning and logistics routing: probabilistic quantile demand intervals over brittle point forecasts, strict separation between deterministic MILP/OR-Tools solvers and LLM coordination, and immutable ERP/WMS auditability.

Best For

Multi-echelon inventory replenishment, disruption rerouting, supplier lead-time risk triage, and ERP exception copilots.

Human-AI Boundary

Forecasting models emit quantile intervals, OR solvers compute constraint-feasible plans, and LLMs summarize trade-offs; planners explicitly approve expedite orders and all ERP write mutations.

Anti-Patterns to Avoid

  • Asking an LLM to directly compute optimal truck routes, safety-stock quantities, or SKU allocation across constraints instead of calling a deterministic OR solver
  • Using unweighted point forecasts for lumpy/intermittent SKUs without P10/P50/P90 quantile intervals and stockout-vs-holding cost asymmetry

Latency/Cost Profile & Eval Metrics

Nightly batch demand + MILP plan < 30m; disruption triage copilot < 5s narrative + < 15s solver re-optimization · Solver compute on large SKU-lane graphs + multi-system ERP/WMS API fan-out

  • Weighted Quantile Loss (wQL / Pinball Loss at P50 & P90): Improve P90 Pinball Loss by >= 8% vs seasonal naive baseline with PSI feature drift < 0.1 (Evaluate across zero-inflated long-tail SKUs using point-in-time historical promotion & lead-time snapshots)
  • Solver Constraint Feasibility & ERP Audit Parity: 100% of recommended purchase/transfer orders satisfy MOQ, capacity, and customs constraints (Zero ungrounded LLM-invented quantities committed directly to ERP write APIs)

💰 Business ROI Model & Evidence Level

production_practice

Quantile-calibrated safety stock and solver-backed disruption rerouting cut expedite freight spend by 15-25% while curbing excess working-capital lockup.

⚖️ Engineering Trade-Off & Decision Matrix

Probabilistic Forecaster + MILP/OR-Tools Solver + LLM Explainer
When to Use: Production replenishment and routing bounded by capacity, MOQ, lead-time, and cost constraints.
Trade-Off: Mathematically feasible and auditable; requires structured constraint modeling and solver timeout fallbacks.
Text-to-SQL + Semantic Alert Triage Agent
When to Use: Read-only planner investigations across WMS/ERP shipments and supplier SLA exceptions.
Trade-Off: Fast ROI for exception visibility; enforce read-only semantic views to prevent unsafe SQL scans.

🛡️ Compliance & Governance Hard Constraints

  • Mandatory human approval checkpoint prior to executing ERP/WMS purchase order, transfer, or carrier tender writes
  • Immutable decision audit trail linking external disruption signals, solver inputs, objective weights, and approver ID
  • Point-in-time feature governance preventing future shipment/cancellation leakage into backtest demand horizons
⚡
Test muscle memory on this topic via 3-Layer Flashcards
Active Recall: Mentally formulate Prompt ➔ Math Derivation ➔ Benchmark Implementation in 3 minutes.
🎯 Drill This Card Now➔

Bidirectional Taxonomy Links

[L0 Card] Feature Store Consistency & No-Leak[L0 Card] Production PSI Drift Monitoring[L0 Card] Offline-Online Eval Gap & A/B Testing[L0 Card] North Star Metric & Guardrail Framework[L0] LangGraph Stateful Graph, Checkpointer Persistence & HITL Interrupt Primitive[L0] Agent Trajectory, Tool-Call & Side-Effect Failure Taxonomy Primitive[L0] NeMo Guardrails Topic Fence, Jailbreak & Injection Defense Primitive[L0] LLM Token FinOps, Prefix Caching & Tenant-Isolated Semantic Cache Gateway[L1] Stage 3 · Structured Output Constrained FSM Decoding, Reasoning Protection & Retry Mode[L1] Stage 4 · High-Stakes Interrupt Checkpoint & Diff-Approval HITL UX Pattern[L1] Stage 2 · Semantic-Layer Grounded Text-to-SQL & Read-Only Sandbox Repair Pattern[L1] Stage 1 · Shadow-Mode AI Baseline Validation Pattern Before Live Automation[L2] L2 Scenario · Supply Chain Disruption Triage & OR-Backed Rerouting Agent

Internal Tools & Primary Sources