Datasets:
|
Download README.md from rasinmuhammed/ecommerce-analytics-sql-evaluation: direct link, hf CLI and curl.
- Browser
- Download file 3.55 kB
-
https://huggingface.co/datasets/rasinmuhammed/ecommerce-analytics-sql-evaluation/resolve/main/README.md
- Command line
-
hf download hf://datasets/rasinmuhammed/ecommerce-analytics-sql-evaluation/README.md
-
curl -L -o README.md https://huggingface.co/datasets/rasinmuhammed/ecommerce-analytics-sql-evaluation/resolve/main/README.md
3.55 kB
| license: mit | |
| pretty_name: "Ecommerce Analytics SQL Evaluation (declared GMV, verified answer key)" | |
| tags: | |
| - synthetic | |
| - text-to-sql | |
| - evaluation | |
| - data-agents | |
| - tabular | |
| - sql | |
| size_categories: | |
| - 10K<n<100K | |
| task_categories: | |
| - table-question-answering | |
| configs: | |
| - config_name: orders | |
| data_files: "tables/orders.csv" | |
| - config_name: customers | |
| data_files: "tables/customers.csv" | |
| # Ecommerce Analytics SQL Evaluation (declared GMV, verified answer key) | |
| An **evalpack**: an evaluation database generated from the answer key, not | |
| annotated after the fact. A VLDB 2026 audit found 52.8% of BIRD Mini-Dev | |
| answer keys wrong because benchmarks annotate answers onto existing | |
| databases; this dataset inverts the order. The declared properties (curves, | |
| shares, identities) are the specification, the database is generated to | |
| satisfy them exactly, and every shipped question was re-verified by | |
| executing its gold SQL against these exact files with DuckDB, an engine | |
| that shares no code with the generator. | |
| **12,800 rows** across the tables below. | |
| ## What is in it | |
| Tables: customers (800 rows), orders (12,000 rows). | |
| Monthly GMV is declared (400k rising to 525k) and lands exactly; category | |
| shares of GMV (Electronics 40%, Home 25%, Toys 20%, Grocery 15%) hold to the | |
| cent inside every month. Every order belongs to a customer who exists and | |
| postdates that customer's signup. 43 questions ship: monthly totals, row | |
| counts, per-category filtered aggregations, and FK integrity checks. | |
| ## Files | |
| - `tables/*.csv`: the database | |
| - `questions.jsonl`: one verified question per line (natural language, | |
| gold SQL, expected answer, tags) | |
| - `certificate.json`: per-question DuckDB verification plus FK proof | |
| - `manifest.json`: spec hash, seed, library versions, dropped candidates | |
| - `verify.py`: standalone re-verification (needs only `pip install duckdb`) | |
| - `schema.misata.yaml`: the full declaration; regenerate or rotate the pack | |
| from it | |
| ## Re-verify in thirty seconds | |
| ```bash | |
| pip install duckdb | |
| python verify.py | |
| ``` | |
| ## Rotate the environment without touching the answer key | |
| ```bash | |
| pip install misata | |
| misata evalpack --config schema.misata.yaml -o rotated_pack --seed 7 | |
| ``` | |
| A new seed replaces the rows; the declared answers stay the answers, so | |
| agents cannot memorize the environment. Same version + same schema + same | |
| seed reproduces these bytes exactly. | |
| ## Provenance | |
| No real data: fully declaration-generated, offline, deterministic | |
| ([provenance statement](https://github.com/rasinmuhammed/misata/blob/main/DATA-PROVENANCE.md)). | |
| Generated with [misata](https://github.com/rasinmuhammed/misata) (MIT). | |
| Where the approach fails is documented in | |
| [LIMITATIONS.md](https://github.com/rasinmuhammed/misata/blob/main/LIMITATIONS.md). | |
| ## The rest of the shelf | |
| Same idea, other domains, every answer re-verified with DuckDB against the | |
| shipped files: | |
| - [Ecommerce analytics](https://huggingface.co/datasets/rasinmuhammed/ecommerce-analytics-sql-evaluation) | |
| - [SaaS finance](https://huggingface.co/datasets/rasinmuhammed/saas-finance-sql-evaluation) | |
| - [EdTech practice](https://huggingface.co/datasets/rasinmuhammed/edtech-sql-evaluation) | |
| If you want ground truth for a regression rather than for SQL, the | |
| [machine degradation set](https://huggingface.co/datasets/rasinmuhammed/predictive-maintenance-remaining-useful-life) | |
| carries exact remaining useful life on 100 run-to-failure machines. | |
| Generated by [Misata](https://github.com/rasinmuhammed/misata) (MIT). | |
| Build your own: [misata.studio](https://www.misata.studio). | |