Skip to content

MOD-172 — Operations & Model Intelligence Dashboard

Purpose

Cross-domain Operations dashboard. Pages: DQ scorecard (MOD-038), model performance (MOD-039/040/041), statutory financials (MOD-080), cost attribution (MOD-098), and a link to MOD-056's regulatory change register Streamlit (FR-818 — link only, do not duplicate). bank-wiki #35 Action F.

Architecture

Streamlit-in-Snowflake only — no DCM project, no dbt models, no Lambdas, no tables. Owns a new OPERATIONS schema that hosts only the Streamlit + its source stage.

Snowflake objects owned by MOD-172

Object Type Schema Notes
OPERATIONS SCHEMA Authoritative; CREATE SCHEMA IF NOT EXISTS in legacy infra/snowflake/schemas/.
MOD_172_STREAMLIT_STAGE STAGE OPERATIONS Streamlit source stage.
STREAMLIT_OPS_INTELLIGENCE STREAMLIT OPERATIONS Operations & Model Intelligence dashboard.

SSM outputs

Path Value
/bank/{env}/risk-platform/operations-intelligence/streamlit-url OPERATIONS.STREAMLIT_OPS_INTELLIGENCE

Dependencies

Module Surface
MOD-038 GOVERNANCE_META.V_QUALITY_SCORES, V_OPEN_BREAKS
MOD-039 RISK_CUSTOMER.V_RISK_SCORES_CURRENT
MOD-040 RISK_CUSTOMER.V_CHURN_CURRENT
MOD-041 RISK_CUSTOMER.V_CATEGORISATION_CURRENT
MOD-056 (link only, no read)
MOD-080 STATUTORY.V_FINANCIAL_STATEMENTS_CURRENT
MOD-098 METERING.V_COST_BY_DOMAIN
MOD-102 OPERATIONS_ROLE (outbound issue #37 pending)

Bootstrap-resilient: each section uses try_query so missing upstream views don't break the dashboard.

Policies satisfied

Policy Mode How
Read-only contract LOG The dashboard's Python source contains NO INSERT/UPDATE/DELETE/TRUNCATE on any Snowflake object (verified by tests/policy/streamlit-read-only.test.ts).