Spaces:
Running
Running
Download data/eval.jsonl from Ilirt/datapilot-ai: direct link, hf CLI and curl.
- Browser
- Download file 2.77 kB
-
https://huggingface.co/spaces/Ilirt/datapilot-ai/resolve/main/data/eval.jsonl
- Command line
-
hf download hf://spaces/Ilirt/datapilot-ai/data/eval.jsonl
-
curl -L -o eval.jsonl https://huggingface.co/spaces/Ilirt/datapilot-ai/resolve/main/data/eval.jsonl
2.77 kB
| {"id": "train-products", "split": "train", "family": "catalog-count", "question": "Сколько товаров в каталоге? Верни одно поле total.", "reference_sql": "SELECT COUNT(*) AS total FROM products"} | |
| {"id": "train-customers", "split": "train", "family": "customer-count", "question": "Сколько клиентов в базе? Верни одно поле total.", "reference_sql": "SELECT COUNT(*) AS total FROM customers"} | |
| {"id": "train-stock-prices", "split": "train", "family": "product-list", "question": "Покажи названия товаров и цены, поля name и price, по возрастанию id.", "reference_sql": "SELECT name, price FROM products ORDER BY id"} | |
| {"id": "train-orders", "split": "train", "family": "order-count", "question": "Сколько всего заказов? Поле total.", "reference_sql": "SELECT COUNT(*) AS total FROM orders"} | |
| {"id": "dev-paid", "split": "dev", "family": "paid-count", "question": "Сколько оплаченных заказов? Поле total.", "reference_sql": "SELECT COUNT(*) AS total FROM orders WHERE status='paid'"} | |
| {"id": "dev-country", "split": "dev", "family": "customer-country", "question": "Сколько клиентов из Казахстана (KZ)? Поле total.", "reference_sql": "SELECT COUNT(*) AS total FROM customers WHERE country='KZ'"} | |
| {"id": "test-revenue", "split": "test", "family": "revenue-join", "question": "Посчитай выручку по оплаченным заказам за всё время. Назови поле revenue.", "reference_sql": "SELECT SUM(i.quantity*i.unit_price) AS revenue FROM order_items i JOIN orders o ON o.id=i.order_id WHERE o.status='paid'"} | |
| {"id": "test-profit", "split": "test", "family": "profit-join", "question": "Покажи три товара с наибольшей прибылью по paid-заказам. Поля name и profit. При равной прибыли сортируй name.", "reference_sql": "SELECT p.name, SUM(i.quantity*(i.unit_price-i.unit_cost)) AS profit FROM order_items i JOIN orders o ON o.id=i.order_id JOIN products p ON p.id=i.product_id WHERE o.status='paid' GROUP BY p.name ORDER BY profit DESC,p.name LIMIT 3"} | |
| {"id": "test-unpaid", "split": "test", "family": "negative-status-filter", "question": "Сколько заказов ещё не оплачено (pending)? Верни поле total.", "reference_sql": "SELECT COUNT(*) AS total FROM orders WHERE status='pending'"} | |
| {"id": "test-average", "split": "test", "family": "average-price", "question": "Какая средняя цена товара в каталоге? Верни поле average_price.", "reference_sql": "SELECT AVG(price) AS average_price FROM products"} | |