Skip to content
Back to skills

Kaggledbqa Eval

ASecurity

Evaluates the zero-shot and few-shot generalization capability of text-to-SQL parsers on realistic, industrial-style database schemas with obscure column names and unrestricted natural language questions. It probes the model's ability to perform schema linking, constraint parsing, and SQL generation without extensive domain-specific training data. Use when the user wants to benchmark on KaggleDBQA, or asks about evaluating this task. Reports exact-match accuracy.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
researchpythongosqldatabaseperformancedocumentation

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill kaggledbqa-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kaggledbqa Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kaggledbqa Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-kaggledbqa-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-kaggledbqa-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kaggledbqa-eval
description: Evaluates the zero-shot and few-shot generalization capability of text-to-SQL parsers on realistic, industrial-style database schemas with obscure column names and unrestricted natural language questions. It probes the model's ability to perform schema linking, constraint parsing, and SQL generation without extensive domain-specific training data. Use when the user wants to benchmark on KaggleDBQA, or asks about evaluating this task. Reports exact-match accuracy.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2106.11455
  bibtex_key: [REDACTED]
  confidence: high
---

# kaggledbqa-eval

> KaggleDBQA: Realistic Evaluation of Text-to-SQL Parsers — Lee et al. (2021) (arXiv:2106.11455, 2021)

## What this evaluates

Evaluates the zero-shot and few-shot generalization capability of text-to-SQL parsers on realistic, industrial-style database schemas with obscure column names and unrestricted natural language questions. It probes the model's ability to perform schema linking, constraint parsing, and SQL generation without extensive domain-specific training data.

## Datasets

- **KaggleDBQA** — total ?; splits: train (87), test (185)

## Metrics

- `exact-match accuracy` **(primary)** — range: percent
  - Exact string match between the predicted SQL and the gold SQL, evaluated using the Spider official evaluation scripts. The scripts normalize SQL by ignoring case, whitespace, and literal values before comparison.

## Input / output format

**Input**: Natural language question paired with the target database schema (table and column names). In augmented settings, column descriptions are appended to column names.

**Output**: A single SQL query string.

## Scoring recipe

```python
def score(predictions, golds):
    correct = 0
    for pred, gold in zip(predictions, golds):
        # Normalize SQL using Spider official script (ignore case, whitespace, values)
        pred_norm = normalize_sql(pred)
        gold_norm = normalize_sql(gold)
        if pred_norm == gold_norm:
            correct += 1
    return (correct / len(golds)) * 100
```

## Common pitfalls

- Using raw string matching instead of the Spider official normalization script, which ignores case, whitespace, and literal values.
- Evaluating in a strict zero-shot setting without fine-tuning, which does not reflect the paper's recommended few-shot real-world evaluation protocol.
- Ignoring the impact of database documentation (column descriptions) and domain adaptation, which are critical for realistic performance on this dataset.

## Evidence (verbatim from paper)

> Throughout this paper, we use the same exact-match accuracy metric introduced by the Spider dataset. ... All numbers are the exact match accuracy evaluated by the Spider official scripts.

## Citation

```bibtex
@misc{lee2021kaggledbqa,
  title={KaggleDBQA: Realistic Evaluation of Text-to-SQL Parsers},
  author={Lee et al. (2021)},
  year={2021},
  note={arXiv:2106.11455}
}
```

- arXiv: 2106.11455

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.