id string | domain string | level int64 | template string | question string | answer_type string | gold_sql string | gold_answer string | oracle_calls list | optimal_tool_calls int64 | optimal_rows int64 | optimal_vm_steps int64 | split string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
clinic-L1-0003 | clinic | 1 | appts_fee_period | How many appointments in June 2023 cost over 150? | number | SELECT COUNT(*) FROM appointments WHERE appt_date >= '2023-06-01' AND appt_date < '2023-07-01' AND fee > 150 | 24 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM appointments WHERE appt_date >= '2023-06-01' AND appt_date < '2023-07-01' AND fee > 150"
}
}
] | 2 | 1 | 14,270 | train |
clinic-L1-0004 | clinic | 1 | appts_fee_period | Count the appointments in Q2 2023 that charged more than 80. | number | SELECT COUNT(*) FROM appointments WHERE appt_date >= '2023-04-01' AND appt_date < '2023-07-01' AND fee > 80 | 264 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM appointments WHERE appt_date >= '2023-04-01' AND appt_date < '2023-07-01' AND fee > 80"
}
}
] | 2 | 1 | 15,660 | train |
clinic-L1-0005 | clinic | 1 | appts_fee_period | How many appointments in Q2 2023 cost over 60? | number | SELECT COUNT(*) FROM appointments WHERE appt_date >= '2023-04-01' AND appt_date < '2023-07-01' AND fee > 60 | 326 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM appointments WHERE appt_date >= '2023-04-01' AND appt_date < '2023-07-01' AND fee > 60"
}
}
] | 2 | 1 | 15,720 | train |
clinic-L1-0007 | clinic | 1 | appts_fee_period | How many appointments during February 2023 cost over 100? | number | SELECT COUNT(*) FROM appointments WHERE appt_date >= '2023-02-01' AND appt_date < '2023-03-01' AND fee > 100 | 62 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM appointments WHERE appt_date >= '2023-02-01' AND appt_date < '2023-03-01' AND fee > 100"
}
}
] | 2 | 1 | 15,180 | train |
clinic-L1-0008 | clinic | 1 | appts_fee_period | How many appointments in May 2024 had a fee above 100? | number | SELECT COUNT(*) FROM appointments WHERE appt_date >= '2024-05-01' AND appt_date < '2024-06-01' AND fee > 100 | 75 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM appointments WHERE appt_date >= '2024-05-01' AND appt_date < '2024-06-01' AND fee > 100"
}
}
] | 2 | 1 | 11,610 | train |
clinic-L1-0009 | clinic | 1 | appts_fee_period | How many appointments in November 2023 cost over 60? | number | SELECT COUNT(*) FROM appointments WHERE appt_date >= '2023-11-01' AND appt_date < '2023-12-01' AND fee > 60 | 126 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM appointments WHERE appt_date >= '2023-11-01' AND appt_date < '2023-12-01' AND fee > 60"
}
}
] | 2 | 1 | 13,150 | train |
clinic-L1-0011 | clinic | 1 | appts_fee_period | How many appointments in July 2024 had a fee above 150? | number | SELECT COUNT(*) FROM appointments WHERE appt_date >= '2024-07-01' AND appt_date < '2024-08-01' AND fee > 150 | 25 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM appointments WHERE appt_date >= '2024-07-01' AND appt_date < '2024-08-01' AND fee > 150"
}
}
] | 2 | 1 | 10,960 | train |
clinic-L1-0012 | clinic | 1 | appts_fee_period | Count the appointments in June 2024 that charged more than 60. | number | SELECT COUNT(*) FROM appointments WHERE appt_date >= '2024-06-01' AND appt_date < '2024-07-01' AND fee > 60 | 104 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM appointments WHERE appt_date >= '2024-06-01' AND appt_date < '2024-07-01' AND fee > 60"
}
}
] | 2 | 1 | 11,270 | train |
clinic-L1-0013 | clinic | 1 | appts_fee_period | How many appointments in March 2024 cost over 150? | number | SELECT COUNT(*) FROM appointments WHERE appt_date >= '2024-03-01' AND appt_date < '2024-04-01' AND fee > 150 | 29 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM appointments WHERE appt_date >= '2024-03-01' AND appt_date < '2024-04-01' AND fee > 150"
}
}
] | 2 | 1 | 12,020 | train |
clinic-L1-0014 | clinic | 1 | appts_fee_period | How many appointments in December 2023 cost over 150? | number | SELECT COUNT(*) FROM appointments WHERE appt_date >= '2023-12-01' AND appt_date < '2024-01-01' AND fee > 150 | 19 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM appointments WHERE appt_date >= '2023-12-01' AND appt_date < '2024-01-01' AND fee > 150"
}
}
] | 2 | 1 | 12,700 | train |
clinic-L1-0017 | clinic | 1 | patients_city_born | How many patients living in Phoenix were born in 1980 or later? | number | SELECT COUNT(*) FROM patients WHERE city = 'Phoenix' AND birth_date >= '1980-01-01' | 13 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM patients WHERE city = 'Phoenix' AND birth_date >= '1980-01-01'"
}
}
] | 2 | 1 | 2,840 | train |
clinic-L1-0018 | clinic | 1 | patients_city_born | How many patients living in London were born in 2010 or later? | number | SELECT COUNT(*) FROM patients WHERE city = 'London' AND birth_date >= '2010-01-01' | 6 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM patients WHERE city = 'London' AND birth_date >= '2010-01-01'"
}
}
] | 2 | 1 | 2,840 | train |
clinic-L1-0019 | clinic | 1 | patients_city_born | Count the patients from Singapore with a birth year of 1980 or later. | number | SELECT COUNT(*) FROM patients WHERE city = 'Singapore' AND birth_date >= '1980-01-01' | 11 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM patients WHERE city = 'Singapore' AND birth_date >= '1980-01-01'"
}
}
] | 2 | 1 | 2,830 | train |
clinic-L1-0021 | clinic | 1 | patients_city_born | Count the patients from Portland with a birth year of 1990 or later. | number | SELECT COUNT(*) FROM patients WHERE city = 'Portland' AND birth_date >= '1990-01-01' | 10 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM patients WHERE city = 'Portland' AND birth_date >= '1990-01-01'"
}
}
] | 2 | 1 | 2,850 | train |
clinic-L1-0022 | clinic | 1 | patients_city_born | Count the patients from Vancouver with a birth year of 1980 or later. | number | SELECT COUNT(*) FROM patients WHERE city = 'Vancouver' AND birth_date >= '1980-01-01' | 11 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM patients WHERE city = 'Vancouver' AND birth_date >= '1980-01-01'"
}
}
] | 2 | 1 | 2,830 | train |
clinic-L1-0023 | clinic | 1 | patients_city_born | Count the patients from Atlanta with a birth year of 1970 or later. | number | SELECT COUNT(*) FROM patients WHERE city = 'Atlanta' AND birth_date >= '1970-01-01' | 11 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM patients WHERE city = 'Atlanta' AND birth_date >= '1970-01-01'"
}
}
] | 2 | 1 | 2,820 | train |
clinic-L1-0025 | clinic | 1 | patients_city_born | How many patients living in Vienna were born in 2000 or later? | number | SELECT COUNT(*) FROM patients WHERE city = 'Vienna' AND birth_date >= '2000-01-01' | 7 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM patients WHERE city = 'Vienna' AND birth_date >= '2000-01-01'"
}
}
] | 2 | 1 | 2,850 | train |
clinic-L1-0026 | clinic | 1 | patients_city_born | How many patients living in London were born in 1980 or later? | number | SELECT COUNT(*) FROM patients WHERE city = 'London' AND birth_date >= '1980-01-01' | 15 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM patients WHERE city = 'London' AND birth_date >= '1980-01-01'"
}
}
] | 2 | 1 | 2,850 | train |
clinic-L1-0027 | clinic | 1 | patients_city_born | How many patients living in Milan were born in 1980 or later? | number | SELECT COUNT(*) FROM patients WHERE city = 'Milan' AND birth_date >= '1980-01-01' | 22 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM patients WHERE city = 'Milan' AND birth_date >= '1980-01-01'"
}
}
] | 2 | 1 | 2,870 | train |
clinic-L1-0028 | clinic | 1 | patients_city_born | Count the patients from Dublin with a birth year of 1990 or later. | number | SELECT COUNT(*) FROM patients WHERE city = 'Dublin' AND birth_date >= '1990-01-01' | 10 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT COUNT(*) FROM patients WHERE city = 'Dublin' AND birth_date >= '1990-01-01'"
}
}
] | 2 | 1 | 2,830 | train |
clinic-L1-0031 | clinic | 1 | total_fees_period | How much did appointments charge in total in the first quarter of 2024? | number | SELECT SUM(fee) FROM appointments WHERE appt_date >= '2024-01-01' AND appt_date < '2024-04-01' | 44836.38 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT SUM(fee) FROM appointments WHERE appt_date >= '2024-01-01' AND appt_date < '2024-04-01'"
}
}
] | 2 | 1 | 13,260 | train |
clinic-L1-0032 | clinic | 1 | total_fees_period | What was the total of all appointment fees in October 2024? | number | SELECT SUM(fee) FROM appointments WHERE appt_date >= '2024-10-01' AND appt_date < '2024-11-01' | 15975.58 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT SUM(fee) FROM appointments WHERE appt_date >= '2024-10-01' AND appt_date < '2024-11-01'"
}
}
] | 2 | 1 | 10,240 | train |
clinic-L1-0033 | clinic | 1 | total_fees_period | How much did appointments charge in total in May 2023? | number | SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-05-01' AND appt_date < '2023-06-01' | 14809.82 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-05-01' AND appt_date < '2023-06-01'"
}
}
] | 2 | 1 | 14,470 | train |
clinic-L1-0035 | clinic | 1 | total_fees_period | How much did appointments charge in total in the third quarter of 2023? | number | SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-07-01' AND appt_date < '2023-10-01' | 41918.82 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-07-01' AND appt_date < '2023-10-01'"
}
}
] | 2 | 1 | 14,650 | train |
clinic-L1-0036 | clinic | 1 | total_fees_period | How much did appointments charge in total during December 2023? | number | SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-12-01' AND appt_date < '2024-01-01' | 12611.72 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-12-01' AND appt_date < '2024-01-01'"
}
}
] | 2 | 1 | 12,680 | train |
clinic-L1-0037 | clinic | 1 | total_fees_period | What was the total of all appointment fees in the first quarter of 2023? | number | SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-01-01' AND appt_date < '2023-04-01' | 45033.4 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-01-01' AND appt_date < '2023-04-01'"
}
}
] | 2 | 1 | 16,200 | train |
clinic-L1-0039 | clinic | 1 | total_fees_period | What was the total of all appointment fees in April 2023? | number | SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-04-01' AND appt_date < '2023-05-01' | 12820.13 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-04-01' AND appt_date < '2023-05-01'"
}
}
] | 2 | 1 | 14,630 | train |
clinic-L1-0040 | clinic | 1 | total_fees_period | How much did appointments charge in total in September 2024? | number | SELECT SUM(fee) FROM appointments WHERE appt_date >= '2024-09-01' AND appt_date < '2024-10-01' | 14979.69 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT SUM(fee) FROM appointments WHERE appt_date >= '2024-09-01' AND appt_date < '2024-10-01'"
}
}
] | 2 | 1 | 10,510 | train |
clinic-L1-0041 | clinic | 1 | total_fees_period | How much did appointments charge in total in March 2023? | number | SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-03-01' AND appt_date < '2023-04-01' | 14282.32 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-03-01' AND appt_date < '2023-04-01'"
}
}
] | 2 | 1 | 14,920 | train |
clinic-L1-0042 | clinic | 1 | total_fees_period | How much did appointments charge in total in October 2023? | number | SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-10-01' AND appt_date < '2023-11-01' | 16195.28 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT SUM(fee) FROM appointments WHERE appt_date >= '2023-10-01' AND appt_date < '2023-11-01'"
}
}
] | 2 | 1 | 13,290 | train |
clinic-L2-0003 | clinic | 2 | avg_fee_patient_city | What was the average fee for appointments in the first quarter of 2024 by patients living in Berlin? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Berlin' AND a.appt_date >= '2024-01-01' AND a.appt_date < '2024-04-01' | 135.91 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Berlin' AND a.appt_date >= '2024-01-01' ... | 2 | 1 | 3,440 | train |
clinic-L2-0004 | clinic | 2 | avg_fee_patient_city | What was the average fee for appointments in Q4 2024 by patients living in Paris? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Paris' AND a.appt_date >= '2024-10-01' AND a.appt_date < '2025-01-01' | 116.11 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Paris' AND a.appt_date >= '2024-10-01' A... | 2 | 1 | 3,600 | train |
clinic-L2-0005 | clinic | 2 | avg_fee_patient_city | What was the average fee for appointments in the fourth quarter of 2023 by patients living in Zurich? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Zurich' AND a.appt_date >= '2023-10-01' AND a.appt_date < '2024-01-01' | 125.23 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Zurich' AND a.appt_date >= '2023-10-01' ... | 2 | 1 | 3,440 | train |
clinic-L2-0007 | clinic | 2 | avg_fee_patient_city | What did appointments in Q4 2024 cost on average for patients from Miami? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Miami' AND a.appt_date >= '2024-10-01' AND a.appt_date < '2025-01-01' | 105.85 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Miami' AND a.appt_date >= '2024-10-01' A... | 2 | 1 | 3,480 | train |
clinic-L2-0008 | clinic | 2 | avg_fee_patient_city | What was the average fee for appointments in the second quarter of 2024 by patients living in Toronto? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Toronto' AND a.appt_date >= '2024-04-01' AND a.appt_date < '2024-07-01' | 121.17 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Toronto' AND a.appt_date >= '2024-04-01'... | 2 | 1 | 3,520 | train |
clinic-L2-0009 | clinic | 2 | avg_fee_patient_city | What was the average fee for appointments during 2024 by patients living in Chicago? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Chicago' AND a.appt_date >= '2024-01-01' AND a.appt_date < '2025-01-01' | 121.83 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Chicago' AND a.appt_date >= '2024-01-01'... | 2 | 1 | 3,570 | train |
clinic-L2-0011 | clinic | 2 | avg_fee_patient_city | What did appointments in 2023 cost on average for patients from Zurich? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Zurich' AND a.appt_date >= '2023-01-01' AND a.appt_date < '2024-01-01' | 108.53 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Zurich' AND a.appt_date >= '2023-01-01' ... | 2 | 1 | 3,610 | train |
clinic-L2-0012 | clinic | 2 | avg_fee_patient_city | What did appointments during 2024 cost on average for patients from Lisbon? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Lisbon' AND a.appt_date >= '2024-01-01' AND a.appt_date < '2025-01-01' | 121.26 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Lisbon' AND a.appt_date >= '2024-01-01' ... | 2 | 1 | 3,420 | train |
clinic-L2-0013 | clinic | 2 | avg_fee_patient_city | What was the average fee for appointments in Q1 2023 by patients living in Milan? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Milan' AND a.appt_date >= '2023-01-01' AND a.appt_date < '2023-04-01' | 130.87 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Milan' AND a.appt_date >= '2023-01-01' A... | 2 | 1 | 3,740 | train |
clinic-L2-0014 | clinic | 2 | avg_fee_patient_city | What was the average fee for appointments during 2023 by patients living in Dublin? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Dublin' AND a.appt_date >= '2023-01-01' AND a.appt_date < '2024-01-01' | 113.25 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Dublin' AND a.appt_date >= '2023-01-01' ... | 2 | 1 | 3,580 | train |
clinic-L2-0017 | clinic | 2 | top_doctor_fees_city | Which doctor collected the most in fees from patients living in Denver in Q2 2023? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Denver' AND a.appt_date >= '2023-04-01' AND a.appt_date < '2023-07-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Pablo Schmidt | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = '... | 2 | 1 | 16,800 | train |
clinic-L2-0018 | clinic | 2 | top_doctor_fees_city | Which doctor collected the most in fees from patients living in Atlanta in Q3 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Atlanta' AND a.appt_date >= '2024-07-01' AND a.appt_date < '2024-10-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Caleb Petrov | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = '... | 2 | 1 | 13,260 | train |
clinic-L2-0019 | clinic | 2 | top_doctor_fees_city | Which doctor earned the highest total fees from Paris patients in the first quarter of 2023? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Paris' AND a.appt_date >= '2023-01-01' AND a.appt_date < '2023-04-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Pablo Okafor | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = '... | 2 | 1 | 17,840 | train |
clinic-L2-0021 | clinic | 2 | top_doctor_fees_city | Which doctor earned the highest total fees from Atlanta patients in Q3 2023? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Atlanta' AND a.appt_date >= '2023-07-01' AND a.appt_date < '2023-10-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Ivan Patel | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = '... | 2 | 1 | 15,990 | train |
clinic-L2-0022 | clinic | 2 | top_doctor_fees_city | Which doctor earned the highest total fees from Lyon patients in Q3 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Lyon' AND a.appt_date >= '2024-07-01' AND a.appt_date < '2024-10-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Ivan Singh | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = '... | 2 | 1 | 13,360 | train |
clinic-L2-0023 | clinic | 2 | top_doctor_fees_city | Which doctor collected the most in fees from patients living in Austin in the third quarter of 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Austin' AND a.appt_date >= '2024-07-01' AND a.appt_date < '2024-10-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Diego Hughes | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = '... | 2 | 1 | 13,160 | train |
clinic-L2-0025 | clinic | 2 | top_doctor_fees_city | Which doctor earned the highest total fees from Singapore patients in the third quarter of 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Singapore' AND a.appt_date >= '2024-07-01' AND a.appt_date < '2024-10-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Mateo Nguyen | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = '... | 2 | 1 | 13,330 | train |
clinic-L2-0026 | clinic | 2 | top_doctor_fees_city | Which doctor earned the highest total fees from Miami patients in Q3 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Miami' AND a.appt_date >= '2024-07-01' AND a.appt_date < '2024-10-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Jonas Torres | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = '... | 2 | 1 | 13,280 | train |
clinic-L2-0027 | clinic | 2 | top_doctor_fees_city | Which doctor collected the most in fees from patients living in Dublin in Q2 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Dublin' AND a.appt_date >= '2024-04-01' AND a.appt_date < '2024-07-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Maya Jensen | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = '... | 2 | 1 | 13,970 | train |
clinic-L2-0028 | clinic | 2 | top_doctor_fees_city | Which doctor earned the highest total fees from Denver patients in Q2 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = 'Denver' AND a.appt_date >= '2024-04-01' AND a.appt_date < '2024-07-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Anika Johansson | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id JOIN patients p ON p.patient_id = a.patient_id WHERE p.city = '... | 2 | 1 | 14,100 | train |
clinic-L2-0031 | clinic | 2 | top_city_fees_period | Which patient city paid the highest total appointment fees in Q4 2023? | text | SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-10-01' AND a.appt_date < '2024-01-01' GROUP BY p.city ORDER BY SUM(a.fee) DESC LIMIT 1 | Boston | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-10-01' AND a.appt_date < '2024-01... | 2 | 1 | 20,010 | train |
clinic-L2-0032 | clinic | 2 | top_city_fees_period | Which patient city paid the highest total appointment fees during 2024? | text | SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2024-01-01' AND a.appt_date < '2025-01-01' GROUP BY p.city ORDER BY SUM(a.fee) DESC LIMIT 1 | Paris | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2024-01-01' AND a.appt_date < '2025-01... | 2 | 1 | 38,420 | train |
clinic-L2-0033 | clinic | 2 | top_city_fees_period | Patients from which city were charged the most in fees in Q3 2023? | text | SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-07-01' AND a.appt_date < '2023-10-01' GROUP BY p.city ORDER BY SUM(a.fee) DESC LIMIT 1 | Munich | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-07-01' AND a.appt_date < '2023-10... | 2 | 1 | 20,090 | train |
clinic-L2-0035 | clinic | 2 | top_city_fees_period | Which patient city paid the highest total appointment fees during July 2024? | text | SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2024-07-01' AND a.appt_date < '2024-08-01' GROUP BY p.city ORDER BY SUM(a.fee) DESC LIMIT 1 | Paris | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2024-07-01' AND a.appt_date < '2024-08... | 2 | 1 | 13,010 | train |
clinic-L2-0036 | clinic | 2 | top_city_fees_period | Patients from which city were charged the most in fees during March 2023? | text | SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-03-01' AND a.appt_date < '2023-04-01' GROUP BY p.city ORDER BY SUM(a.fee) DESC LIMIT 1 | Denver | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-03-01' AND a.appt_date < '2023-04... | 2 | 1 | 17,120 | train |
clinic-L2-0037 | clinic | 2 | top_city_fees_period | Patients from which city were charged the most in fees during July 2023? | text | SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-07-01' AND a.appt_date < '2023-08-01' GROUP BY p.city ORDER BY SUM(a.fee) DESC LIMIT 1 | Munich | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-07-01' AND a.appt_date < '2023-08... | 2 | 1 | 16,140 | train |
clinic-L2-0039 | clinic | 2 | top_city_fees_period | Which patient city paid the highest total appointment fees during May 2023? | text | SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-05-01' AND a.appt_date < '2023-06-01' GROUP BY p.city ORDER BY SUM(a.fee) DESC LIMIT 1 | Munich | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-05-01' AND a.appt_date < '2023-06... | 2 | 1 | 16,710 | train |
clinic-L2-0040 | clinic | 2 | top_city_fees_period | Patients from which city were charged the most in fees during December 2023? | text | SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-12-01' AND a.appt_date < '2024-01-01' GROUP BY p.city ORDER BY SUM(a.fee) DESC LIMIT 1 | Boston | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-12-01' AND a.appt_date < '2024-01... | 2 | 1 | 14,790 | train |
clinic-L2-0041 | clinic | 2 | top_city_fees_period | Patients from which city were charged the most in fees during June 2023? | text | SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-06-01' AND a.appt_date < '2023-07-01' GROUP BY p.city ORDER BY SUM(a.fee) DESC LIMIT 1 | Phoenix | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-06-01' AND a.appt_date < '2023-07... | 2 | 1 | 16,570 | train |
clinic-L2-0042 | clinic | 2 | top_city_fees_period | Which patient city paid the highest total appointment fees in the first quarter of 2023? | text | SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-01-01' AND a.appt_date < '2023-04-01' GROUP BY p.city ORDER BY SUM(a.fee) DESC LIMIT 1 | Denver | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT p.city FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE a.appt_date >= '2023-01-01' AND a.appt_date < '2023-04... | 2 | 1 | 22,010 | train |
clinic-L3-0003 | clinic | 3 | appts_status_period | Count the appointments in December 2023 that were called off by the doctor. | number | SELECT COUNT(*) FROM appointments WHERE status_code = 'CXD' AND appt_date >= '2023-12-01' AND appt_date < '2024-01-01' | 6 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 1,120 | train |
clinic-L3-0004 | clinic | 3 | appts_status_period | Count the appointments in June 2024 that were attended by the patient. | number | SELECT COUNT(*) FROM appointments WHERE status_code = 'ATT' AND appt_date >= '2024-06-01' AND appt_date < '2024-07-01' | 69 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 10,200 | train |
clinic-L3-0005 | clinic | 3 | appts_status_period | Count the appointments during September 2024 that were moved to another date. | number | SELECT COUNT(*) FROM appointments WHERE status_code = 'RSC' AND appt_date >= '2024-09-01' AND appt_date < '2024-10-01' | 10 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 1,430 | train |
clinic-L3-0007 | clinic | 3 | appts_status_period | How many appointments were kept by the patient during November 2023? | number | SELECT COUNT(*) FROM appointments WHERE status_code = 'ATT' AND appt_date >= '2023-11-01' AND appt_date < '2023-12-01' | 88 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 11,310 | train |
clinic-L3-0008 | clinic | 3 | appts_status_period | Count the appointments during 2024 that were missed because the patient did not show up. | number | SELECT COUNT(*) FROM appointments WHERE status_code = 'NSH' AND appt_date >= '2024-01-01' AND appt_date < '2025-01-01' | 195 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 2,640 | train |
clinic-L3-0009 | clinic | 3 | appts_status_period | How many appointments were attended by the patient in May 2023? | number | SELECT COUNT(*) FROM appointments WHERE status_code = 'ATT' AND appt_date >= '2023-05-01' AND appt_date < '2023-06-01' | 78 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 12,170 | train |
clinic-L3-0011 | clinic | 3 | appts_status_period | Count the appointments during October 2023 that were cancelled by the patient. | number | SELECT COUNT(*) FROM appointments WHERE status_code = 'CXP' AND appt_date >= '2023-10-01' AND appt_date < '2023-11-01' | 20 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 2,450 | train |
clinic-L3-0012 | clinic | 3 | appts_status_period | Count the appointments in April 2024 that were cancelled by the patient. | number | SELECT COUNT(*) FROM appointments WHERE status_code = 'CXP' AND appt_date >= '2024-04-01' AND appt_date < '2024-05-01' | 15 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 2,260 | train |
clinic-L3-0013 | clinic | 3 | appts_status_period | Count the appointments in the third quarter of 2023 that were called off by the doctor. | number | SELECT COUNT(*) FROM appointments WHERE status_code = 'CXD' AND appt_date >= '2023-07-01' AND appt_date < '2023-10-01' | 20 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 1,190 | train |
clinic-L3-0014 | clinic | 3 | appts_status_period | Count the appointments during April 2023 that were moved to another date. | number | SELECT COUNT(*) FROM appointments WHERE status_code = 'RSC' AND appt_date >= '2023-04-01' AND appt_date < '2023-05-01' | 15 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 1,760 | train |
clinic-L3-0017 | clinic | 3 | appts_specialty_period | Count the appointments in the fourth quarter of 2023 booked with a general practitioner. | number | SELECT COUNT(*) FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE d.specialty_code = 'GEN_PRAC' AND a.appt_date >= '2023-10-01' AND a.appt_date < '2024-01-01' | 129 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT specialty_code FROM doctors"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"quer... | 3 | 7 | 8,300 | train |
clinic-L3-0018 | clinic | 3 | appts_specialty_period | How many appointments in Q2 2024 were with a nerve specialist? | number | SELECT COUNT(*) FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE d.specialty_code = 'NEURO' AND a.appt_date >= '2024-04-01' AND a.appt_date < '2024-07-01' | 34 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT specialty_code FROM doctors"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"quer... | 3 | 7 | 3,480 | train |
clinic-L3-0019 | clinic | 3 | appts_specialty_period | Count the appointments in November 2023 booked with a children's doctor. | number | SELECT COUNT(*) FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE d.specialty_code = 'PAEDS' AND a.appt_date >= '2023-11-01' AND a.appt_date < '2023-12-01' | 28 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT specialty_code FROM doctors"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"quer... | 3 | 7 | 5,590 | train |
clinic-L3-0021 | clinic | 3 | appts_specialty_period | Count the appointments in August 2024 booked with a bone and joint specialist. | number | SELECT COUNT(*) FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE d.specialty_code = 'ORTHO' AND a.appt_date >= '2024-08-01' AND a.appt_date < '2024-09-01' | 5 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT specialty_code FROM doctors"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"quer... | 3 | 7 | 3,610 | train |
clinic-L3-0022 | clinic | 3 | appts_specialty_period | How many appointments in Q1 2023 were with a bone and joint specialist? | number | SELECT COUNT(*) FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE d.specialty_code = 'ORTHO' AND a.appt_date >= '2023-01-01' AND a.appt_date < '2023-04-01' | 46 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT specialty_code FROM doctors"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"quer... | 3 | 7 | 4,140 | train |
clinic-L3-0023 | clinic | 3 | appts_specialty_period | How many appointments in Q4 2024 were with a paediatrician? | number | SELECT COUNT(*) FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE d.specialty_code = 'PAEDS' AND a.appt_date >= '2024-10-01' AND a.appt_date < '2025-01-01' | 74 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT specialty_code FROM doctors"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"quer... | 3 | 7 | 5,120 | train |
clinic-L3-0025 | clinic | 3 | appts_specialty_period | Count the appointments in July 2024 booked with a bone and joint specialist. | number | SELECT COUNT(*) FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE d.specialty_code = 'ORTHO' AND a.appt_date >= '2024-07-01' AND a.appt_date < '2024-08-01' | 11 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT specialty_code FROM doctors"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"quer... | 3 | 7 | 3,630 | train |
clinic-L3-0026 | clinic | 3 | appts_specialty_period | Count the appointments in July 2024 booked with a heart specialist. | number | SELECT COUNT(*) FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE d.specialty_code = 'CARDIO' AND a.appt_date >= '2024-07-01' AND a.appt_date < '2024-08-01' | 11 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT specialty_code FROM doctors"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"quer... | 3 | 7 | 3,830 | train |
clinic-L3-0027 | clinic | 3 | appts_specialty_period | Count the appointments in September 2024 booked with a orthopaedic surgeon. | number | SELECT COUNT(*) FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE d.specialty_code = 'ORTHO' AND a.appt_date >= '2024-09-01' AND a.appt_date < '2024-10-01' | 14 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT specialty_code FROM doctors"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"quer... | 3 | 7 | 3,610 | train |
clinic-L3-0028 | clinic | 3 | appts_specialty_period | Count the appointments during 2024 booked with a nerve specialist. | number | SELECT COUNT(*) FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE d.specialty_code = 'NEURO' AND a.appt_date >= '2024-01-01' AND a.appt_date < '2025-01-01' | 142 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT specialty_code FROM doctors"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"quer... | 3 | 7 | 3,660 | train |
clinic-L3-0031 | clinic | 3 | avg_fee_insurance | What was the average appointment fee in Q2 2023 for patients with public insurance? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.insurance_code = 'GOV_SCHEME' AND a.appt_date >= '2023-04-01' AND a.appt_date < '2023-07-01' | 112.57 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT insurance_code FROM patients"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"que... | 3 | 5 | 11,460 | train |
clinic-L3-0032 | clinic | 3 | avg_fee_insurance | What was the average appointment fee in the third quarter of 2024 for patients with an employer health plan? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.insurance_code = 'EMP_PLAN' AND a.appt_date >= '2024-07-01' AND a.appt_date < '2024-10-01' | 112.67 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT insurance_code FROM patients"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"que... | 3 | 5 | 8,550 | train |
clinic-L3-0033 | clinic | 3 | avg_fee_insurance | What was the average appointment fee in the fourth quarter of 2023 for patients with no insurance, paying out of pocket? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.insurance_code = 'SELF_PAY' AND a.appt_date >= '2023-10-01' AND a.appt_date < '2024-01-01' | 108.24 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT insurance_code FROM patients"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"que... | 3 | 5 | 9,180 | train |
clinic-L3-0035 | clinic | 3 | avg_fee_insurance | What was the average appointment fee in Q3 2023 for patients with self-pay terms? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.insurance_code = 'SELF_PAY' AND a.appt_date >= '2023-07-01' AND a.appt_date < '2023-10-01' | 109.5 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT insurance_code FROM patients"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"que... | 3 | 5 | 9,300 | train |
clinic-L3-0036 | clinic | 3 | avg_fee_insurance | What did appointments in Q2 2024 cost on average for patients on a government health scheme? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.insurance_code = 'GOV_SCHEME' AND a.appt_date >= '2024-04-01' AND a.appt_date < '2024-07-01' | 108.66 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT insurance_code FROM patients"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"que... | 3 | 5 | 10,850 | train |
clinic-L3-0037 | clinic | 3 | avg_fee_insurance | What was the average appointment fee in Q4 2024 for patients with insurance through their employer? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.insurance_code = 'EMP_PLAN' AND a.appt_date >= '2024-10-01' AND a.appt_date < '2025-01-01' | 122.34 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT insurance_code FROM patients"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"que... | 3 | 5 | 8,400 | train |
clinic-L3-0039 | clinic | 3 | avg_fee_insurance | What did appointments in Q1 2023 cost on average for patients on a government health scheme? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.insurance_code = 'GOV_SCHEME' AND a.appt_date >= '2023-01-01' AND a.appt_date < '2023-04-01' | 121.36 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT insurance_code FROM patients"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"que... | 3 | 5 | 11,700 | train |
clinic-L3-0040 | clinic | 3 | avg_fee_insurance | What did appointments in the third quarter of 2023 cost on average for patients on an employer health plan? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.insurance_code = 'EMP_PLAN' AND a.appt_date >= '2023-07-01' AND a.appt_date < '2023-10-01' | 121.25 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT insurance_code FROM patients"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"que... | 3 | 5 | 9,000 | train |
clinic-L3-0041 | clinic | 3 | avg_fee_insurance | What did appointments in Q4 2023 cost on average for patients on a private insurer? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.insurance_code = 'PRIV_INS' AND a.appt_date >= '2023-10-01' AND a.appt_date < '2024-01-01' | 114.09 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT insurance_code FROM patients"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"que... | 3 | 5 | 14,720 | train |
clinic-L3-0042 | clinic | 3 | avg_fee_insurance | What did appointments in Q2 2023 cost on average for patients on an employer health plan? | number | SELECT AVG(a.fee) FROM appointments a JOIN patients p ON p.patient_id = a.patient_id WHERE p.insurance_code = 'EMP_PLAN' AND a.appt_date >= '2023-04-01' AND a.appt_date < '2023-07-01' | 110.13 | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT DISTINCT insurance_code FROM patients"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"que... | 3 | 5 | 9,090 | train |
clinic-L3-0045 | clinic | 3 | top_doctor_status_fees | Which doctor collected the highest total fees from appointments that were called off by the patient in the first quarter of 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE a.status_code = 'CXP' AND a.appt_date >= '2024-01-01' AND a.appt_date < '2024-04-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Ivan Singh | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 3,800 | train |
clinic-L3-0046 | clinic | 3 | top_doctor_status_fees | Which doctor collected the highest total fees from appointments that were attended by the patient in the fourth quarter of 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE a.status_code = 'ATT' AND a.appt_date >= '2024-10-01' AND a.appt_date < '2025-01-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Diego Patel | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 16,120 | train |
clinic-L3-0047 | clinic | 3 | top_doctor_status_fees | Which doctor collected the highest total fees from appointments that were placed on the waiting list in Q3 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE a.status_code = 'WLT' AND a.appt_date >= '2024-07-01' AND a.appt_date < '2024-10-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Lucas Garcia | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 790 | train |
clinic-L3-0049 | clinic | 3 | top_doctor_status_fees | Which doctor collected the highest total fees from appointments that were no-shows in Q1 2023? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE a.status_code = 'NSH' AND a.appt_date >= '2023-01-01' AND a.appt_date < '2023-04-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Thea Reyes | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 4,220 | train |
clinic-L3-0050 | clinic | 3 | top_doctor_status_fees | Which doctor collected the highest total fees from appointments that were missed because the patient did not show up in the third quarter of 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE a.status_code = 'NSH' AND a.appt_date >= '2024-07-01' AND a.appt_date < '2024-10-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Nora Zhou | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 3,810 | train |
clinic-L3-0051 | clinic | 3 | top_doctor_status_fees | Which doctor collected the highest total fees from appointments that were no-shows in Q3 2023? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE a.status_code = 'NSH' AND a.appt_date >= '2023-07-01' AND a.appt_date < '2023-10-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Pablo Schmidt | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 4,740 | train |
clinic-L3-0053 | clinic | 3 | top_doctor_status_fees | Which doctor collected the highest total fees from appointments that were kept by the patient in the second quarter of 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE a.status_code = 'ATT' AND a.appt_date >= '2024-04-01' AND a.appt_date < '2024-07-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Anika Haddad | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 16,680 | train |
clinic-L3-0054 | clinic | 3 | top_doctor_status_fees | Which doctor collected the highest total fees from appointments that were put on the wait list in the first quarter of 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE a.status_code = 'WLT' AND a.appt_date >= '2024-01-01' AND a.appt_date < '2024-04-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Rina Farouk | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 1,230 | train |
clinic-L3-0055 | clinic | 3 | top_doctor_status_fees | Which doctor collected the highest total fees from appointments that were placed on the waiting list in 2023? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE a.status_code = 'WLT' AND a.appt_date >= '2023-01-01' AND a.appt_date < '2024-01-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Isla Tanaka | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 2,140 | train |
clinic-L3-0056 | clinic | 3 | top_doctor_status_fees | Which doctor collected the highest total fees from appointments that were called off by the patient in the second quarter of 2024? | text | SELECT d.name FROM appointments a JOIN doctors d ON d.doctor_id = a.doctor_id WHERE a.status_code = 'CXP' AND a.appt_date >= '2024-04-01' AND a.appt_date < '2024-07-01' GROUP BY d.doctor_id ORDER BY SUM(a.fee) DESC LIMIT 1 | Zara Schmidt | [
{
"name": "get_schema",
"arguments": {
"database": "clinic"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "SELECT code, meaning FROM appt_status"
}
},
{
"name": "run_sql",
"arguments": {
"database": "clinic",
"query": "S... | 3 | 7 | 3,880 | train |
Frugal Analyst: tasks, traces and logs
Data for the Frugal Analyst project, team Dear_Basketball, Lexsi AI Safety and Alignment Hackathon, Track 3 (Agentic Fine-tuning).
Frugal Analyst trains CohereLabs/tiny-aya-global to answer analytics questions over SQLite with two tools, get_schema and run_sql. The reward pays for a correct answer and for low cost: tool calls, rows returned and SQLite VM steps.
Code and write-up: https://github.com/prathameshk421/lexsi_hackathon
What is in this repo
| Folder | Content |
|---|---|
tasks/ |
Synthetic tasks. train 400, val 40, test_id 120 (4 seen domains), test_ood 100 (held-out saas domain). train_sft 274 tasks for SFT. train_rl 168 tasks for GRPO. |
teacher/ |
Scripted teacher traces for SFT. train.jsonl: oracle path, all 400 tasks. train_sft.jsonl: oracle path, 274 tasks. train_sft_mixed.jsonl: the same 274 tasks, where half of the traces have one extra preview query that is not needed. We added that waste on purpose for one experiment. |
traces/ |
One file per model and test split. One JSON line per episode: every tool call with its output, the final answer, cost, reward and latency. Each file has a .run.json file with the harness settings. |
traces_first_harness/ |
The first runs of zero-shot and the all-template SFT model, with 5 tool steps and the earlier reward. Kept for the record. |
results/ |
AuditKit reports made from traces/. The write-up numbers come from these files. |
training_logs/ |
Per run: GRPO reward log and every rollout (trajectories.jsonl), SFT loss history, resolved training config, AgentTune provenance file. |
job_logs/ |
The Hugging Face Jobs log and settings of every run, and a table of all jobs with run time and estimated cost. Failed and cancelled jobs are in the table. |
Model labels in traces/
| Label | Meaning |
|---|---|
zero-shot |
Base model, no training. The baseline. |
zero-shot-stop |
Base model with a harness that ends the turn after a tool call. It scored lower. |
distilled |
LoRA SFT on 274 oracle traces. 12 question templates are held out. |
grpo |
distilled plus 50 GRPO steps with the gated reward. |
grpo-long |
grpo plus 150 more GRPO steps (final model). Trained on a teammate account. |
grpo-ungated |
distilled plus 30 GRPO steps with the ungated reward (ablation). |
distilled-all |
LoRA SFT on all 400 oracle traces (reference). |
distilled-mixed, grpo-mixed |
SFT on the mixed teacher, then 30 GRPO steps. |
oracle, naive |
Scripted reference policies. They are not models. |
How the data was made
All tasks and databases are synthetic. scripts/gen_data.py --seed 0 in the code repo builds them. The same seed gives the same bytes. The SQLite databases are not in this repo. The script rebuilds them in a few seconds.
No test task and no saas task is in any train file. The 12 held-out templates are never in the SFT files.
Limits
- The questions come from 48 templates. The in-domain test set shares its templates with the train set.
- English only.
- One seed.
- The traces hold text that Tiny Aya generated. The base model licence is CC-BY-NC-4.0.
Licence
CC-BY-NC-4.0, the same as the base model, because the traces contain model output.
- Downloads last month
- 130