Skip to content
#

metric-contract

Here is 1 public repository matching this topic...

Deterministic validation layer between a text-to-SQL model and the warehouse. Proves fan-out, metric contract and policy violations from the sqlglot AST against a semantic contract, repairs what it safely can with a diff, and refuses the rest with a reason. 30 of 30 wrong generations caught, 4.56 ms per query. No model API is called.

  • Updated Aug 3, 2026
  • Python

Add this topic to your repo

To associate your repository with the metric-contract topic, visit your repo's landing page and select "manage topics."

Learn more