refactor: remove legacy compatibility paths (#64)

* refactor: remove legacy compatibility paths

* fix: support legacy metabase native queries

* test: use canonical semantic layer descriptions

* Rename CLI description

* Recover setup scan from SQLite ABI mismatch

* Remove legacy product name from CLI help
This commit is contained in:
Andrey Avtomonov 2026-05-13 15:55:00 +02:00 committed by GitHub
parent e353425266
commit 97da9919e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
83 changed files with 442 additions and 527 deletions

View file

@ -1,10 +1,11 @@
name: churn_risk
description: |
Per-account churn risk scoring for B2B SaaS customers. Combines signals from
subscriptions (cancellation history), support tickets (severity, SLA breaches),
product usage (adoption decline), contracts (renewal proximity), CSM activities
(engagement recency), and invoices (payment issues) into a weighted composite
risk_score (0-1) and risk_tier (High/Medium/Low). One row per customer account.
descriptions:
user: |
Per-account churn risk scoring for B2B SaaS customers. Combines signals from
subscriptions (cancellation history), support tickets (severity, SLA breaches),
product usage (adoption decline), contracts (renewal proximity), CSM activities
(engagement recency), and invoices (payment issues) into a weighted composite
risk_score (0-1) and risk_tier (High/Medium/Low). One row per customer account.
sql: |
WITH sub_signals AS (
SELECT

View file

@ -1,7 +1,8 @@
name: churn_risk
description: |
Customer churn risk score combining tenure,
usage trends, and support burden.
descriptions:
user: |
Customer churn risk score combining tenure,
usage trends, and support burden.
sql: |
SELECT
c.id AS customer_id,