The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
qid: string
sample: int64
db_id: string
oracle: bool
messages: null
seed: int64
adapter: null
gen_tokens: int64
final_sql: string
temperature: double
n_tool_calls: int64
to
{'qid': Value('string'), 'sample': Value('int64'), 'final_sql': Value('string'), 'n_tool_calls': Value('int64'), 'gen_tokens': Value('int64'), 'messages': List(Json(decode=True)), 'seed': Value('int64'), 'temperature': Value('float64'), 'adapter': Value('null')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1835, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 621, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 361, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
qid: string
sample: int64
db_id: string
oracle: bool
messages: null
seed: int64
adapter: null
gen_tokens: int64
final_sql: string
temperature: double
n_tool_calls: int64
to
{'qid': Value('string'), 'sample': Value('int64'), 'final_sql': Value('string'), 'n_tool_calls': Value('int64'), 'gen_tokens': Value('int64'), 'messages': List(Json(decode=True)), 'seed': Value('int64'), 'temperature': Value('float64'), 'adapter': Value('null')}
because column names don't match
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
qid string | sample int64 | final_sql string | n_tool_calls int64 | gen_tokens int64 | messages list | seed int64 | temperature float64 | adapter null |
|---|---|---|---|---|---|---|---|---|
dev-dev-00647 | 0 | SELECT COUNT(*) FROM poker_player; | 1 | 50 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00648 | 0 | SELECT COUNT(*) FROM poker_player; | 1 | 41 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00649 | 0 | SELECT Earnings FROM poker_player ORDER BY Earnings DESC | 1 | 87 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00650 | 0 | SELECT Earnings FROM poker_player ORDER BY Earnings DESC; | 1 | 131 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00651 | 0 | null | 1 | 229 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00652 | 0 | SELECT Final_Table_Made, Best_Finish FROM poker_player; | 1 | 136 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00653 | 0 | SELECT AVG(Earnings) FROM poker_player; | 1 | 49 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00654 | 0 | SELECT AVG(Earnings) FROM poker_player | 1 | 68 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00655 | 0 | SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1 | 1 | 73 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00656 | 0 | SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1 | 1 | 71 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00657 | 0 | SELECT MAX(Final_Table_Made) FROM poker_player WHERE Earnings < 2000000 | 1 | 69 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00658 | 0 | SELECT MAX(Final_Table_Made) FROM poker_player WHERE Earnings < 2000000 | 1 | 90 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00659 | 0 | SELECT Name FROM people; | 1 | 82 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00660 | 0 | SELECT Name FROM people; | 1 | 100 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00661 | 0 | null | 1 | 105 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00662 | 0 | null | 1 | 110 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00663 | 0 | null | 1 | 98 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00664 | 0 | SELECT T2.Name FROM poker_player AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Final_Table_Made ASC | 1 | 145 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00669 | 0 | null | 1 | 117 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00670 | 0 | null | 1 | 112 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00671 | 0 | null | 1 | 93 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00672 | 0 | null | 1 | 90 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00673 | 0 | SELECT Nationality, COUNT(People_ID) AS NumberOfPeople FROM people GROUP BY Nationality | 1 | 215 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00674 | 0 | SELECT Nationality, COUNT(*) AS Count FROM people GROUP BY Nationality | 1 | 64 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00677 | 0 | null | 1 | 171 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00678 | 0 | SELECT DISTINCT Nationality FROM people GROUP BY Nationality HAVING COUNT(*) >= 2 | 1 | 86 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00679 | 0 | SELECT Name, Birth_Date FROM people ORDER BY Name ASC | 1 | 224 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00680 | 0 | SELECT Name, Birth_Date FROM people ORDER BY Name ASC | 1 | 206 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00681 | 0 | SELECT Name FROM people WHERE Nationality != 'Russia' | 1 | 69 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00682 | 0 | SELECT Name FROM people WHERE Nationality != 'Russia' | 1 | 75 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00685 | 0 | SELECT count(DISTINCT Nationality) FROM people; | 1 | 55 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00686 | 0 | SELECT COUNT(DISTINCT Nationality) FROM people | 1 | 55 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"poker_player\" (\n\"Poker_Player_ID\" int,\n\"People_ID\" int,\n\"Final_Table_Made\" real,\n\"Best_Finish\" real,\n\"Money_Rank\" real,\n\"Earnings\" real,\nPRIMARY KEY (\"Poker_Player_ID\"),\nFOREIGN... | 0 | 0 | null |
dev-dev-00411 | 0 | SELECT COUNT(*) FROM visitor WHERE Age < 30; | 1 | 49 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membersh... | 0 | 0 | null |
dev-dev-00412 | 0 | SELECT Name FROM visitor WHERE Level_of_membership > 4 ORDER BY Level_of_membership DESC | 1 | 96 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membersh... | 0 | 0 | null |
dev-dev-00413 | 0 | SELECT AVG(Age) FROM visitor WHERE Level_of_membership <= 4 | 1 | 82 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membersh... | 0 | 0 | null |
dev-dev-00414 | 0 | SELECT visitor.Name, visitor.Level_of_membership FROM visitor WHERE Level_of_membership > 4 ORDER BY Age DESC | 1 | 106 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membersh... | 0 | 0 | null |
dev-dev-00415 | 0 | null | 1 | 118 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membersh... | 0 | 0 | null |
dev-dev-00416 | 0 | SELECT AVG(Num_of_Staff) FROM museum WHERE Open_Year < '2009' | 1 | 91 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membersh... | 0 | 0 | null |
dev-dev-00417 | 0 | SELECT Open_Year, Num_of_Staff FROM museum WHERE Name = 'Plaza Museum' | 1 | 83 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membersh... | 0 | 0 | null |
dev-dev-00419 | 0 | null | 4 | 460 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membersh... | 0 | 0 | null |
dev-dev-00424 | 0 | SELECT AVG(Num_of_Ticket) AS average_tickets, MAX(Num_of_Ticket) AS max_tickets FROM visit; | 1 | 102 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membersh... | 0 | 0 | null |
dev-dev-00425 | 0 | null | 1 | 76 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membersh... | 0 | 0 | null |
dev-dev-00428 | 0 | SELECT COUNT(*) FROM museum WHERE Open_Year BETWEEN '2013' AND '2008' | 1 | 91 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE \"museum\" (\n\"Museum_ID\" int,\n\"Name\" text,\n\"Num_of_Staff\" int,\n\"Open_Year\" text,\nPRIMARY KEY (\"Museum_ID\")\n)\nCREATE TABLE \"visitor\" (\n\"ID\" int,\n\"Name\" text,\n\"Level_of_membersh... | 0 | 0 | null |
dev-dev-00862 | 0 | SELECT COUNT(*) FROM Highschooler | 1 | 54 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00863 | 0 | SELECT COUNT(*) FROM Highschooler | 1 | 52 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00864 | 0 | SELECT name, grade FROM Highschooler; | 1 | 105 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00865 | 0 | SELECT name, grade FROM Highschooler; | 1 | 128 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00866 | 0 | SELECT grade FROM Highschooler; | 1 | 73 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00867 | 0 | SELECT grade FROM Highschooler; | 1 | 87 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00868 | 0 | SELECT grade FROM Highschooler WHERE name = 'Kyle' | 1 | 56 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00869 | 0 | SELECT grade FROM Highschooler WHERE name = 'Kyle' | 1 | 56 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00870 | 0 | SELECT name FROM Highschooler WHERE grade = 10 | 1 | 61 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00871 | 0 | SELECT name FROM Highschooler WHERE grade = 10 | 1 | 61 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00872 | 0 | SELECT ID FROM Highschooler WHERE name = 'Kyle' | 1 | 66 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00873 | 0 | SELECT ID FROM Highschooler WHERE name = 'Kyle' | 1 | 56 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00874 | 0 | SELECT COUNT(*) FROM Highschooler WHERE grade IN (9, 10) | 1 | 57 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00875 | 0 | SELECT COUNT(*) FROM Highschooler WHERE grade IN (9, 10) | 1 | 79 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00876 | 0 | SELECT grade, COUNT(*) as count FROM Highschooler GROUP BY grade; | 1 | 53 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00877 | 0 | SELECT grade, COUNT(*) FROM Highschooler GROUP BY grade | 1 | 49 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00880 | 0 | SELECT grade FROM Highschooler GROUP BY grade HAVING COUNT(*) >= 4 | 1 | 88 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00881 | 0 | SELECT grade FROM Highschooler GROUP BY grade HAVING COUNT(*) >= 4 | 1 | 86 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00882 | 0 | null | 1 | 194 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00883 | 0 | null | 1 | 98 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00884 | 0 | SELECT Highschooler.name, COUNT(Friend.student_id) AS num_friends FROM Highschooler JOIN Friend ON Highschooler.ID = Friend.student_id GROUP BY Highschooler.name; | 1 | 139 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00885 | 0 | SELECT name, COUNT(*) as num_friends FROM Highschooler GROUP BY name; | 1 | 103 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00888 | 0 | SELECT name FROM Highschooler WHERE ID IN (SELECT friend_id FROM Friend GROUP BY friend_id HAVING COUNT(friend_id) >= 3) | 1 | 94 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00889 | 0 | SELECT name FROM Highschooler WHERE ID IN (SELECT friend_id FROM Friend GROUP BY friend_id HAVING COUNT(friend_id) >= 3) | 1 | 91 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00890 | 0 | SELECT DISTINCT t2.name FROM friend AS t1 JOIN highschooler AS t2 ON t1.friend_id = t2.id WHERE t1.student_id = (SELECT id FROM highschooler WHERE name = 'Kyle') | 1 | 117 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
dev-dev-00891 | 0 | SELECT DISTINCT t2.name FROM friend AS t1 JOIN highschooler AS t2 ON t1.friend_id = t2.id WHERE t1.student_id = (SELECT id FROM highschooler WHERE name = 'Kyle'); | 1 | 95 | [
{
"role": "system",
"content": "You are a SQL agent for a SQLite database with this schema:\nCREATE TABLE Highschooler(\n\tID int primary key, \n\tname text, \n\tgrade int)\nCREATE TABLE Friend(\n\tstudent_id int, \n\tfriend_id int,\n\tprimary key (student_id,friend_id),\n\tforeign key(student_id) reference... | 0 | 0 | null |
RewardShield: agent trajectories
Multi-turn tool-calling trajectories of Tiny Aya Global (3B) and four LoRA adapters of it answering Spider
questions with one run_sql tool, in AgentTune's Tiny Aya tool format, plus oracle labels and batch-1 latency.
Code, results and caveats: https://github.com/shro-2002/rewardshield
| Folder | Contents |
|---|---|
pools/ |
E02 rollouts from the E01 warm-start adapter, 4 samples per question, T = 0.8: dev-A audit pool (1,360), training pool (4,728) |
sft_arms/ |
the two verifier-filtered training sets (911 each): single-1-accepted and targeted-4-accepted samples |
eval_trajectories/ |
greedy dev-A/dev-B trajectories for E00 (base), E01, E04, E05, E07, each with an _oracle file of test-suite oracle labels |
latency/ |
per-episode wall-clock seconds at batch size 1, first 60 dev-B questions, one Kaggle T4, fp16 |
exploratory/ |
union-oracle disagreements and flight_2 analysis rows (post-hoc, not pre-registered) |
Record fields: qid, sample, final_sql (last successfully executed query), n_tool_calls, gen_tokens,
messages (system, user, assistant, tool-result turns), decoding settings and adapter path.
Licence (mixed origin, no blanket licence)
Each record combines material of different origin, so this repository does not carry a single licence:
| Component | Origin | Terms |
|---|---|---|
| System prompt schema, user question, tool-result rows | Spider 1.0 (CC BY-SA 4.0) | CC BY-SA 4.0, attribution to Yu et al. 2018 |
| Tool prompt and tool-result wording | AgentTune (Lexsi Labs Source Available License) defaults | short functional strings; see AgentTune's licence |
| Assistant turns | generated by Tiny Aya Global (Cohere Labs, CC BY-NC 4.0 with acceptable-use addendum) and LoRA adapters of it | released for non-commercial research; use must follow Cohere Labs' Acceptable Use Policy; Cohere's licence text does not address model outputs, and we claim no rights in them beyond our own contributions |
| Oracle labels, latency, record structure | ours | CC BY-SA 4.0 (share-alike with the Spider content they annotate) |
We have prepared a question to the hackathon organisers about this treatment of model-generated trajectories
(text in the GitHub repo, reports/organizer_question.md); this card will be updated with their answer. If you need different terms for the generated text, contact Cohere Labs.
Not included, and how to regenerate. Spider databases (download Spider 1.0); the rebuilt test-suite databases
behind the oracle labels (the TestSuiteEval generator has no licence; rebuild with oracle/build_suite.py, see
oracle/ORACLE.md); generated candidate databases (rebuilt on demand by rewardshield.verifiers.build_suite).
Every trajectory can be regenerated with scripts/run_rollouts.py and the commands in kaggle/cmds/.
- Downloads last month
- 69