Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
875 changes: 875 additions & 0 deletions PRPs/PRP-17-demo-showcase-page.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ runs=3 winner=seasonal_naive alias=demo-production wall_clock=87s
See `scripts/run_demo.py` for the contract and `make help` for the
related targets (`demo-quick` skips re-seeding; `demo-clean` wipes the DB first).

**Try it in the browser:** with the backend and frontend running, open
[`/showcase`](http://localhost:5173/showcase) and click **Run pipeline** — the
same end-to-end flow streams live into the dashboard as status cards (no CLI).

### Frontend Setup

8. **Install frontend dependencies**
Expand Down
19 changes: 19 additions & 0 deletions app/features/demo/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"""Demo showcase slice.

Drives the end-to-end forecasting pipeline in-process (via ``httpx.ASGITransport``)
and streams per-step progress, powering the dashboard's Showcase page. This slice
has no database table of its own -- it reads and writes only through the other
slices' HTTP endpoints (precedent: ``analytics``, ``dimensions``).
"""

from app.features.demo.pipeline import run_pipeline
from app.features.demo.routes import router
from app.features.demo.schemas import DemoRunRequest, DemoRunResult, StepEvent

__all__ = [
"DemoRunRequest",
"DemoRunResult",
"StepEvent",
"router",
"run_pipeline",
]
Loading