Skip to content

Benchmark natural-language-to-BI skills on semantic layer adherence and truthful chart encoding

Writing valid SQL is half the battle—defining 'Active ARR' identically to Finance and picking non-misleading chart axes is the real test.

Copy the prompt and paste it into the AI assistant you already use.

How to evaluate text-to-SQL and chart-authoring skills

  1. 01

    Require canonical metric lookup over ad-hoc SQL invention

    If 'Net Retention' lives in dbt models or metrics.yml, the skill must query governed views rather than guessing raw Stripe joins.

  2. 02

    Check chart-type appropriateness and baseline integrity

    Penalize 24-slice pie charts, truncated bar-chart y-axes, and unaligned dual-axis line plots that distort magnitude.

  3. 03

    Verify explicit denominator and filter disclosure

    Every generated chart caption should state exact date bounds, excluded internal/trial cohorts, and row sample size.

  4. 04

    Validate rendered visual output or Vega-Lite schema

    Top chart skills validate Vega-Lite/ECharts JSON schemas or inspect rendered PNGs so overlapping axis labels get fixed.

Questions and answers

Why do standalone text-to-SQL benchmarks overstate production BI readiness?

Academic Spider/BIRD datasets have clean schemas and unambiguous prompts; company warehouses have 6 deprecated 'users' tables and nuanced business KPIs.

Which BI and code-first dashboard stacks are supported?

Benchmarked skills cover Evidence.dev, Observable Framework, Vega-Lite, Plotly, Streamlit/Marimo, Metabase, and LookerML.

Do skills handle empty result sets gracefully?

Resilient BI skills inspect zero-row query outputs first—checking case sensitivity or date coverage—instead of rendering blank chart axes.