genie-benchmark-evaluator

Evaluate Genie Space SQL generation against benchmarks using MLflow GenAI evaluation.

5|6|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/databricks-solutions/vibe-coding-workshop-template --skill genie-benchmark-evaluator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: genie-benchmark-evaluator
Source: https://github.com/databricks-solutions/vibe-coding-workshop-template/tree/main/data_product_accelerator/skills/semantic-layer/genie-optimization-workers/02-genie-benchmark-evaluator
Command: npx skills add https://github.com/databricks-solutions/vibe-coding-workshop-template --skill genie-benchmark-evaluator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mlflow-genai-evaluation, prompt-registry-patterns, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill rigorously evaluates the accuracy and quality of SQL generated by a Genie Space against a set of predefined benchmarks, identifying areas for improvement.

Core Features & Use Cases

  • Multi-Layered Evaluation: Employs 8 scorers across 3 layers (quality, correctness, arbiter) to provide comprehensive feedback.
  • MLflow Integration: Logs all evaluation metrics, results, and traces to MLflow for detailed analysis and version tracking.
  • Automated Correction: The arbiter layer can automatically update benchmarks or suggest metadata optimizations based on evaluation outcomes.
  • Use Case: After optimizing a Genie Space's SQL generation capabilities, use this Skill to quantitatively measure the improvement in accuracy and identify any regressions before deploying the changes.

Quick Start

Use the genie-benchmark-evaluator skill to evaluate the genie space with ID 'my-space-id' against the benchmarks defined in 'golden-queries.yaml'.

Frequently Asked Questions about genie-benchmark-evaluator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I evaluate Genie Space SQL generation accuracy against benchmarks?

Evaluate Genie Space SQL generation accuracy by running benchmark queries against the space and using MLflow GenAI evaluation to log metrics. This process employs a 3-layer judge architecture with 8 scorers to assess quality and correctness.

What is the best way to measure SQL generation regressions in a Genie Space?

Measuring SQL generation regressions in a Genie Space requires quantitative benchmark evaluation before and after changes. The evaluation logs results to MLflow, allowing you to compare metrics and identify any accuracy drops prior to deployment.

Can I automate benchmark correction during Genie Space evaluation?

Yes, you can automate benchmark correction during Genie Space evaluation. The evaluation architecture includes an arbiter layer that can automatically update benchmarks or suggest metadata optimizations based on the correctness assessment outcomes.

Does Genie Space evaluation work with MLflow for logging metrics?

Genie Space evaluation works directly with MLflow to log all evaluation metrics, results, and traces. This integration provides detailed analysis and version tracking for your SQL generation accuracy assessments within the MLflow environment.

What do I need to run an evaluation on my Genie Space?

To run an evaluation on your Genie Space, you need a predefined set of benchmark queries in a YAML file and your Genie Space ID. The evaluation supports both job-based and inline execution modes to process these benchmarks.