Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
total_count
214
39
4 changes: 2 additions & 2 deletions spider2-snow/evaluation_suite/gold/sql/sf_bq320.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SELECT
COUNT(*) AS "total_count"
COUNT(DISTINCT "StudyInstanceUID") AS "total_count"
FROM
IDC.IDC_V17.DICOM_PIVOT AS "dicom_pivot"
WHERE
Expand All @@ -15,7 +15,7 @@ WHERE
FROM
IDC.IDC_V17.DICOM_PIVOT AS "dicom_pivot"
WHERE
LOWER("dicom_pivot"."SegmentedPropertyTypeCodeSequence") LIKE LOWER('15825003')
LOWER("dicom_pivot"."SegmentedPropertyTypeCodeSequence") = LOWER('15825003')
GROUP BY
"StudyInstanceUID"
INTERSECT
Expand Down
2 changes: 1 addition & 1 deletion spider2-snow/spider2-snow.jsonl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
{"instance_id": "sf_bq117", "instruction": "What is the total number of severe storm events that occurred in the most affected month over the past 15 years according to NOAA records, considering only the top 100 storm events with the highest property damage?", "db_id": "NOAA_DATA", "external_knowledge": null}
{"instance_id": "sf_bq419", "instruction": "Which 5 states had the most storm events from 1980 to 1995, considering only the top 1000 states with the highest event counts each year? Please use state abbreviations.", "db_id": "NOAA_DATA", "external_knowledge": null}
{"instance_id": "sf_bq071", "instruction": "Can you provide the count of hurricanes and a list of hurricane names (sorted alphabetically and separated by commas) for each city and its associated zip code, where the hurricanes fall within the boundaries of the zip codes? Please exclude any unnamed hurricanes, and sort the results by the count of hurricanes in descending order. The output should include the following columns: city, zip code, state, count of hurricanes, and the list of hurricanes.", "db_id": "NOAA_DATA_PLUS", "external_knowledge": "functions_st_within.md"}
{"instance_id": "sf_bq236", "instruction": "What are the top 5 zip codes of the areas in the United States that have experienced the most hail storm events in the past 10 years? Don't use data from hail reports table.", "db_id": "NOAA_DATA_PLUS", "external_knowledge": "functions_st_within.md"}
{"instance_id": "sf_bq236", "instruction": "What are the top 5 zip codes of the areas in the United States that have experienced the most hail storm events from 2014 to 2024 (11-year period)? Don't use data from hail reports table.", "db_id": "NOAA_DATA_PLUS", "external_knowledge": "functions_st_within.md"}
{"instance_id": "sf_bq356", "instruction": "Among all NOAA GSOD weather stations that recorded valid daily temperature data (non-missing temp, max, min) in 2019 and whose period of record began on or before January 1, 2000, and continued through at least June 30, 2019, how many of these stations achieved 90% or more of the maximum possible number of valid temperature-record days in 2019?", "db_id": "NOAA_DATA", "external_knowledge": null}
{"instance_id": "sf_bq042", "instruction": "Can you help me retrieve the average temperature, average wind speed, and precipitation for LaGuardia Airport in NYC on June 12 for each year from 2011 through 2020, specifically using the station ID 725030?", "db_id": "NOAA_DATA", "external_knowledge": null}
{"instance_id": "sf_bq394", "instruction": "What are the top 3 months between 2010 and 2014 with the smallest sum of absolute differences between the average air temperature, wet bulb temperature, dew point temperature, and sea surface temperature, including respective years and sum of differences? Please present the year and month in numerical format.", "db_id": "NOAA_DATA", "external_knowledge": null}
Expand Down