Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_forecasting-pipeline

Time-Series Forecasting Pipeline (Backtesting, Features & Batch Serve)

6 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Time-Series Forecasting Pipeline (Backtesting, Features & Batch Serve) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_forecasting-pipeline/opengraph-image)](https://archos.sageideas.dev/d/dgm_forecasting-pipeline)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_forecasting-pipeline)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_forecasting-pipeline" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Time-Series Forecasting Pipeline (Backtesting, Features & Batch Serve) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Supply Chain & Ops"]
  n1_1["Time-Series Prep"]
  n2a_2["Forecast Trainer"]
  n2b_3["Rolling Backtester"]
  n3_4[("Forecast Mart")]
  downstream_5["Downstream & OTel"]
  client_0 -->|"1. Build lags · Spark"| n1_1
  n1_1 -->|"2a. Fit · Python"| n2a_2
  n1_1 -.->|"2b. Backtest · Batch"| n2b_3
  n2a_2 -->|"3a. Publish · SQL"| n3_4
  n2b_3 -->|"3b. Apply · Async"| n3_4
  n3_4 -.->|"4. Emit / · OTLP/API"| downstream_5

COMPONENT STACK (6)

  • Supply Chain & OpsSTATELESS
    Daily/weekly demand plans
  • Time-Series PrepSTATELESS
    Calendar, lags & external cov
  • Forecast TrainerSTATELESS
    LightGBM / Prophet / Chronos
  • Rolling BacktesterSTATELESS
    Walk-forward temporal splits
  • Forecast MartSTATEFUL
    P10/P50/P90 quantile tables
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Supply Chain & Ops → Time-Series Prep (Build lags)[Spark]
  2. Time-Series Prep → Forecast Trainer (Fit)[Python]
  3. Time-Series Prep → Rolling Backtester (Backtest)[Batch]
  4. Forecast Trainer → Forecast Mart (Publish)[SQL]
  5. Rolling Backtester → Forecast Mart (Apply)[Async]
  6. Forecast Mart → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →