datapilot-ecommerce-sql / run2 /sft-extra-grpo.json
Ilirt's picture
Upload run2/sft-extra-grpo.json with huggingface_hub
b5577b5 verified
Raw History Blame Contribute Delete
57.6 kB
{ "created_at": "2026-11-09T08:45:58.412372+00:00", "model": "/tmp/grpo-merged", "variant": "tuned", "sql_retries": 0, "trained": true, "split": "test", "case_file_sha256": "cb23d6b81e95baec8a6977f56dd0f9c9b9cc3a83d9a155323ec2577deba87a03", "completed": 18, "planned": 18, "successes": 11, "outcomes": [ { "id": "paid-profit-01", "success": false, "expected": [ { "name": "Mouse", "profit": 150.0 } ], "actual": null, "values_match": false, "columns_match": false, "tool_calls": 4, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "order_items" }, "output": [ { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "product_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "quantity", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "unit_price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "unit_cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "describe_table", "arguments": { "table": "products" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "name", "data_type": "text", "is_nullable": "NO" }, { "column_name": "price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT p.name,SUM(i.quantity*(p.price-i.cost)) AS profit FROM order_items i JOIN products p ON p.id=i.product_id WHERE i.order_status='paid' GROUP BY p.id,p.name ORDER BY profit DESC,p.id LIMIT 1" }, "error_type": "UndefinedColumn" } ], "error_type": "UndefinedColumn", "cause_type": null, "elapsed_ms": 25432 }, { "id": "paid-profit-02", "success": false, "expected": [ { "name": "Mouse", "profit": 150.0 }, { "name": "Keyboard", "profit": 110.0 } ], "actual": null, "values_match": false, "columns_match": false, "tool_calls": 4, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "order_items" }, "output": [ { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "product_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "quantity", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "unit_price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "unit_cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "describe_table", "arguments": { "table": "products" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "name", "data_type": "text", "is_nullable": "NO" }, { "column_name": "price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT p.name,SUM(i.quantity*(p.price-i.cost)) AS profit FROM order_items i JOIN products p ON p.id=i.product_id WHERE i.order_status='paid' GROUP BY p.id,p.name ORDER BY profit DESC,p.id LIMIT 2" }, "error_type": "UndefinedColumn" } ], "error_type": "UndefinedColumn", "cause_type": null, "elapsed_ms": 6120 }, { "id": "paid-profit-03", "success": false, "expected": [ { "name": "Mouse", "profit": 150.0 }, { "name": "Keyboard", "profit": 110.0 }, { "name": "Monitor", "profit": 80.0 } ], "actual": null, "values_match": false, "columns_match": false, "tool_calls": 4, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "order_items" }, "output": [ { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "product_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "quantity", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "unit_price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "unit_cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "describe_table", "arguments": { "table": "products" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "name", "data_type": "text", "is_nullable": "NO" }, { "column_name": "price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT p.name,SUM(i.quantity*(p.price-i.cost)) AS profit FROM order_items i JOIN products p ON p.id=i.product_id WHERE i.order_status='paid' GROUP BY p.id,p.name ORDER BY profit DESC,p.id LIMIT 3" }, "error_type": "UndefinedColumn" } ], "error_type": "UndefinedColumn", "cause_type": null, "elapsed_ms": 6510 }, { "id": "paid-profit-04", "success": false, "expected": [ { "name": "Mouse", "profit": 150.0 }, { "name": "Keyboard", "profit": 110.0 }, { "name": "Monitor", "profit": 80.0 }, { "name": "Cable", "profit": 21.0 } ], "actual": null, "values_match": false, "columns_match": false, "tool_calls": 4, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "order_items" }, "output": [ { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "product_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "quantity", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "unit_price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "unit_cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "describe_table", "arguments": { "table": "products" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "name", "data_type": "text", "is_nullable": "NO" }, { "column_name": "price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT p.name,SUM(i.quantity*(p.price-i.cost)) AS profit FROM order_items i JOIN products p ON p.id=i.product_id WHERE i.order_status='paid' GROUP BY p.id,p.name ORDER BY profit DESC,p.id LIMIT 4" }, "error_type": "UndefinedColumn" } ], "error_type": "UndefinedColumn", "cause_type": null, "elapsed_ms": 7009 }, { "id": "paid-profit-05", "success": false, "expected": [ { "name": "Mouse", "profit": 150.0 }, { "name": "Keyboard", "profit": 110.0 }, { "name": "Monitor", "profit": 80.0 }, { "name": "Cable", "profit": 21.0 } ], "actual": null, "values_match": false, "columns_match": false, "tool_calls": 4, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "order_items" }, "output": [ { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "product_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "quantity", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "unit_price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "unit_cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "describe_table", "arguments": { "table": "products" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "name", "data_type": "text", "is_nullable": "NO" }, { "column_name": "price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT p.name,SUM(i.quantity*(p.price-i.cost)) AS profit FROM order_items i JOIN products p ON p.id=i.product_id WHERE i.order_status='paid' GROUP BY p.id,p.name ORDER BY profit DESC,p.id LIMIT 5" }, "error_type": "UndefinedColumn" } ], "error_type": "UndefinedColumn", "cause_type": null, "elapsed_ms": 7191 }, { "id": "paid-profit-06", "success": false, "expected": [ { "name": "Mouse", "profit": 150.0 }, { "name": "Keyboard", "profit": 110.0 }, { "name": "Monitor", "profit": 80.0 }, { "name": "Cable", "profit": 21.0 } ], "actual": null, "values_match": false, "columns_match": false, "tool_calls": 4, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "order_items" }, "output": [ { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "product_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "quantity", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "unit_price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "unit_cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "describe_table", "arguments": { "table": "products" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "name", "data_type": "text", "is_nullable": "NO" }, { "column_name": "price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT p.name,SUM(i.quantity*(p.price-i.cost)) AS profit FROM order_items i JOIN products p ON p.id=i.product_id WHERE i.order_status='paid' GROUP BY p.id,p.name ORDER BY profit DESC,p.id LIMIT 6" }, "error_type": "UndefinedColumn" } ], "error_type": "UndefinedColumn", "cause_type": null, "elapsed_ms": 6589 }, { "id": "revenue-by-country-01", "success": true, "expected": [ { "revenue": 670.0 } ], "actual": [ { "revenue": 670.0 } ], "values_match": true, "columns_match": true, "tool_calls": 4, "response": { "mode": "model_api", "answer": "Результат запроса: [{'revenue': 670.0}]", "result": { "columns": [ "revenue" ], "rows": [ { "revenue": 670.0 } ], "row_count": 1, "truncated": false, "sql": "SELECT COALESCE(SUM(i.quantity * i.unit_price), 0) AS revenue FROM order_items AS i JOIN orders AS o ON o.id = i.order_id JOIN customers AS c ON c.id = o.customer_id WHERE o.status = 'paid' AND c.country = 'KZ'" }, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "order_items" }, "output": [ { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "product_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "quantity", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "unit_price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "unit_cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "describe_table", "arguments": { "table": "products" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "name", "data_type": "text", "is_nullable": "NO" }, { "column_name": "price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT COALESCE(SUM(i.quantity*i.unit_price),0) AS revenue FROM order_items i JOIN orders o ON o.id=i.order_id JOIN customers c ON c.id=o.customer_id WHERE o.status='paid' AND c.country='KZ'" }, "output": { "columns": [ "revenue" ], "rows": [ { "revenue": 670.0 } ], "row_count": 1, "truncated": false, "sql": "SELECT COALESCE(SUM(i.quantity * i.unit_price), 0) AS revenue FROM order_items AS i JOIN orders AS o ON o.id = i.order_id JOIN customers AS c ON c.id = o.customer_id WHERE o.status = 'paid' AND c.country = 'KZ'" } } ], "elapsed_ms": 8037 }, "elapsed_ms": 8056 }, { "id": "revenue-by-country-02", "success": true, "expected": [ { "revenue": 0 } ], "actual": [ { "revenue": 0 } ], "values_match": true, "columns_match": true, "tool_calls": 4, "response": { "mode": "model_api", "answer": "Результат запроса: []", "result": { "columns": [ "revenue" ], "rows": [ { "revenue": 0 } ], "row_count": 1, "truncated": false, "sql": "SELECT COALESCE(SUM(i.quantity * i.unit_price), 0) AS revenue FROM order_items AS i JOIN orders AS o ON o.id = i.order_id JOIN customers AS c ON c.id = o.customer_id WHERE o.status = 'paid' AND c.country = 'RU'" }, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "order_items" }, "output": [ { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "product_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "quantity", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "unit_price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "unit_cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "describe_table", "arguments": { "table": "products" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "name", "data_type": "text", "is_nullable": "NO" }, { "column_name": "price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT COALESCE(SUM(i.quantity*i.unit_price),0) AS revenue FROM order_items i JOIN orders o ON o.id=i.order_id JOIN customers c ON c.id=o.customer_id WHERE o.status='paid' AND c.country='RU'" }, "output": { "columns": [ "revenue" ], "rows": [ { "revenue": 0 } ], "row_count": 1, "truncated": false, "sql": "SELECT COALESCE(SUM(i.quantity * i.unit_price), 0) AS revenue FROM order_items AS i JOIN orders AS o ON o.id = i.order_id JOIN customers AS c ON c.id = o.customer_id WHERE o.status = 'paid' AND c.country = 'RU'" } } ], "elapsed_ms": 7097 }, "elapsed_ms": 7117 }, { "id": "revenue-by-country-03", "success": true, "expected": [ { "revenue": 0 } ], "actual": [ { "revenue": 0 } ], "values_match": true, "columns_match": true, "tool_calls": 4, "response": { "mode": "model_api", "answer": "Результат запроса: []", "result": { "columns": [ "revenue" ], "rows": [ { "revenue": 0 } ], "row_count": 1, "truncated": false, "sql": "SELECT COALESCE(SUM(i.quantity * i.unit_price), 0) AS revenue FROM order_items AS i JOIN orders AS o ON o.id = i.order_id JOIN customers AS c ON c.id = o.customer_id WHERE o.status = 'paid' AND c.country = 'US'" }, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "orders" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "customer_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "ordered_at", "data_type": "date", "is_nullable": "NO" }, { "column_name": "status", "data_type": "text", "is_nullable": "NO" } ] }, { "name": "describe_table", "arguments": { "table": "customers" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "name", "data_type": "text", "is_nullable": "NO" }, { "column_name": "country", "data_type": "text", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT COALESCE(SUM(i.quantity*i.unit_price),0) AS revenue FROM order_items i JOIN orders o ON o.id=i.order_id JOIN customers c ON c.id=o.customer_id WHERE o.status='paid' AND c.country='US'" }, "output": { "columns": [ "revenue" ], "rows": [ { "revenue": 0 } ], "row_count": 1, "truncated": false, "sql": "SELECT COALESCE(SUM(i.quantity * i.unit_price), 0) AS revenue FROM order_items AS i JOIN orders AS o ON o.id = i.order_id JOIN customers AS c ON c.id = o.customer_id WHERE o.status = 'paid' AND c.country = 'US'" } } ], "elapsed_ms": 6907 }, "elapsed_ms": 6928 }, { "id": "revenue-by-country-04", "success": true, "expected": [ { "revenue": 200.0 } ], "actual": [ { "revenue": 200.0 } ], "values_match": true, "columns_match": true, "tool_calls": 4, "response": { "mode": "model_api", "answer": "Результат запроса: [{'revenue': 200.0}]", "result": { "columns": [ "revenue" ], "rows": [ { "revenue": 200.0 } ], "row_count": 1, "truncated": false, "sql": "SELECT COALESCE(SUM(i.quantity * i.unit_price), 0) AS revenue FROM order_items AS i JOIN orders AS o ON o.id = i.order_id JOIN customers AS c ON c.id = o.customer_id WHERE o.status = 'paid' AND c.country = 'DE'" }, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "orders" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "customer_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "ordered_at", "data_type": "date", "is_nullable": "NO" }, { "column_name": "status", "data_type": "text", "is_nullable": "NO" } ] }, { "name": "describe_table", "arguments": { "table": "customers" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "name", "data_type": "text", "is_nullable": "NO" }, { "column_name": "country", "data_type": "text", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT COALESCE(SUM(i.quantity*i.unit_price),0) AS revenue FROM order_items i JOIN orders o ON o.id=i.order_id JOIN customers c ON c.id=o.customer_id WHERE o.status='paid' AND c.country='DE'" }, "output": { "columns": [ "revenue" ], "rows": [ { "revenue": 200.0 } ], "row_count": 1, "truncated": false, "sql": "SELECT COALESCE(SUM(i.quantity * i.unit_price), 0) AS revenue FROM order_items AS i JOIN orders AS o ON o.id = i.order_id JOIN customers AS c ON c.id = o.customer_id WHERE o.status = 'paid' AND c.country = 'DE'" } } ], "elapsed_ms": 6979 }, "elapsed_ms": 7000 }, { "id": "revenue-by-country-05", "success": true, "expected": [ { "revenue": 0 } ], "actual": [ { "revenue": 0 } ], "values_match": true, "columns_match": true, "tool_calls": 4, "response": { "mode": "model_api", "answer": "Результат запроса: []", "result": { "columns": [ "revenue" ], "rows": [ { "revenue": 0 } ], "row_count": 1, "truncated": false, "sql": "SELECT COALESCE(SUM(i.quantity * i.unit_price), 0) AS revenue FROM order_items AS i JOIN orders AS o ON o.id = i.order_id JOIN customers AS c ON c.id = o.customer_id WHERE o.status = 'paid' AND c.country = 'GB'" }, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "order_items" }, "output": [ { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "product_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "quantity", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "unit_price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "unit_cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "describe_table", "arguments": { "table": "products" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "name", "data_type": "text", "is_nullable": "NO" }, { "column_name": "price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT COALESCE(SUM(i.quantity*i.unit_price),0) AS revenue FROM order_items i JOIN orders o ON o.id=i.order_id JOIN customers c ON c.id=o.customer_id WHERE o.status='paid' AND c.country='GB'" }, "output": { "columns": [ "revenue" ], "rows": [ { "revenue": 0 } ], "row_count": 1, "truncated": false, "sql": "SELECT COALESCE(SUM(i.quantity * i.unit_price), 0) AS revenue FROM order_items AS i JOIN orders AS o ON o.id = i.order_id JOIN customers AS c ON c.id = o.customer_id WHERE o.status = 'paid' AND c.country = 'GB'" } } ], "elapsed_ms": 6676 }, "elapsed_ms": 6697 }, { "id": "revenue-by-country-06", "success": false, "expected": [ { "revenue": 0 } ], "actual": null, "values_match": false, "columns_match": false, "tool_calls": 4, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "order_items" }, "output": [ { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "product_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "quantity", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "unit_price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "unit_cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "describe_table", "arguments": { "table": "products" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "name", "data_type": "text", "is_nullable": "NO" }, { "column_name": "price", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "cost", "data_type": "numeric", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT COALESCE(SUM(i.quantity*i.unit_price),0) AS revenue FROM order_items i JOIN orders o ON o.id=i.order_id JOIN customers c ON c.id=o.customer_id WHERE o.status='paid' AND c.tr=TR" }, "error_type": "UndefinedColumn" } ], "error_type": "UndefinedColumn", "cause_type": null, "elapsed_ms": 5613 }, { "id": "payment-status-counts-01", "success": true, "expected": [ { "status": "settled", "payment_count": 1 } ], "actual": [ { "status": "settled", "payment_count": 1 } ], "values_match": true, "columns_match": true, "tool_calls": 3, "response": { "mode": "model_api", "answer": "Результат запроса: []", "result": { "columns": [ "status", "payment_count" ], "rows": [ { "status": "settled", "payment_count": 1 } ], "row_count": 1, "truncated": false, "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id = 1 GROUP BY status ORDER BY status" }, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "payments" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "amount", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "status", "data_type": "text", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id=1 GROUP BY status ORDER BY status" }, "output": { "columns": [ "status", "payment_count" ], "rows": [ { "status": "settled", "payment_count": 1 } ], "row_count": 1, "truncated": false, "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id = 1 GROUP BY status ORDER BY status" } } ], "elapsed_ms": 4593 }, "elapsed_ms": 4612 }, { "id": "payment-status-counts-02", "success": true, "expected": [ { "status": "settled", "payment_count": 1 } ], "actual": [ { "status": "settled", "payment_count": 1 } ], "values_match": true, "columns_match": true, "tool_calls": 3, "response": { "mode": "model_api", "answer": "Результат запроса: []", "result": { "columns": [ "status", "payment_count" ], "rows": [ { "status": "settled", "payment_count": 1 } ], "row_count": 1, "truncated": false, "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id = 2 GROUP BY status ORDER BY status" }, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "payments" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "amount", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "status", "data_type": "text", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT status,COUNT(*) AS payment_count FROM payments WHERE order_id=2 GROUP BY status ORDER BY status" }, "output": { "columns": [ "status", "payment_count" ], "rows": [ { "status": "settled", "payment_count": 1 } ], "row_count": 1, "truncated": false, "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id = 2 GROUP BY status ORDER BY status" } } ], "elapsed_ms": 4612 }, "elapsed_ms": 4630 }, { "id": "payment-status-counts-03", "success": true, "expected": [ { "status": "settled", "payment_count": 1 } ], "actual": [ { "status": "settled", "payment_count": 1 } ], "values_match": true, "columns_match": true, "tool_calls": 3, "response": { "mode": "model_api", "answer": "Результат запроса: []", "result": { "columns": [ "status", "payment_count" ], "rows": [ { "status": "settled", "payment_count": 1 } ], "row_count": 1, "truncated": false, "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id = 3 GROUP BY status ORDER BY status" }, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "payments" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "amount", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "status", "data_type": "text", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id=3 GROUP BY status ORDER BY status" }, "output": { "columns": [ "status", "payment_count" ], "rows": [ { "status": "settled", "payment_count": 1 } ], "row_count": 1, "truncated": false, "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id = 3 GROUP BY status ORDER BY status" } } ], "elapsed_ms": 4739 }, "elapsed_ms": 4758 }, { "id": "payment-status-counts-04", "success": true, "expected": [ { "status": "settled", "payment_count": 1 } ], "actual": [ { "status": "settled", "payment_count": 1 } ], "values_match": true, "columns_match": true, "tool_calls": 3, "response": { "mode": "model_api", "answer": "Результат запроса: []", "result": { "columns": [ "status", "payment_count" ], "rows": [ { "status": "settled", "payment_count": 1 } ], "row_count": 1, "truncated": false, "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id = 4 GROUP BY status ORDER BY status" }, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "payments" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "amount", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "status", "data_type": "text", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id=4 GROUP BY status ORDER BY status" }, "output": { "columns": [ "status", "payment_count" ], "rows": [ { "status": "settled", "payment_count": 1 } ], "row_count": 1, "truncated": false, "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id = 4 GROUP BY status ORDER BY status" } } ], "elapsed_ms": 4815 }, "elapsed_ms": 4834 }, { "id": "payment-status-counts-05", "success": true, "expected": [ { "status": "refunded", "payment_count": 1 } ], "actual": [ { "status": "refunded", "payment_count": 1 } ], "values_match": true, "columns_match": true, "tool_calls": 3, "response": { "mode": "model_api", "answer": "Результат запроса: []", "result": { "columns": [ "status", "payment_count" ], "rows": [ { "status": "refunded", "payment_count": 1 } ], "row_count": 1, "truncated": false, "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id = 5 GROUP BY status ORDER BY status" }, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "payments" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "amount", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "status", "data_type": "text", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id=5 GROUP BY status ORDER BY status" }, "output": { "columns": [ "status", "payment_count" ], "rows": [ { "status": "refunded", "payment_count": 1 } ], "row_count": 1, "truncated": false, "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id = 5 GROUP BY status ORDER BY status" } } ], "elapsed_ms": 4814 }, "elapsed_ms": 4833 }, { "id": "payment-status-counts-06", "success": true, "expected": [], "actual": [], "values_match": true, "columns_match": true, "tool_calls": 3, "response": { "mode": "model_api", "answer": "Запрос выполнен. PostgreSQL вернул пустой результат.", "result": { "columns": [ "status", "payment_count" ], "rows": [], "row_count": 0, "truncated": false, "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id = 6 GROUP BY status ORDER BY status" }, "trace": [ { "name": "list_tables", "arguments": {}, "output": [ { "table_name": "customers" }, { "table_name": "order_items" }, { "table_name": "orders" }, { "table_name": "payments" }, { "table_name": "products" } ] }, { "name": "describe_table", "arguments": { "table": "payments" }, "output": [ { "column_name": "id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "order_id", "data_type": "integer", "is_nullable": "NO" }, { "column_name": "amount", "data_type": "numeric", "is_nullable": "NO" }, { "column_name": "status", "data_type": "text", "is_nullable": "NO" } ] }, { "name": "execute_sql", "arguments": { "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id=6 GROUP BY status ORDER BY status" }, "output": { "columns": [ "status", "payment_count" ], "rows": [], "row_count": 0, "truncated": false, "sql": "SELECT status, COUNT(*) AS payment_count FROM payments WHERE order_id = 6 GROUP BY status ORDER BY status" } } ], "elapsed_ms": 4845 }, "elapsed_ms": 4863 } ] }
{
"created_at": "2026-11-09T08:45:58.412372+00:00",
"model": "/tmp/grpo-merged",
"variant": "tuned",
"sql_retries": 0,
"trained": true,
"split": "test",
"case_file_sha256": "cb23d6b81e95baec8a6977f56dd0f9c9b9cc3a83d9a155323ec2577deba87a03",
"completed": 18,
"planned": 18,
"successes": 11,
"outcomes": [
{
"id": "paid-profit-01",
"success": false,
"expected": [
{
"name": "Mouse",
"profit": 150.0
}
],
"actual": null,
"values_match": false,
"columns_match": false,
"tool_calls": 4,
"trace": [
{
"name": "list_tables",
"arguments": {},
"output": [
{
"table_name": "customers"
},
{
"table_name": "order_items"
},
{
"table_name": "orders"
},
{
"table_name": "payments"
},
{
"table_name": "products"
}
]
},
{
"name": "describe_table",
"arguments": {
"table": "order_items"
},
"output": [
{
"column_name": "order_id",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "product_id",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "quantity",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "unit_price",
"data_type": "numeric",
"is_nullable": "NO"
},
{
"column_name": "unit_cost",
"data_type": "numeric",
"is_nullable": "NO"
}
]
},
{
"name": "describe_table",
"arguments": {
"table": "products"
},
"output": [
{
"column_name": "id",
"data_type": "integer",
"is_nullable": "NO"
},
{
"column_name": "name",
"data_type": "text",
"is_nullable": "NO"
},
{
"column_name": "price",
"data_type": "numeric",
"is_nullable": "NO"