feat(ui): showcase workspace full preset exposure (#391)#395
Conversation
There was a problem hiding this comment.
Sorry @w7-mgfcode, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Implements E2 — Full Preset Exposure (epic #391, umbrella #389, PRP
PRPs/PRP-showcase-workspace-E2-preset-exposure.md)._SCENARIO_SEED_PROFILEextended from 3 to all 8ScenarioPresetmembers via a_SeedProfileNamedTuple with an optional calendar-pinned window;step_seedhonors the pinned window (holiday_rush→2024-10-01..2024-12-31, since itsHolidayConfigspikes are fixed 2024 dates). All windows ≥ 75 days (historical_backfill gate).sparsity=0.0preserved so the sparse preset keeps its 50%-missing character (seeder override precedence).ScenarioPresetunion widened to all 8 values (surgical CRLF-preserving edit);ScenarioPickerrewritten from a shadcn<Select>to an aria-pressed card grid (W3C APG button pattern,role="group"), props interface unchanged soshowcase.tsxwiring is untouched. Caveat badges:sparse(expected fail/skip — NaN WAPE),holiday_rush(pinned 2024 window),showcase_rich(provider-key skips). Hint line: switching presets only takes effect with Re-seed first.it.eachlockstep test enforce this).API_CONTRACTS.mddocuments the full 8-value union onPOST /demo/run+ the WS start frame;RUNBOOKS.mdgains showcase entry feat(forecasting): implement baseline model zoo and unified interface #28 (per-preset expected-outcome matrix incl. the sparse NaN-WAPE trap and the re-seed accumulation behavior found during dogfood).Validation
ruff check+ruff format --checkcleanmypy app/+pyright app/(both --strict) — 0 errorspnpm lint(0 errors),pnpm test --run331 passed (58 files); no NEWtsc -berrors in touched files (24 pre-existing on dev, unchanged)demo_minimalaria-pressed;retail_standardre-seed run green (seed detail5 stores x 15 products);holiday_rushreset+re-seed run green with/seeder/statusexactly2024-10-01..2024-12-31;demo_minimalrestore green, today-anchored window confirmedCloses #391