- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2026 09:05 AM
A practical pattern that works for other customers:
-
Regression set: Keep both. Use the Genie benchmark set for authoring and fast feedback; keep a versioned golden set in Git or a Delta table as the source of truth. Start with 20–50 business-critical questions, including 2–4 phrasings per intent. Genie supports up to 500 benchmarks.
-
Pass criteria: Compare result sets, usually with deterministic ordering removed and numeric tolerance applied. Pin the gold query to a Delta snapshot or explicit “as-of” date when data movement is expected. Use an LLM judge only for Agent-mode narrative quality. Chat benchmarks compare generated results with the SQL Answer; Agent mode uses an LLM judge.
-
Triggers: Run a smoke subset on every agent/config deployment, the affected-domain subset when UC metadata or upstream assets change, and the full suite nightly or before promotion. Lineage is useful for selecting impacted spaces, but I would treat it as an optimization because semantic changes and metric-definition changes may not be obvious from lineage.
-
Cost and speed: Keep the smoke set small—roughly 10–20 high-risk questions—and run the full 30–50-question suite asynchronously. Record latency, query cost, generated SQL, result hashes, and failure category. Genie benchmarks can run all questions or a selected subset.
-
Ownership: Make the space owner accountable for the failing user contract, with the data owner responsible for upstream schema and semantic changes. Route failures by category: wrong metric/join → space owner plus data owner; changed data expectation → data owner; wording or explanation issue → space owner.
The key design choice is to separate semantic regression from data freshness: validate against a pinned snapshot for stable scoring, then run a smaller freshness/invariant suite against current data. Genie’s built-in scoring already tolerates row/column order and small numeric rounding differences, so it is a good baseline rather than rebuilding a comparator immediately.
No need to build a separate harness initially. Start with native benchmarks plus Git-managed metadata for ownership, snapshots, thresholds, and lineage mappings. Add an external runner only when you need CI/CD gating, cross-space reporting, or lineage-based selection. Benchmarks are explicitly intended to be rerun after changes to instructions or metadata.