Sv Modeling Patterns

Catalog of 14 advanced Semantic View modeling patterns, applied through the cortex agent-studio CLI. Load when the user wants to: compare a metric to the same period last year/month (YoY, MoM, SPLY); build a rolling average / YTD / lag-N comparison metric; model a slowly-changing-dimension lookup with `valid_from`/`valid_to` or attribute an event to the dim row active at event time (as-of, 'address active at order time'); track a snapshot fact that must not sum across time (balance / inventory / headcount); model an accumulating-snapshot funnel across multiple milestone dates ('loan funnel', 'applied → reviewed → decided → funded'); route a metric through a specific FK when one fact has two FKs to the same dim (multi-path metrics); reuse the same physical dim under multiple roles; add a cross-entity derived metric ('% of total', 'net = gross − returns'); split shared dims across multiple fact tables; expose a private (`access_modifier: private_access`) fact used only inside the SV to derive a tier or other di

S-14-H Updated

File contents

S-14-H/agent-plugins commit 6ec1b0986c

Frequently asked questions

npx get-skill add s-14-h/sv-modeling-patterns