Lint rules
Catch workbook regressions before they land in production dashboards. Enable these rules in the CLI or CI pipelines.
ML001 — Detect fan-out joins
Flags many-to-many workbook relationships that could duplicate fact rows when converted to MetricFlow.
Fix
Add a bridge model or adjust the semantic model grain before publishing the metric.
ML002 — Enforce metric naming conventions
Ensures measures and metrics follow snake_case with consistent prefixes.
Fix
Rename workbook fields or map them via the CLI rename option.
ML003 — Confirm coverage in CI
Checks that every workbook metric has a corresponding YAML definition and a smoke test.
Fix
Generate missing YAML with MetricLayer then add a dbt test to lock it down.