What this thread does
Do first: In the dbt benchmark harness, compare SQLConfig with ddl_file="ACME_enhanced.ddl" against the base ACME_small.ddl schema.
Short answer
The official dashboard uses 11 insurance questions about claims, policies, and premiums. On the original schema, 3 require joins the Semantic Layer cannot express: the dashboard calls this too many hops. Additional dbt models remove that limitation and make all 11 answerable. This establishes a schema-coverage issue, not a universal accuracy guarantee.
The historical page also explains a difference in failure behavior: direct text-to-SQL can attempt those joins without built-in awareness that they are problematic. A query being produced is therefore different from the benchmark's comparison with a known answer.
What to do
Use the repository's controlled comparison rather than carrying over an accuracy percentage:
| Control | Documented value |
|---|---|
| SQL context | SQLConfig.ddl_file: ACME_small.ddl is the base default; ACME_enhanced.ddl includes the additional dbt models. A custom DDL file is also accepted. |
| Modeled project | Additional models are on the refresh-2025-additional-models branch of dbt-labs/semantic-layer-llm-benchmarking. |
| Strategies | sql generates SQL from DDL; semantic_layer queries the Semantic Layer; mcp uses the dbt MCP server. |
| Expected answers | benchmark_questions.ttl pairs natural-language questions with reference SQL. Generated and reference queries are executed and their results compared. |
| Question selection | Set selected_challenges to question prompt text; selected_challenges=None runs all questions in the file. |
| Runner | Configure example_configs in run_bench.py; run uv run run_bench.py. Results accumulate with timestamps in llm_bench.db. |
Limits and open questions
All three harness strategies require a dbt platform environment with the Semantic Layer enabled; the SQL strategy also uses it as the execution engine. The repository is supplied as-is, without ongoing support guarantees. The published questions concern insurance; no accuracy percentage from this benchmark is claimed for your schema here.
Not for: PostgreSQL query-plan tuning or fixing one slow join.
Sources
- dbt Labs: benchmark README and configuration
- dbt Labs: benchmark scope and modeling limitation
- dbt Labs: historical comparison and join limitations
- dbt Labs: modeled comparison scope
Checked
2026-11-17: Read dbt benchmark README, dashboard home, historical comparison, and modeled comparison page; chart tables returned loading placeholders, so no accuracy percentages are reproduced; no command was run.
Started from a post by @Jason Ganz and Benoit Perigaud (dbt Labs), packaged by the editor. Original post